[go: up one dir, main page]

Evm node: speed up init from rollup node

What

This MR speeds up the initialization from the context of the rollup node.

For instance, it now takes 30 seconds instead of 8 minutes for the etherlink ghostnet.

Depends on !14181 (merged) and !14182 (merged).

Why

The init from rollup node can be prohibitively slow depending on the context size and the machine.

How

The evm node now copies the context directory over from the rollup directly, while taking a lock on the rollup node to prevent corruption.

Manually testing the MR

Run the following command with e.g. an etherlink rollup node:

octez-evm-node init from rollup node <path_to_rollup_node_data_dir> --data-dir ./somewhere
Edited by Alain Mebsout

Merge request reports

Loading