Skip to content

Test invalid transaciton retry #148

@n13

Description

@n13

Test invalid transaciton retry by say providing an invalid nonce - set up test cases to make the 'invalid' transactions happen

Intentionally cause errors to see that the system correctly removes invalid pending transactions, and rebuilds exstrinsic with new nonce, new header data etc.

Explanation

When an extrinsic fails with "invalid" it's likely due to an outdated nonce, header, or something like that, so we have to take the same data we took initially, and make all the chain calls to get all the bits and pieces together, and try it again with new data.

Success criteria

If we can be sure that the creation of extrinsics runs again on invalid state. We can cause an invalid state intentionally and then handle the results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions