From aa729e6a812369d72cf0f1ee2e00c9634f62b553 Mon Sep 17 00:00:00 2001 From: Yukai Tu Date: Mon, 4 Mar 2024 19:24:49 -0700 Subject: [PATCH] Add OP_NODE_SYNCMODE (#209) Co-authored-by: Yukai Tu --- .env.mainnet | 1 + .env.sepolia | 1 + 2 files changed, 2 insertions(+) diff --git a/.env.mainnet b/.env.mainnet index c6ea4cad..6517490c 100644 --- a/.env.mainnet +++ b/.env.mainnet @@ -33,6 +33,7 @@ OP_NODE_RPC_PORT=8545 OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log OP_NODE_VERIFIER_L1_CONFS=4 OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true +OP_NODE_SYNCMODE=execution-layer # OP_NODE_L1_TRUST_RPC allows for faster syncing, but should be used *only* if your L1 RPC node # is fully trusted. It also allows op-node to work with clients such as Erigon that do not diff --git a/.env.sepolia b/.env.sepolia index a644e954..818abb7a 100644 --- a/.env.sepolia +++ b/.env.sepolia @@ -33,6 +33,7 @@ OP_NODE_RPC_PORT=8545 OP_NODE_SNAPSHOT_LOG=/tmp/op-node-snapshot-log OP_NODE_VERIFIER_L1_CONFS=4 OP_NODE_ROLLUP_LOAD_PROTOCOL_VERSIONS=true +OP_NODE_SYNCMODE=execution-layer # OP_NODE_L1_TRUST_RPC allows for faster syncing, but should be used *only* if your L1 RPC node # is fully trusted. It also allows op-node to work with clients such as Erigon that do not