Skip to content

Commit

Permalink
use the smart rollup node config initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasochem committed Feb 10, 2024
1 parent f793365 commit 51e2745
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions charts/tezos/scripts/smart-rollup-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,19 @@ ROLLUP_DATA_DIR_PREIMAGES="$ROLLUP_DATA_DIR/wasm_2_0_0"
xxd -p -c 0 /usr/local/share/tezos/evm_kernel/evm_installer.wasm | tr -d '\n' > /var/tezos/smart-rollup-boot-sector
mkdir -p "$ROLLUP_DATA_DIR_PREIMAGES"
cp /usr/local/share/tezos/evm_kernel/* "$ROLLUP_DATA_DIR_PREIMAGES"
CMD="$TEZ_BIN/octez-smart-rollup-node \
ls -al $ROLLUP_DATA_DIR
$TEZ_BIN/octez-smart-rollup-node \
--endpoint http://tezos-node-rpc:8732 \
-d $CLIENT_DIR \
run operator for ${ROLLUP_ADDRESS} with operators ${OPERATORS_PARAMS} \
init operator config for ${ROLLUP_ADDRESS} with operators ${OPERATORS_PARAMS} \
--data-dir ${ROLLUP_DATA_DIR} \
--boot-sector-file /var/tezos/smart-rollup-boot-sector \
--rpc-addr 0.0.0.0"
--rpc-addr 0.0.0.0 \
--force

CMD="$TEZ_BIN/octez-smart-rollup-node \
--endpoint http://tezos-node-rpc:8732 \
-d $CLIENT_DIR \
run \
--data-dir ${ROLLUP_DATA_DIR}"
exec $CMD

0 comments on commit 51e2745

Please sign in to comment.