Skip to content

Commit 20c92ca

Browse files
author
wbnns
committed
docs(readme): Clarify support a testnet selection
1 parent 825695c commit 20c92ca

2 files changed

Lines changed: 5 additions & 10 deletions

File tree

README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ Base is a secure, low-cost, developer-friendly Ethereum L2 built on Optimism's [
2828
docker compose up --build
2929

3030
# For testnet:
31-
cp .env.sepolia .env.mainnet
32-
docker compose up --build
31+
NETWORK_ENV=.env.sepolia docker compose up --build
3332

3433
# To use a specific client (optional):
3534
CLIENT=reth docker compose up --build
@@ -48,7 +47,7 @@ Base is a secure, low-cost, developer-friendly Ethereum L2 built on Optimism's [
4847
- Modern multi-core CPU
4948
- 16 GB RAM (32 GB recommended)
5049
- NVMe SSD drive
51-
- Storage: (2 \* [current_chain_size](https://base.org/stats) + [snapshot_size](https://basechaindata.vercel.app) + 20% buffer (to accomodate future growth)
50+
- Storage: (2 \* [current chain size](https://base.org/stats) + [snapshot size](https://basechaindata.vercel.app) + 20% buffer (to accomodate future growth)
5251
- Docker and Docker Compose
5352

5453
### Production Hardware Specifications
@@ -109,11 +108,7 @@ For full configuration options, see the `.env.mainnet` file.
109108

110109
## Troubleshooting
111110

112-
For support:
113-
114-
1. Join our [Discord](https://discord.gg/buildonbase)
115-
2. Connect your GitHub account via `server menu` > `Linked Roles`
116-
3. Post in `#🛟|developer-support` or `🛠|node-operators`
111+
For support please join our [Discord](https://discord.gg/buildonbase) post in `🛠|node-operators`. You can alternatively open a new GitHub issue.
117112

118113
## Disclaimer
119114

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services:
1313
volumes:
1414
- ${HOST_DATA_DIR}:/data
1515
env_file:
16-
- .env.mainnet # Default to mainnet, override with .env.sepolia for testnet
16+
- ${NETWORK_ENV:-.env.mainnet} # Use .env.mainnet by default, override with .env.sepolia for testnet
1717
node:
1818
build:
1919
context: .
@@ -28,4 +28,4 @@ services:
2828
- "6060:6060" # pprof
2929
command: ["bash", "./op-node-entrypoint"]
3030
env_file:
31-
- .env.mainnet # Default to mainnet, override with .env.sepolia for testnet
31+
- ${NETWORK_ENV:-.env.mainnet} # Use .env.mainnet by default, override with .env.sepolia for testnet

0 commit comments

Comments
 (0)