[go: up one dir, main page]

EVM/Tezlink: Support for Tezos bootstrap accounts

What

Follow-up of : !17666 (merged)

This MR re-introduces explicit support for bootstrapping Tezlink accounts alongside Etherlink accounts in kernel configuration and testing infrastructure.

Why

Until now, only Etherlink bootstrap accounts were supported when initializing the EVM rollup's kernel. However, the kernel also needs to be able to configure and test (Tezlink) accounts.

How

  • Refactored bootstrap_balance and bootstrap_accounts into:
    • eth_bootstrap_balance / eth_bootstrap_accounts
    • tez_bootstrap_balance / tez_bootstrap_accounts
  • Added encoding helpers in tezos_types.ml
  • Updated kernel_config.ml and CLI argument parsing to support the new fields.
  • Propagate Tezlink account support across kernel configuration generation and usage.
  • Adjusted all usages of bootstrap parameters and associated defaults.
  • Updated the CLI help and man output for the new options.

Manually testing the MR

  • Run EVM rollup configuration commands with new CLI arguments:
    • --tez-bootstrap-balance
    • --tez-bootstrap-account
  • Use Tezt to launch scenarios using both Etherlink and Tezlink bootstrap accounts.
  • Run the --help flag on octez-evm-node to verify correct CLI documentation.

In order to confirm balance implementation and this MR Run :

  • make octez-evm-node && dune exec etherlink/tezt/tests/main.exe -- evm rpc balance
Edited by Brahima Dibassi

Merge request reports

Loading