[go: up one dir, main page]

EVM/Kernel: enable FA bridge in Ghostnet

What

This MR adds migration which sets FA bridge flag in the storage but only for Ghostnet deployments.

Why

We need to enable FA bridge for the canonical testnet deployment to run E2E tests and work on the integrations.

How

Introduce Storage V14 and a handler which writes 0x01 to /evm/feature_flags/enable_fa_bridge, but only if chain ID is 128123 (Ghostnet)

Manually testing the MR

make test
make -f etherlink.mk EVM_KERNEL_FEATURES=debug evm_kernel.wasm
dune exec etherlink/tezt/tests/main.exe
dune exec etherlink/tezt/tests/main.exe -- -f evm_rollup.ml migration upgrade failed -i
dune exec etherlink/tezt/tests/main.exe -- -f evm_rollup.ml v14 -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