evm: init from rollup node data dir
Context
This allows to bootstrap an evm sequencer using a rollup node data dir.
Manually testing the MR
Run a rollup node then try to bootstrap the evm node using the new command to initialize the evm node data dir:
./octez-smart-rollup-node --endpoint <endpoint> run batcher for <smart_rollup_addrs> with operators <operator_alias> --data-dir .smart-rollup-data-dir --rpc-port 8733
./octez-evm-node init from rollup node .smart-rollup-data-dir --data-dir .evm-data-dir
./octez-evm-node run sequencer with endpoint localhost:8733 signing with <secret-key> --data-dir .evm-data-dir
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.rstfor the protocol and the environment,CHANGES.rstat the root of the repository for everything else). -
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR
Edited by Sylvain R.