[go: up one dir, main page]

EVM: enable FA withdrawals behind the feature flag

What

This MR enables FA withdrawals if the FA bridge feature is set.

Why

This integration would allow to enable FA withdrawals in the testnet while the functional is merged into master.
That way we can start doing end to end tests sooner, working in parallel on the tick benchmarks and merged bridge.

How

If FA bridge flag is set then the FA withdrawal precompile is added to the precompile set.

Manually testing the MR

make test

For running tezt scenarios:

  1. Go to the tezos repo folder
  2. Build octez binaries
eval $(opam env)
make build-dev-deps
make
make octez-dsn-node
  1. Install eth-cli:
npm i -g eth-cli
  1. Build the kernel
make -f etherlink.mk EVM_KERNEL_FEATURES=debug evm_kernel.wasm
  1. Run FA withdrawal tests
dune exec etherlink/tezt/tests/main.exe -- --verbose --keep-temp -f evm_sequencer.ml alpha fa_withdrawal -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
Edited by Michael Zaikin

Merge request reports

Loading