Skip to content

Commit

Permalink
make seq3, seq4 as sqlite nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
imabdulbasit committed Nov 26, 2024
1 parent a867fe2 commit 232043b
Showing 1 changed file with 6 additions and 100 deletions.
106 changes: 6 additions & 100 deletions process-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ processes:
exit_on_skipped: true

sequencer3:
command: sequencer -- http -- catchup -- status
command: sequencer-sqlite -- http -- catchup -- status -- storage-sql -- query
environment:
- ESPRESSO_SEQUENCER_API_PORT=$ESPRESSO_SEQUENCER3_API_PORT
- ESPRESSO_SEQUENCER_LIBP2P_BIND_ADDRESS=0.0.0.0:$ESPRESSO_DEMO_SEQUENCER_LIBP2P_PORT_3
Expand All @@ -286,6 +286,8 @@ processes:
- ESPRESSO_SEQUENCER_IDENTITY_LONGITUDE=104.1954
- ESPRESSO_SEQUENCER_PUBLIC_API_URL=http://localhost:$ESPRESSO_SEQUENCER3_API_PORT/
- ESPRESSO_SEQUENCER_L1_PROVIDER=ws://localhost:$ESPRESSO_SEQUENCER_L1_WS_PORT
- ESPRESSO_SEQUENCER_SQLITE_PATH=$ESPRESSO_BASE_STORAGE_PATH/seq3-sqlite.db
- ESPRESSO_SEQUENCER_IS_DA=true
depends_on:
orchestrator:
condition: process_healthy
Expand All @@ -312,7 +314,7 @@ processes:
exit_on_skipped: true

sequencer4:
command: sequencer -- http -- catchup -- status
command: sequencer-sqlite -- http -- catchup -- status -- storage-sql -- query
environment:
- ESPRESSO_SEQUENCER_API_PORT=$ESPRESSO_SEQUENCER4_API_PORT
- ESPRESSO_SEQUENCER_STATE_PEERS=http://localhost:$ESPRESSO_SEQUENCER_API_PORT
Expand All @@ -329,6 +331,8 @@ processes:
- ESPRESSO_SEQUENCER_IDENTITY_LATITUDE=-25.2744
- ESPRESSO_SEQUENCER_IDENTITY_LONGITUDE=133.7751
- ESPRESSO_SEQUENCER_PUBLIC_API_URL=http://localhost:$ESPRESSO_SEQUENCER4_API_PORT/
- ESPRESSO_SEQUENCER_SQLITE_PATH=$ESPRESSO_BASE_STORAGE_PATH/seq4-sqlite.db
- ESPRESSO_SEQUENCER_IS_DA=true
depends_on:
orchestrator:
condition: process_healthy
Expand All @@ -354,104 +358,6 @@ processes:
availability:
exit_on_skipped: true


# sequencer5:
# command: sequencer-sqlite -- storage-sql -- http -- query -- catchup -- status -- submit -- config
# environment:
# - ESPRESSO_SEQUENCER_API_PORT=$ESPRESSO_SEQUENCER5_API_PORT
# - ESPRESSO_SEQUENCER_LIBP2P_BIND_ADDRESS=0.0.0.0:$ESPRESSO_DEMO_SEQUENCER_LIBP2P_PORT_5
# - ESPRESSO_SEQUENCER_LIBP2P_ADVERTISE_ADDRESS=localhost:$ESPRESSO_DEMO_SEQUENCER_LIBP2P_PORT_5
# - ESPRESSO_SEQUENCER_API_PEERS=http://localhost:$ESPRESSO_SEQUENCER_API_PORT
# - ESPRESSO_SEQUENCER_STATE_PEERS=http://localhost:$ESPRESSO_SEQUENCER_API_PORT
# - ESPRESSO_SEQUENCER_SQLITE_PATH=$ESPRESSO_BASE_STORAGE_PATH/seq5-sqlite.db
# - ESPRESSO_SEQUENCER_PRIVATE_STAKING_KEY=$ESPRESSO_DEMO_SEQUENCER_STAKING_PRIVATE_KEY_5
# - ESPRESSO_SEQUENCER_PRIVATE_STATE_KEY=$ESPRESSO_DEMO_SEQUENCER_STATE_PRIVATE_KEY_5
# - ESPRESSO_SEQUENCER_IS_DA=true
# - ESPRESSO_SEQUENCER_IDENTITY_NODE_NAME=sequencer5
# - ESPRESSO_SEQUENCER_IDENTITY_WALLET_ADDRESS=0x0000000000000000000000000000000000000000
# - ESPRESSO_SEQUENCER_IDENTITY_COMPANY_NAME=Espresso Systems
# - ESPRESSO_SEQUENCER_IDENTITY_COMPANY_WEBSITE=https://www.espressosys.com/
# - ESPRESSO_SEQUENCER_IDENTITY_OPERATING_SYSTEM=Linux 5.15.153.1
# - ESPRESSO_SEQUENCER_IDENTITY_NETWORK_TYPE=local
# - ESPRESSO_SEQUENCER_IDENTITY_COUNTRY_CODE=US
# - ESPRESSO_SEQUENCER_IDENTITY_LATITUDE=40.7128
# - ESPRESSO_SEQUENCER_IDENTITY_LONGITUDE=-74.0060
# - ESPRESSO_SEQUENCER_PUBLIC_API_URL=http://localhost:$ESPRESSO_SEQUENCER5_API_PORT/
# depends_on:
# orchestrator:
# condition: process_healthy
# demo-l1-network:
# condition: process_healthy
# state-relay-server:
# condition: process_healthy
# broker_0:
# condition: process_healthy
# broker_1:
# condition: process_healthy
# marshal_0:
# condition: process_healthy
# deploy-sequencer-contracts:
# condition: process_completed
# availability:
# exit_on_skipped: true

