From f30fb206ac5363bc39d13560e777fa3d9473c6b5 Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Wed, 4 Dec 2024 20:12:46 +0000 Subject: [PATCH 1/3] fix: update release-devnet --- .../aztec-network/values/release-devnet.yaml | 21 +++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/spartan/aztec-network/values/release-devnet.yaml b/spartan/aztec-network/values/release-devnet.yaml index 4717ed0cdc9..ff23fb685c4 100644 --- a/spartan/aztec-network/values/release-devnet.yaml +++ b/spartan/aztec-network/values/release-devnet.yaml @@ -21,14 +21,31 @@ bootNode: validator: disabled: true +# use small provers to produce fake proofs +provateAgent: + replicas: 1 + resources: + requests: + memory: "4Gi" + cpu: "1" + bot: followChain: "PENDING" enabled: true txIntervalSeconds: 200 network: - public: true + public: false images: aztec: - pullPolicy: Always \ No newline at end of file + pullPolicy: Always + +aztec: + slotDuration: 36 + epochDuration: 32 + realProofs: false # devnet does not use real proofs + +jobs: + deployL1Verifier: + enable: false From 5de1f38f5708d1eca1e0d93349b3b3c5220e6e3e Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Wed, 4 Dec 2024 22:43:48 +0000 Subject: [PATCH 2/3] fix: setup l2 contracts --- spartan/aztec-network/templates/setup-l2-contracts.yaml | 2 ++ spartan/scripts/deploy_spartan.sh | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spartan/aztec-network/templates/setup-l2-contracts.yaml b/spartan/aztec-network/templates/setup-l2-contracts.yaml index 594bc1480e5..a1840a1be43 100644 --- a/spartan/aztec-network/templates/setup-l2-contracts.yaml +++ b/spartan/aztec-network/templates/setup-l2-contracts.yaml @@ -62,6 +62,8 @@ spec: node --no-warnings /usr/src/yarn-project/aztec/dest/bin/index.js setup-protocol-contracts --skipProofWait --l1-chain-id {{ .Values.ethereum.chainId }} echo "L2 contracts initialized" env: + - name: TELEMETRY + value: "{{ .Values.telemetry.enabled }}" - name: DEBUG value: "aztec:*" - name: LOG_LEVEL diff --git a/spartan/scripts/deploy_spartan.sh b/spartan/scripts/deploy_spartan.sh index 1b646ea1745..16bb8c76628 100755 --- a/spartan/scripts/deploy_spartan.sh +++ b/spartan/scripts/deploy_spartan.sh @@ -69,14 +69,12 @@ function upgrade() { if ! upgrade | tee "$SCRIPT_DIR/logs/$NAMESPACE-helm.log" ; then if grep 'cannot patch "'$NAMESPACE'-aztec-network-setup-l2-contracts"' "$SCRIPT_DIR/logs/$NAMESPACE-helm.log" ; then kubectl delete job $NAMESPACE-aztec-network-setup-l2-contracts -n $NAMESPACE - upgrade fi -fi -if ! upgrade | tee "$SCRIPT_DIR/logs/$NAMESPACE-helm.log" ; then if grep 'cannot patch "'$NAMESPACE'-aztec-network-deploy-l1-verifier"' "$SCRIPT_DIR/logs/$NAMESPACE-helm.log" ; then kubectl delete job $NAMESPACE-aztec-network-deploy-l1-verifier -n $NAMESPACE - upgrade fi + + upgrade fi From a338474fd5b86099965e10f0b6a663a7fcbc8bf2 Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Thu, 5 Dec 2024 12:02:00 +0000 Subject: [PATCH 3/3] Update release-devnet.yaml --- spartan/aztec-network/values/release-devnet.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spartan/aztec-network/values/release-devnet.yaml b/spartan/aztec-network/values/release-devnet.yaml index ff23fb685c4..2fb6d1d1e4f 100644 --- a/spartan/aztec-network/values/release-devnet.yaml +++ b/spartan/aztec-network/values/release-devnet.yaml @@ -22,7 +22,7 @@ bootNode: disabled: true # use small provers to produce fake proofs -provateAgent: +proverAgent: replicas: 1 resources: requests: @@ -35,7 +35,7 @@ bot: txIntervalSeconds: 200 network: - public: false + public: true images: aztec: