Skip to content

Commit

Permalink
fix: aztec-spartan config var (#11137)
Browse files Browse the repository at this point in the history
plus external load balancer for ethereum host, and convenience network
config for testing external connections.
  • Loading branch information
just-mitch authored Jan 9, 2025
1 parent 3883a0e commit acbfad4
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 9 deletions.
12 changes: 6 additions & 6 deletions spartan/aztec-network/templates/reth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ spec:
name: {{ include "aztec-network.fullname" . }}-reth-genesis
- name: genesis-output
emptyDir: {}
{{if not .Values.network.public }}
---
apiVersion: v1
kind: Service
Expand All @@ -109,18 +108,19 @@ metadata:
labels:
{{- include "aztec-network.labels" . | nindent 4 }}
spec:
type: {{ .Values.ethereum.service.type }}
{{- if .Values.network.public }}
type: LoadBalancer
{{- else }}
type: ClusterIP
clusterIP: None
{{- end }}
selector:
{{- include "aztec-network.selectorLabels" . | nindent 4 }}
app: ethereum
ports:
- protocol: TCP
port: {{ .Values.ethereum.service.port }}
targetPort: {{ .Values.ethereum.service.targetPort }}
{{- if and (eq .Values.ethereum.service.type "NodePort") .Values.ethereum.service.nodePort }}
nodePort: {{ .Values.ethereum.service.nodePort }}
{{- end }}
{{ end }}
---
apiVersion: v1
kind: ConfigMap
Expand Down
2 changes: 0 additions & 2 deletions spartan/aztec-network/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,8 @@ ethereum:
gasLimit: "1000000000"
args: ""
service:
type: ClusterIP
port: 8545
targetPort: 8545
nodePort: ""
readinessProbe:
initialDelaySeconds: 5
periodSeconds: 10
Expand Down
20 changes: 20 additions & 0 deletions spartan/aztec-network/values/1-validators-public.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
network:
public: true

validator:
replicas: 1
validatorKeys:
- 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
validatorAddresses:
- 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
validator:
disabled: false

bootNode:
validator:
disabled: true

bot:
followChain: "PENDING"
enabled: true
txIntervalSeconds: 10
2 changes: 1 addition & 1 deletion spartan/releases/testnet/aztec-spartan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ PROVER_REAL_PROOFS=true
PXE_PROVER_ENABLED=true
ETHEREUM_SLOT_DURATION=12sec
AZTEC_SLOT_DURATION=36
AZTEC_EPOCH_DURATION=32
AZTEC_EPOCH_DURATION=48
AZTEC_EPOCH_PROOF_CLAIM_WINDOW_IN_L2_SLOTS=13
ETHEREUM_HOST=${ETHEREUM_HOST}
BOOTSTRAP_NODES=${BOOTSTRAP_NODES}
Expand Down

0 comments on commit acbfad4

Please sign in to comment.