Skip to content

Commit

Permalink
fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
puppetninja committed Jul 26, 2024
1 parent 49b6c3b commit 5d56c13
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
15 changes: 12 additions & 3 deletions charts/tezos/scripts/smart-rollup-observer.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
set -e
set -ex

TEZ_VAR=/var/tezos
TEZ_BIN=/usr/local/bin
ROLLUP_DATA_DIR="$TEZ_VAR/rollup"
ROLLUP_DATA_DIR="${TEZ_VAR}/rollup"

$TEZ_BIN/octez-smart-rollup-node init observer \
config for "${ROLLUP_ADDRESS}" \
with operators \
--history-mode archive \
--data-dir "${ROLLUP_DATA_DIR}" \
--rpc-addr 0.0.0.0 \
--pre-images-endpoint "${ROLLUP_PREIMAGES_ENDPOINT}" \
--force

CMD="$TEZ_BIN/octez-smart-rollup-node \
--endpoint http://tezos-node-rpc:8732 \
run \
--data-dir ${ROLLUP_DATA_DIR}" \
--data-dir ${ROLLUP_DATA_DIR} \
--acl-override allow-all \
--log-kernel-debug"

Expand Down
2 changes: 2 additions & 0 deletions charts/tezos/templates/octez-rollup-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ spec:
env:
- name: ROLLUP_ADDRESS
value: {{ $v.rollup_address }}
- name: ROLLUP_PREIMAGES_ENDPOINT
values: {{ $v.preimages_endpoins }}
- name: OPERATORS_PARAMS
value: >
{{- range $key, $value := $v.operators }}
Expand Down

0 comments on commit 5d56c13

Please sign in to comment.