Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
sklppy88 committed Feb 12, 2025
1 parent d3e3f20 commit 2124741
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spartan/aztec-network/eth-devnet/entrypoints/eth-execution.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ exec reth node \
--http.addr="0.0.0.0" \
--http.api="admin,net,eth,web3,debug,trace" \
--http.corsdomain="*" \
--ws \
--ws.addr="0.0.0.0" \
--ws.port=${WS_PORT} \
--ws.api="admin,net,eth,web3,debug,trace" \
--ws.origins="*" \
--txpool.max-tx-input-bytes=${MAX_TX_INPUT_SIZE_BYTES} \
--max-outbound-peers=0 \
--max-inbound-peers=0 \
Expand Down
11 changes: 11 additions & 0 deletions spartan/aztec-network/templates/eth/eth-execution.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,15 @@ spec:
value: "true"
- name: HTTP_PORT
value: "{{ .Values.ethereum.execution.service.port }}"
- name: WS_PORT
value: "{{ .Values.ethereum.execution.service.wsPort }}"
- name: MAX_TX_INPUT_SIZE_BYTES
value: "{{ .Values.ethereum.maxTxInputSizeBytes }}"
ports:
- containerPort: {{ .Values.ethereum.execution.service.port }}
name: eth-execution
- containerPort: {{ .Values.ethereum.execution.service.wsPort }}
name: eth-exec-ws
volumeMounts:
- name: genesis
mountPath: /genesis
Expand Down Expand Up @@ -87,6 +91,13 @@ spec:
{{- if and (eq .Values.ethereum.execution.service.type "NodePort") .Values.ethereum.execution.service.nodePort }}
nodePort: {{ .Values.ethereum.execution.service.nodePort }}
{{- end }}
- name: ws
protocol: TCP
port: {{ .Values.ethereum.execution.service.wsPort }}
targetPort: {{ .Values.ethereum.execution.service.wsTargetPort }}
{{- if and (eq .Values.ethereum.execution.service.type "NodePort") .Values.ethereum.execution.service.wsNodePort }}
nodePort: {{ .Values.ethereum.execution.service.wsNodePort }}
{{- end }}
# Engine Api
- name: engine
protocol: TCP
Expand Down
2 changes: 2 additions & 0 deletions spartan/aztec-network/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ ethereum:
service:
port: 8545
targetPort: 8545
wsPort: 8546
wsTargetPort: 8546
resources:
requests:
memory: "4Gi"
Expand Down

0 comments on commit 2124741

Please sign in to comment.