Etherlink/Tezt: helpers to enable E2E tezts with REVM
Context
Time has come. REVM in the CI, you wanted it, you have it.
REVM is disabled by default for all test, each time we want to enable it in the CI we just need to add the following parameter to register_all:
~use_revm:activate_revm_registration
The second commit is a good illustration of the above.
Testing
For now, I've only enabled one test on the CI. Let's merge this MR so anyone can enable tests of their choice with REVM. I'll open a seperate MR to slowly add this tag where it's relevant.
dune exec etherlink/tezt/tests/main.exe -- evm rpc get_logs earliest /dal /threshold_encryption /multichain_enabled alpha --file evm_sequencer.ml
will result in:
[14:38:50.847] [SUCCESS] (1/3) Alpha: RPC method getLogs with earliest block (sequencer, mainnet, without dal, single chain, without revm)
[14:39:21.123] [SUCCESS] (2/3) Alpha: RPC method getLogs with earliest block (sequencer, latest, without dal, single chain, without revm)
[14:39:50.317] [SUCCESS] (3/3) Alpha: RPC method getLogs with earliest block (sequencer, latest, without dal, single chain, with revm)
As you can see, the tests is triggered twice without revm with mainnet and latest but only once with revm (latest) as it's only relevant for this case (for now).
Edited by Rodi-Can Bozman