[go: up one dir, main page]

EVM/Kernel: rewrite delayed outbox queue resilience tezt scenario

What

This MR rewrites the tezt scenario for testing delayed outbox queue resilience.

Why

Current approach assumes that it is possible to batch 120 withdrawals in a single call which is not viable once the gas cost per withdrawal is increased.

How

The new test is using sequencer to create and submit a blueprint containing 150 withdrawals.
In order to do that:

  • We create multiple accounts (to overcome single tx per acc per block limitation)
  • Each account creates a batch of 5 withdrawals (that's max we can do with 5M gas cost per withdrawal)

Manually testing the MR

make
make -f etherlink.mk EVM_KERNEL_FEATURES=debug evm_kernel.wasm
dune exec etherlink/tezt/tests/main.exe -- -f evm_sequencer.ml spam -i

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

Merge request reports

Loading