Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: devnet extras #10414

Merged
merged 3 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions spartan/aztec-network/templates/setup-l2-contracts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
19 changes: 18 additions & 1 deletion spartan/aztec-network/values/release-devnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ bootNode:
validator:
disabled: true

# use small provers to produce fake proofs
proverAgent:
replicas: 1
resources:
requests:
memory: "4Gi"
cpu: "1"

bot:
followChain: "PENDING"
enabled: true
Expand All @@ -31,4 +39,13 @@ network:

images:
aztec:
pullPolicy: Always
pullPolicy: Always

aztec:
slotDuration: 36
epochDuration: 32
realProofs: false # devnet does not use real proofs

jobs:
deployL1Verifier:
enable: false
6 changes: 2 additions & 4 deletions spartan/scripts/deploy_spartan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Loading