Skip to content

Commit

Permalink
fix: testnet-up (#238)
Browse files Browse the repository at this point in the history
* fix: testnet-up

* Update docker-compose-testnet.yml
  • Loading branch information
antonio-altr authored Nov 1, 2023
1 parent 3628f31 commit c465a1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions ops-bedrock/docker-compose-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
user: root
platform: "${PLATFORM}"
image: "ghcr.io/celestiaorg/celestia-node:v0.11.0"
command: celestia light start --core.ip rpc-mocha.pops.one --p2p.network mocha --log.level debug
command: celestia light start --core.ip rpc-mocha.pops.one --p2p.network mocha --log.level debug --gateway
environment:
- NODE_TYPE=light
- P2P_NETWORK=mocha
Expand Down Expand Up @@ -132,10 +132,11 @@ services:
OP_PROPOSER_L2OO_ADDRESS: "${L2OO_ADDRESS}"
OP_PROPOSER_PPROF_ENABLED: "true"
OP_PROPOSER_METRICS_ENABLED: "true"
OP_PROPOSER_ALLOW_NON_FINALIZED: "false"
OP_PROPOSER_ALLOW_NON_FINALIZED: "true"
OP_PROPOSER_NAMESPACE_ID: "000008e5f679bf7116cb"
OP_PROPOSER_DA_RPC: http://da:26659
OP_PROPOSER_NETWORK_TIMEOUT: 180s
OP_PROPOSER_LOG_LEVEL: "debug"

op-batcher:
depends_on:
Expand Down Expand Up @@ -179,6 +180,7 @@ services:
OP_BATCHER_NAMESPACE_ID: "000008e5f679bf7116cb"
OP_BATCHER_DA_RPC: http://da:26658
OP_BATCHER_AUTH_TOKEN: $CELESTIA_NODE_AUTH_TOKEN
OP_BATCHER_LOG_LEVEL: "debug"

stateviz:
build:
Expand Down
4 changes: 2 additions & 2 deletions ops-bedrock/testnet-up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ L2OO_ADDRESS="0x6900000000000000000000000000000000000000"
(
cd ops-bedrock
echo "Bringing up devnet..."
docker-compose -f docker-compose-devnet.yml up -d da
docker-compose -f docker-compose-testnet.yml up -d da
wait_up http://localhost:26659/header/1
export CELESTIA_NODE_AUTH_TOKEN="$(celestia light auth admin --node.store $HOME/.celestia-light-mocha-4/)"
export CELESTIA_NODE_AUTH_TOKEN="$(docker exec ops-bedrock_da_1 celestia light auth admin --node.store /home/celestia/.celestia-light-mocha-4/)"
echo "CELESTIA_NODE_AUTH_TOKEN=$CELESTIA_NODE_AUTH_TOKEN"
L2OO_ADDRESS="$L2OO_ADDRESS" \
docker-compose -f docker-compose-testnet.yml up -d op-proposer op-batcher
Expand Down

0 comments on commit c465a1e

Please sign in to comment.