Skip to content

Introduce new states in FailedPayableDao #665

@utkarshg6

Description

@utkarshg6

This card will introduce the following states:

pub enum FailureStatus {
    Retry,
    Recheck,
    Concluded,
}

Instead of mark_as_rechecked(), the new function looks like this:

    fn update_statuses(
        &self,
        status_updates: HashMap<TxHash, FailureStatus>,
    ) -> Result<(), FailedPayableDaoError>;

The query can be simplified to this:

"WHERE status = 'Retry'"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions