TezosX: Michelson runtime chain id

Stacked on !20981 (merged).

What

Add a kernel option for the chain id of the Michelson runtime.

Why and how

See the corresponding ADR.

Manually testing the MR

Apply the following patch to etherlink/tezt/tests/tezlink.ml:

@@ -101,7 +101,7 @@ let register_tezosx_test ~title ~tags ?(kernel = Kernel.Latest)
     ~rpc_server:Evm_node.Resto
     ?tez_bootstrap_accounts:bootstrap_accounts
     ?tez_bootstrap_contracts:bootstrap_contracts
-    ~michelson_runtime_chain_id:"NetXH12DFfBVHi4"
+    ~michelson_runtime_chain_id:"NetXH12AexHqTQa"
     ?genesis_timestamp
     ?max_blueprints_lag
     ?max_blueprints_catchup

then check that the chain id test fails:

$ dune exec etherlink/tezt/tests/main.exe -- -f tezlink.ml tezosx chain_id

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.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by Raphaël Cauderlier

Merge request reports

Loading