Etherlink/Kernel/Tezlink: Change the evm_node behavior depending on the l2_chain experimental feature
Previous MR
What
Previous MR introduced the chain_family notion in the EVM node to change the behavior of the node if we are in tezlink mode or etherlink mode. But to not break anything the previous MR forced the node in Etherlink mode, this MR does what needs to be done to switch between etherlink mode or tezlink mode.
Why
How
The first commit of the MR correct the kernel hash function that was not working with the one implemented in
the node.
Use the experimental feature l2_chain to replace the forced EVM chain family
We also need to disable the pop_transactions of the tx_pool if we are in Tezlink mode
Manually testing the MR
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 Arnaud Bihan