Skip to content

Commit

Permalink
Change GCMODE to full + update docs (#233)
Browse files Browse the repository at this point in the history
* docs(README): Drop Goerli mention

* docs(env): Mark L1 RPC has required

* refactor(geth): Set gcmode to full
  • Loading branch information
wbnns authored Apr 2, 2024
1 parent 880f57a commit cc0a507
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env.mainnet
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ OP_GETH_SEQUENCER_HTTP=https://mainnet-sequencer.base.org
# [optional] used to enable geth stats:
# OP_GETH_ETH_STATS=nodename:secret@host:port

# [recommended] replace with your preferred L1 (Ethereum, not Base) node RPC URL:
# [required] replace with your preferred L1 (Ethereum, not Base) node RPC URL:
OP_NODE_L1_ETH_RPC=https://1rpc.io/eth

# [required] replace with your preferred L1 CL beacon endpoint:
Expand Down
2 changes: 1 addition & 1 deletion .env.sepolia
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ OP_GETH_SEQUENCER_HTTP=https://sepolia-sequencer.base.org
# [optional] used to enable geth stats:
# OP_GETH_ETH_STATS=nodename:secret@host:port

# [recommended] replace with your preferred L1 (Ethereum, not Base) node RPC URL:
# [required] replace with your preferred L1 (Ethereum, not Base) node RPC URL:
OP_NODE_L1_ETH_RPC=https://rpc.sepolia.org

# [required] replace with your preferred L1 CL beacon endpoint:
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ If you encounter problems with your node, please open a [GitHub issue](https://g

| Ethereum Network | Status |
|------------------| ------ |
| Goerli testnet ||
| Sepolia testnet ||
| Mainnet ||

Expand Down
2 changes: 1 addition & 1 deletion geth-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ METRICS_PORT="${METRICS_PORT:-6060}"
HOST_IP="0.0.0.0"
P2P_PORT="${P2P_PORT:-30303}"
ADDITIONAL_ARGS=""
OP_GETH_GCMODE="${OP_GETH_GCMODE:-archive}"
OP_GETH_GCMODE="${OP_GETH_GCMODE:-full}"
OP_GETH_SYNCMODE="${OP_GETH_SYNCMODE:-full}"

if [[ -z "$OP_NODE_NETWORK" ]]; then
Expand Down

0 comments on commit cc0a507

Please sign in to comment.