From 790d6f3ec15f75ba4382cf56366ad70ece6e0008 Mon Sep 17 00:00:00 2001 From: Chao Zhang Date: Thu, 25 Jul 2024 16:17:36 +0200 Subject: [PATCH] fix --- charts/tezos/scripts/smart-rollup-observer.sh | 14 ++++++++++++++ ...art-rollup-node.sh => smart-rollup-operator.sh} | 0 charts/tezos/values.yaml | 9 ++++++++- 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 charts/tezos/scripts/smart-rollup-observer.sh rename charts/tezos/scripts/{smart-rollup-node.sh => smart-rollup-operator.sh} (100%) diff --git a/charts/tezos/scripts/smart-rollup-observer.sh b/charts/tezos/scripts/smart-rollup-observer.sh new file mode 100644 index 0000000..ab4d300 --- /dev/null +++ b/charts/tezos/scripts/smart-rollup-observer.sh @@ -0,0 +1,14 @@ +set -e + +TEZ_VAR=/var/tezos +TEZ_BIN=/usr/local/bin +ROLLUP_DATA_DIR="$TEZ_VAR/rollup" + +CMD="$TEZ_BIN/octez-smart-rollup-node \ + --endpoint http://tezos-node-rpc:8732 \ + run \ + --data-dir ${ROLLUP_DATA_DIR}" \ + --acl-override allow-all \ + --log-kernel-debug" + +exec $CMD \ No newline at end of file diff --git a/charts/tezos/scripts/smart-rollup-node.sh b/charts/tezos/scripts/smart-rollup-operator.sh similarity index 100% rename from charts/tezos/scripts/smart-rollup-node.sh rename to charts/tezos/scripts/smart-rollup-operator.sh diff --git a/charts/tezos/values.yaml b/charts/tezos/values.yaml index 685a451..0420775 100644 --- a/charts/tezos/values.yaml +++ b/charts/tezos/values.yaml @@ -409,7 +409,14 @@ smartRollupNodes: {} # tls: [] # rollup-node-1: # mode: observer -# rollup_address: sr1RYurGZtN8KNSpkMcCt9CgWeUaNkzsAfXf +# rollup_address: sr18wx6ezkeRjt1SZSeZ2UQzQN3Uc3YLMLqg +# config: | +# { "smart-rollup-address": "sr18wx6ezkeRjt1SZSeZ2UQzQN3Uc3YLMLqg", +# "smart-rollup-node-operator": {}, "rpc-addr": "0.0.0.0", +# "fee-parameters": {}, "mode": "observer", +# "pre-images-endpoint": +# "https://snapshots.eu.tzinit.org/etherlink-ghostnet/wasm_2_0_0", +# "history-mode": "archive" } # annotations: {} # ingress: # enabled: false