[go: up one dir, main page]

EVM: forever pending operations

Context

When an invalid nonce is sent by metamask, the operation stay pending forever. (cf https://docs.google.com/document/d/1RqB3Gbry-s_UejkAuO4NIBrz4YLk850XR9nCUPymhMI/edit)

To fix this behavior we can (as a first step) refuse every operations that does not have a good nonce (too low, or too high)

Issue: #5959 (closed) Next: !9752 (merged)

Manually testing the MR

Testing metamask:

  • deploy the evm rollup and proxy
  • connect metamask
  • in metamask, go in "Settings", in "Advanced", enable "Customize transaction nonce"
  • send some ctez to someone with a bad nonce (a nonce you know is bad)
  • the operation will directly failed

Testing by CLI:

tezt --file evm_rollup.ml nonce

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by Pierre-Louis Dubois

Merge request reports

Loading