Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Commit

Permalink
feat: support rollups-node 1.2
Browse files Browse the repository at this point in the history
Claims are now sent by the authority-claimer instead of the dispatcher
  • Loading branch information
GMKrieger authored and marcelstanley committed Nov 7, 2023
1 parent 7c02b4e commit 29326d7
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docker-compose-host-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3"

services:
server_manager:
image: cartesi/rollups-node:1.1.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-host-runner
ports:
- "5004:5004"
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3"

services:
server_manager:
image: cartesi/rollups-node:1.1.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-host-runner
ports:
- "5004:5004"
Expand Down
12 changes: 6 additions & 6 deletions docker-compose-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ x-credentials:

services:
dispatcher:
image: cartesi/rollups-node:1.1.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-dispatcher
restart: always
depends_on:
Expand All @@ -31,7 +31,7 @@ services:
- ./deployments:/deployments:ro

state_server:
image: cartesi/rollups-node:1.1.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-state-server
restart: always
healthcheck:
Expand All @@ -48,7 +48,7 @@ services:
BH_BLOCK_TIMEOUT: 120

advance_runner:
image: cartesi/rollups-node:1.1.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-advance-runner
restart: always
healthcheck:
Expand Down Expand Up @@ -89,7 +89,7 @@ services:
- REMOTE_CARTESI_MACHINE_LOG_LEVEL=info

inspect_server:
image: cartesi/rollups-node:1.1.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-inspect-server
restart: always
ports:
Expand All @@ -104,7 +104,7 @@ services:
SESSION_ID: default_rollups_id

indexer:
image: cartesi/rollups-node:1.1.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-indexer
restart: always
depends_on:
Expand All @@ -122,7 +122,7 @@ services:
- ./deployments:/deployments:ro

graphql_server:
image: cartesi/rollups-node:1.1.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-graphql-server
ports:
- "4000:4000"
Expand Down
41 changes: 35 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ services:
- ./deployments:/app/rollups/deployments

dispatcher:
image: cartesi/rollups-node:1.1.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-dispatcher
restart: always
depends_on:
Expand All @@ -55,7 +55,36 @@ services:
RD_EPOCH_DURATION: 86400
SC_GRPC_ENDPOINT: http://state_server:50051
SC_DEFAULT_CONFIRMATIONS: 1
CHAIN_ID: 31337
REDIS_ENDPOINT: redis://redis:6379
volumes:
- blockchain-data:/opt/cartesi/share/deployments:ro
- ./deployments:/deployments:ro

authority-claimer:
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-authority-claimer
restart: always
depends_on:
hardhat:
condition: service_healthy
hardhat_set_interval:
condition: service_completed_successfully
deployer:
condition: service_completed_successfully
state_server:
condition: service_healthy
redis:
condition: service_healthy
environment:
RUST_LOG: info
DAPP_DEPLOYMENT_FILE: /deployments/localhost/dapp.json
ROLLUPS_DEPLOYMENT_FILE: /opt/cartesi/share/deployments/localhost.json
RD_EPOCH_DURATION: 86400
SC_GRPC_ENDPOINT: http://state_server:50051
SC_DEFAULT_CONFIRMATIONS: 1
TX_PROVIDER_HTTP_ENDPOINT: http://hardhat:8545
TX_SIGNING_MNEMONIC: "test test test test test test test test test test test junk"
AUTH_MNEMONIC: "test test test test test test test test test test test junk"
TX_CHAIN_ID: 31337
TX_CHAIN_IS_LEGACY: ${TX_LEGACY:-false}
Expand All @@ -66,7 +95,7 @@ services:
- ./deployments:/deployments:ro

state_server:
image: cartesi/rollups-node:1.1.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-state-server
restart: always
healthcheck:
Expand All @@ -86,7 +115,7 @@ services:
BH_BLOCK_TIMEOUT: 8

advance_runner:
image: cartesi/rollups-node:1.1.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-advance-runner
restart: always
healthcheck:
Expand Down Expand Up @@ -188,7 +217,7 @@ services:
]

inspect_server:
image: cartesi/rollups-node:1.1.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-inspect-server
restart: always
ports:
Expand All @@ -203,7 +232,7 @@ services:
SESSION_ID: default_rollups_id

indexer:
image: cartesi/rollups-node:1.1.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-indexer
restart: always
depends_on:
Expand All @@ -223,7 +252,7 @@ services:
- ./deployments:/deployments:ro

graphql_server:
image: cartesi/rollups-node:1.1.0
image: cartesi/rollups-node:1.2.0
command: cartesi-rollups-graphql-server
ports:
- "4000:4000"
Expand Down

0 comments on commit 29326d7

Please sign in to comment.