-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
put sequencer and rollup in the same pod to init seq from rollup storage
- Loading branch information
1 parent
51e2745
commit 6af52d2
Showing
4 changed files
with
49 additions
and
62 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
set -e | ||
|
||
TEZ_VAR=/var/tezos | ||
TEZ_BIN=/usr/local/bin | ||
CLIENT_DIR="$TEZ_VAR/client" | ||
ROLLUP_DATA_DIR="$TEZ_VAR/rollup" | ||
SEQUENCER_DATA_DIR="$TEZ_VAR/sequencer" | ||
|
||
set -x | ||
|
||
octez-evm-node init from rollup node ${ROLLUP_DATA_DIR} \ | ||
--data-dir ${SEQUENCER_DATA_DIR} | ||
|
||
|
||
CMD="$TEZ_BIN/octez-evm-node run sequencer \ | ||
with endpoint http://rollup-${MY_POD_NAME}:8932 \ | ||
signing with edsk3rw6fcwjPe5xkGWAbSquLDQALKP8XyMhy4c6PQGr7qQKTYa8rX \ | ||
--data-dir ${SEQUENCER_DATA_DIR} \ | ||
--time-between-blocks 6 \ | ||
--rpc-addr 0.0.0.0" | ||
|
||
exec $CMD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters