Skip to content

Commit

Permalink
Merge pull request #125 from bobanetwork/update-command
Browse files Browse the repository at this point in the history
Add l1 beacon endpoint and fix txpool command
  • Loading branch information
boyuan-chen authored Mar 5, 2024
2 parents a9bcb6f + e2e2ef1 commit 1a3274b
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 4 deletions.
4 changes: 4 additions & 0 deletions boba-community/.env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# L1 beacon chain RPC URL
ETH2_HTTP=

# optional
# erigon client version
# The default value is the latest version of erigon
ERIGON_VERSION=
Expand Down
3 changes: 2 additions & 1 deletion boba-community/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ Create a `.env` file in `boba-community`.
ERIGON_VERSION=
OP_NODE_VERSION=
ETH1_HTTP=
ETH2_HTTP=
```
> This step is optional, but we recommand you to use a latest release image for `ERIGON_VERSION` and `OP_NODE_VERSION`. Otherwise, it pulls the image with the `latest` tag.
> `ETH2_HTTP` is mandatory as it is the L1 beacon endpoint. The other variables are optional, but we recommend using the latest release images for `ERIGON_VERSION` and `OP_NODE_VERSION`. Otherwise, it will pull the image with the `latest` tag.
### Modify volume location
Expand Down
1 change: 1 addition & 0 deletions boba-community/docker-compose-boba-sepolia-geth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ services:
command: >
op-node
--l1=${ETH1_HTTP:-https://sepolia.gateway.tenderly.co}
--l1.beacon=${ETH2_HTTP}
--l2=http://l2:8551
--l2.jwt-secret=/config/jwt-secret.txt
--network=boba-sepolia
Expand Down
3 changes: 2 additions & 1 deletion boba-community/docker-compose-boba-sepolia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
--authrpc.vhosts=*
--authrpc.jwtsecret=/config/jwt-secret.txt
--http.api=eth,debug,net,engine,web3
--rollup.disabletxpoolgossip=true
--txpool.gossip.disable=true
--rollup.sequencerhttp=https://sepolia.boba.network
--db.size.limit=8TB
ports:
Expand All @@ -35,6 +35,7 @@ services:
command: >
op-node
--l1=${ETH1_HTTP:-https://sepolia.gateway.tenderly.co}
--l1.beacon=${ETH2_HTTP}
--l2=http://l2:8551
--l2.jwt-secret=/config/jwt-secret.txt
--network=boba-sepolia
Expand Down
3 changes: 2 additions & 1 deletion boba-community/docker-compose-op-mainnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
--authrpc.vhosts=*
--authrpc.jwtsecret=/config/jwt-secret.txt
--http.api=eth,debug,net,engine,web3
--rollup.disabletxpoolgossip=true
--txpool.gossip.disable=true
--rollup.sequencerhttp=https://mainnet.optimism.io
--db.size.limit=8TB
ports:
Expand All @@ -35,6 +35,7 @@ services:
command: >
op-node
--l1=${ETH1_HTTP:-https://ethereum.publicnode.com}
--l1.beacon=${ETH2_HTTP}
--l2=http://l2:8551
--l2.jwt-secret=/config/jwt-secret.txt
--network=mainnet
Expand Down
3 changes: 2 additions & 1 deletion boba-community/docker-compose-op-sepolia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
--authrpc.vhosts=*
--authrpc.jwtsecret=/config/jwt-secret.txt
--http.api=eth,debug,net,engine,web3
--rollup.disabletxpoolgossip=true
--txpool.gossip.disable=true
--rollup.sequencerhttp=https://sepolia.optimism.io
--db.size.limit=8TB
ports:
Expand All @@ -36,6 +36,7 @@ services:
command: >
op-node
--l1=${ETH1_HTTP:-https://sepolia.gateway.tenderly.co}
--l1.beacon=${ETH2_HTTP}
--l2=http://l2:8551
--l2.jwt-secret=/config/jwt-secret.txt
--network=sepolia
Expand Down

0 comments on commit 1a3274b

Please sign in to comment.