-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Milestone
Description
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
Labels
No labels