# readiness_probe:
# http_get:
# scheme: http
# host: localhost
# port: $ESPRESSO_SEQUENCER5_API_PORT
# path: /healthcheck
# failure_threshold: 100

# sequencer6:
# command: sequencer-sqlite -- storage-sql -- http -- query -- catchup -- status -- state -- explorer
# environment:
# - ESPRESSO_SEQUENCER_API_PORT=$ESPRESSO_SEQUENCER6_API_PORT
# - ESPRESSO_SEQUENCER_LIBP2P_BIND_ADDRESS=0.0.0.0:$ESPRESSO_DEMO_SEQUENCER_LIBP2P_PORT_6
# - ESPRESSO_SEQUENCER_LIBP2P_ADVERTISE_ADDRESS=localhost:$ESPRESSO_DEMO_SEQUENCER_LIBP2P_PORT_6
# - ESPRESSO_SEQUENCER_API_PEERS=http://localhost:$ESPRESSO_SEQUENCER_API_PORT
# - ESPRESSO_SEQUENCER_STATE_PEERS=http://localhost:$ESPRESSO_SEQUENCER_API_PORT
# - ESPRESSO_SEQUENCER_SQLITE_PATH=$ESPRESSO_BASE_STORAGE_PATH/seq6-sqlite.db
# - ESPRESSO_SEQUENCER_PRIVATE_STAKING_KEY=$ESPRESSO_DEMO_SEQUENCER_STAKING_PRIVATE_KEY_6
# - ESPRESSO_SEQUENCER_PRIVATE_STATE_KEY=$ESPRESSO_DEMO_SEQUENCER_STATE_PRIVATE_KEY_6
# - ESPRESSO_SEQUENCER_IS_DA=true
# - ESPRESSO_SEQUENCER_IDENTITY_NODE_NAME=sequencer6
# - ESPRESSO_SEQUENCER_IDENTITY_WALLET_ADDRESS=0x0000000000000000000000000000000000000001
# - ESPRESSO_SEQUENCER_IDENTITY_COMPANY_NAME=Espresso Systems
# - ESPRESSO_SEQUENCER_IDENTITY_COMPANY_WEBSITE=https://www.espressosys.com/
# - ESPRESSO_SEQUENCER_IDENTITY_OPERATING_SYSTEM=Darwin 23.5.0
# - ESPRESSO_SEQUENCER_IDENTITY_NETWORK_TYPE=local
# - ESPRESSO_SEQUENCER_IDENTITY_COUNTRY_CODE=GR
# - ESPRESSO_SEQUENCER_IDENTITY_LATITUDE=39.0742
# - ESPRESSO_SEQUENCER_IDENTITY_LONGITUDE=21.8243
# - ESPRESSO_SEQUENCER_PUBLIC_API_URL=http://localhost:$ESPRESSO_SEQUENCER6_API_PORT/
# - ESPRESSO_SEQUENCER_L1_PROVIDER=ws://localhost:$ESPRESSO_SEQUENCER_L1_WS_PORT
# depends_on:
# orchestrator:
# condition: process_healthy
# demo-l1-network:
# condition: process_healthy
# state-relay-server:
# condition: process_healthy
# broker_0:
# condition: process_healthy
# broker_1:
# condition: process_healthy
# marshal_0:
# condition: process_healthy
# deploy-sequencer-contracts:
# condition: process_completed
# readiness_probe:
# http_get:
# scheme: http
# host: localhost
# port: $ESPRESSO_SEQUENCER6_API_PORT
# path: /healthcheck
# failure_threshold: 100
# availability:
# exit_on_skipped: true


node_validator:
command: RUST_LOG=debug node-metrics --
environment:
Expand Down

0 comments on commit 232043b

Please sign in to comment.