Skip to content

Commit

Permalink
Merge pull request #54 from mantlenetworkio/udpate_sepolia_image
Browse files Browse the repository at this point in the history
udpate_sepolia_image
  • Loading branch information
shidaxi authored Jan 15, 2024
2 parents 19d6da8 + e649243 commit 31f46a5
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 5 deletions.
24 changes: 22 additions & 2 deletions docker-compose-seoplia.yml → docker-compose-sepolia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,17 @@ x-healthcheck: &healthcheck

services:
op-geth:
image: mantle-op-geth:v0.5.0
image: mantlenetworkio/op-geth:v0.5.0
deploy:
resources:
limits:
cpus: '4'
memory: 8000M
reservations:
cpus: '4'
memory: 8000M
restart_policy:
condition: on-failure
extra_hosts:
- "host.docker.internal:host-gateway"
entrypoint: geth
Expand Down Expand Up @@ -51,7 +61,17 @@ services:
- ${VERIFIER_WS_PORT:-8546}:8546
- ${VERIFIER_AUTH_PORT:-8551}:8551
op-node:
image: mantle-op-node:v0.5.0
image: mantlenetworkio/op-node:v0.5.0
deploy:
resources:
limits:
cpus: '4'
memory: 8000M
reservations:
cpus: '4'
memory: 8000M
restart_policy:
condition: on-failure
depends_on:
- op-geth
volumes:
Expand Down
17 changes: 14 additions & 3 deletions run-node-sepolia.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ chaindata
#### Start

```sh
docker-compose -f docker-compose-seoplia.yml up -d
docker-compose -f docker-compose-sepolia.yml up -d
```

Will start the node in a detatched shell (`-d`), meaning the node will continue to run in the background.
Expand All @@ -75,7 +75,7 @@ This process takes hours.
#### Stop

```sh
docker-compose -f docker-compose-seoplia.yml down
docker-compose -f docker-compose-sepolia.yml down
```

Will shut down the node without wiping any volumes.
Expand All @@ -84,7 +84,7 @@ You can safely run this command and then restart the node again.
#### Wipe

```sh
docker-compose -f docker-compose-seoplia.yml down -v
docker-compose -f docker-compose-sepolia.yml down -v
```

Will completely wipe the node by removing the volumes that were created for each container.
Expand Down Expand Up @@ -134,3 +134,14 @@ example:
cast bn
cast bn --rpc-url https://rpc.sepolia.mantle.xyz
```

Use the command 'cast rpc optimism_syncStatus' to execute multiple times and check if the safe_l2 and inalized_l2 increases.
It may need to be increased after thirty minutes

example:

```sh
cast rpc optimism_syncStatus --rpc-url localhost:9545 |jq .finalized_l2.number

cast rpc optimism_syncStatus --rpc-url localhost:9545 |jq .safe_l2.number
```

0 comments on commit 31f46a5

Please sign in to comment.