Skip to content

Snapshots: allow to read from stdin

What

This MR allows reading the snapshot file from stdin for the rollup node and the EVM node.

Why

Requested by a partner.

How

Modified Clic to recognize - as a valid parameter name (instead of the start of an option).

Manually testing the MR

Alternative way to download and extract:

curl -f --progress-bar https://snapshotter-sandbox.nomadic-labs.eu/local/etherlink-mainnet/rolling/etherlink-mainnet-rolling-latest.gz | ./octez-evm-node run observer --data-dir /tmp/evm-mainnet-archive --dont-track-rollup-node  --network mainnet --init-from-snapshot - --history rolling:1
Edited by Alain Mebsout

Merge request reports

Loading