Skip to content

Further Transaction Failure Improvements #820

Description

@utkarshg6

Introduce Following errors:

    // Before sending the transactions, check for latest_nonce,
    // if latest_nonce + 1 != tx_nonce, return NonceIssue
    // here tx_nonce is the smallest nonce of batch txs.
    NonceIssue {
        latest_nonce: u64,
        tx_nonce: u64,
    },
    // After recognising that the transaction was successful,
    // check transaction with same nonce and mark it as failed.
    OrphanedTx {
        winning_tx_hash: TxHash,
        winning_block_number: u64,
    },

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions