Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yann-sjtu committed Jun 25, 2024
1 parent f688bc0 commit bc7f624
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
DOCKERCOMPOSE := docker-compose -f docker-compose.yml
DOCKERCOMPOSEAPPSEQ := xlayer-sequencer
DOCKERCOMPOSEAPPSEQ2 := xlayer-sequencer2
DOCKERCOMPOSEAPPSEQSENDER := xlayer-sequence-sender
DOCKERCOMPOSEAPPSIGNER := xlayer-signer
DOCKERCOMPOSEAPPL2GASP := xlayer-l2gaspricer
Expand Down Expand Up @@ -54,6 +55,7 @@ RUNEVENTDB := $(DOCKERCOMPOSE) up -d $(DOCKERCOMPOSEEVENTDB)
RUNDACDB := $(DOCKERCOMPOSE) up -d $(DOCKERCOMPOSEDACDB)
RUNDACNODE := $(DOCKERCOMPOSE) up -d $(DOCKERCOMPOSEDACNODE)
RUNSEQUENCER := $(DOCKERCOMPOSE) up -d $(DOCKERCOMPOSEAPPSEQ)
RUNSEQUENCER2 := $(DOCKERCOMPOSE) up -d $(DOCKERCOMPOSEAPPSEQ2)
RUNV1TOV2SEQUENCER := $(DOCKERCOMPOSE) up -d $(DOCKERCOMPOSEAPPSEQV1TOV2)
RUNSEQUENCESENDER := $(DOCKERCOMPOSE) up -d $(DOCKERCOMPOSEAPPSEQSENDER)
RUNSIGNER := $(DOCKERCOMPOSE) up -d $(DOCKERCOMPOSEAPPSIGNER)
Expand Down Expand Up @@ -727,7 +729,7 @@ run2: ## Runs a full node
sleep 4
$(RUNDACNODE)
$(RUNETHTXMANAGER)
$(RUNSEQUENCER)
$(RUNSEQUENCER2)
#$(RUNSIGNER)
$(RUNSEQUENCESENDER)
$(RUNL2GASPRICER)
Expand Down
21 changes: 21 additions & 0 deletions test/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,27 @@ services:
- "-c"
- "/app/xlayer-node run --network custom --custom-network-file /app/genesis.json --cfg /app/config.toml --components sequencer"

xlayer-sequencer2:
container_name: xlayer-sequencer2
image: xlayer-node
ports:
- 9092:9091 # needed if metrics enabled
- 6060:6060
- 6900:6900 # Data stream server
environment:
- ZKEVM_NODE_STATE_DB_HOST=xlayer-state-db
- ZKEVM_NODE_POOL_DB_HOST=xlayer-pool-db
- ZKEVM_NODE_MTCLIENT_URI=${ZKEVM_NODE_MTCLIENT_URI:-}
- ZKEVM_NODE_EXECUTOR_URI=${ZKEVM_NODE_EXECUTOR_URI:-}
volumes:
- ./config/test.node2.config.toml:/app/config.toml
- ./config/test.genesis.config.json:/app/genesis.json
- ./:/datastreamer
command:
- "/bin/sh"
- "-c"
- "/app/xlayer-node run --network custom --custom-network-file /app/genesis.json --cfg /app/config.toml --components sequencer"

xlayer-sequencer-v1tov2:
container_name: xlayer-sequencer-v1tov2
image: xlayer-node
Expand Down

0 comments on commit bc7f624

Please sign in to comment.