Skip to content

Further Transaction Failure Improvements #820

@utkarshg6

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,
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🔖 Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions