Skip to content

Commit

Permalink
make rollup mode configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
puppetninja committed Oct 22, 2024
1 parent 30a6683 commit 48bc17b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/tezos/scripts/smart-rollup-observer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ROLLUP_DATA_DIR="${TEZ_VAR}/rollup"
$TEZ_BIN/octez-smart-rollup-node init observer \
config for "${ROLLUP_ADDRESS}" \
with operators \
--history-mode archive \
--history-mode "${ROLLUP_HISTORY_MODE}" \
--data-dir "${ROLLUP_DATA_DIR}" \
--rpc-addr 0.0.0.0 \
--pre-images-endpoint "${ROLLUP_PREIMAGES_ENDPOINT}" \
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 @@ -95,6 +95,8 @@ spec:
{{- end }}
- name: NODE_RPC_URL
value: {{ $v.node_rpc_url }}
- name: ROLLUP_HISTORY_MODE
value: {{ $v.history_mode }}
{{- if $v.resources }}
{{- with $v.resources }}
resources:
Expand Down

0 comments on commit 48bc17b

Please sign in to comment.