Add Optimism Fixturenet stack #266
@ -18,7 +18,7 @@ services:
|
||||
- ../config/fixturenet-optimism/optimism-contracts/send-balance.ts:/app/packages/contracts-bedrock/tasks/send-balance.ts
|
||||
- ../config/fixturenet-optimism/optimism-contracts/update-config.js:/app/packages/contracts-bedrock/update-config.js
|
||||
- ../config/fixturenet-optimism/optimism-contracts/run.sh:/app/packages/contracts-bedrock/run.sh
|
||||
- fixturenet-geth-accounts:/geth-accounts
|
||||
- fixturenet-geth-accounts:/geth-accounts:ro
|
||||
- l2-accounts:/l2-accounts
|
||||
- l1-deployment:/app/packages/contracts-bedrock
|
||||
|
||||
@ -31,7 +31,7 @@ services:
|
||||
L1_RPC: "http://fixturenet-eth-geth-1:8545"
|
||||
volumes:
|
||||
- ../config/fixturenet-optimism/generate-l2-config.sh:/app/generate-l2-config.sh
|
||||
- l1-deployment:/contracts-bedrock
|
||||
- l1-deployment:/contracts-bedrock:ro
|
||||
- op_node_data:/app
|
||||
command: ["sh", "/app/generate-l2-config.sh"]
|
||||
|
||||
@ -42,8 +42,8 @@ services:
|
||||
condition: service_started
|
||||
volumes:
|
||||
- ../config/fixturenet-optimism/run-op-geth.sh:/run-op-geth.sh
|
||||
- op_node_data:/op-node
|
||||
- l2-accounts:/l2-accounts
|
||||
- op_node_data:/op-node:ro
|
||||
- l2-accounts:/l2-accounts:ro
|
||||
entrypoint: "sh"
|
||||
command: "/run-op-geth.sh"
|
||||
ports:
|
||||
@ -64,8 +64,8 @@ services:
|
||||
image: cerc/optimism-op-node:local
|
||||
volumes:
|
||||
- ../config/fixturenet-optimism/run-op-node.sh:/app/run-op-node.sh
|
||||
- op_node_data:/app
|
||||
- l2-accounts:/l2-accounts
|
||||
- op_node_data:/app:ro
|
||||
- l2-accounts:/l2-accounts:ro
|
||||
command: ["sh", "/app/run-op-node.sh"]
|
||||
ports:
|
||||
- "8547"
|
||||
@ -87,7 +87,7 @@ services:
|
||||
image: cerc/optimism-op-batcher:local
|
||||
volumes:
|
||||
- ../config/fixturenet-optimism/run-op-batcher.sh:/run-op-batcher.sh
|
||||
- l2-accounts:/l2-accounts
|
||||
- l2-accounts:/l2-accounts:ro
|
||||
entrypoint: "sh"
|
||||
command: "/run-op-batcher.sh"
|
||||
|
||||
|
@ -43,7 +43,16 @@ Deploy the stack:
|
||||
laconic-so --stack fixturenet-optimism deploy up
|
||||
```
|
||||
|
||||
## Clean up
|
||||
To list down the running containers:
|
||||
|
||||
```bash
|
||||
laconic-so --stack fixturenet-optimism deploy ps
|
||||
|
||||
# With status
|
||||
docker ps
|
||||
```
|
||||
|
||||
# Clean up
|
||||
|
||||
Stop all services running in the background:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user