6b62247ef7
* Add an option to pass env file to deploy command * Use env variable mapping in fixturenet-optimism stack * Use default values from checked in env files * Use env variable mapping in mobymask-v2 stack * Update instructions * Add extra hosts in app compose files and update instructions * Add CERC prefix to env variables in fixturenet-optimism stack * Add CERC prefix to env variables in mobymask-v2 stack
26 lines
607 B
Bash
Executable File
26 lines
607 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
if [ -n "$CERC_SCRIPT_DEBUG" ]; then
|
|
set -x
|
|
fi
|
|
|
|
CERC_L1_RPC="${CERC_L1_RPC:-${DEFAULT_CERC_L1_RPC}}"
|
|
|
|
# Get SEQUENCER KEY from keys.json
|
|
SEQUENCER_KEY=$(jq -r '.Sequencer.privateKey' /l2-accounts/keys.json | tr -d '"')
|
|
|
|
op-node \
|
|
--l2=http://op-geth:8551 \
|
|
--l2.jwt-secret=/op-node-data/jwt.txt \
|
|
--sequencer.enabled \
|
|
--sequencer.l1-confs=3 \
|
|
--verifier.l1-confs=3 \
|
|
--rollup.config=/op-node-data/rollup.json \
|
|
--rpc.addr=0.0.0.0 \
|
|
--rpc.port=8547 \
|
|
--p2p.disable \
|
|
--rpc.enable-admin \
|
|
--p2p.sequencer.key=$SEQUENCER_KEY \
|
|
--l1=$CERC_L1_RPC \
|
|
--l1.rpckind=any
|