[go: up one dir, main page]

evm/node: add docker compose for etherlink mainnet

It's not easy to have an high lantency read only node for etherlink, multiple nodes to initialize and snapshot to download, ...

This docker composed with a init.sh script allows for an on-click solution to onboard new partners or users. The script will download snapshot from trusted source, import them and runs all nodes necessary.

Later we could improve and iterate on that docker compose, to allow to run more different type of nodes or setup. We should also at some point provide env file for multiple network (ghostnet/mainnet/weeklynet/...)

Manually testing the MR

$ ./init.sh init_and_run

This should run all 3 necessary nodes and it can then be connect with metamask or :

$ curl -X POST -H 'Content-Type: application/json' --data '{"jsonrpc":"2.0","method":"tez_kernelVersion"}' http://0.0.0.0:8545

This test is really long because it needs to download snapshot (tezos and etherlink) and import them.

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 Sylvain R.

Merge request reports

Loading