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_balanceandbootstrap_accountsinto:-
eth_bootstrap_balance/eth_bootstrap_accounts -
tez_bootstrap_balance/tez_bootstrap_accounts
-
- Added encoding helpers in
tezos_types.ml - Updated
kernel_config.mland 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
--helpflag onoctez-evm-nodeto 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