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: faucet LB if public, proving devnet #10665

Merged
merged 1 commit into from
Dec 12, 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
5 changes: 5 additions & 0 deletions spartan/aztec-network/templates/faucet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,12 @@ metadata:
labels:
{{- include "aztec-network.labels" . | nindent 4 }}
spec:
{{- if .Values.network.public }}
type: LoadBalancer
{{- else }}
type: ClusterIP
clusterIP: None
{{- end }}
selector:
{{- include "aztec-network.selectorLabels" . | nindent 4 }}
app: faucet
Expand Down
22 changes: 10 additions & 12 deletions spartan/aztec-network/values/release-devnet.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
##########
# BEWARE #
##########
# You need to deploy the metrics helm chart before using this values file.
# head to spartan/metrics and run `./install.sh`
# (then `./forward.sh` if you want to see it)
telemetry:
enabled: true
otelCollectorEndpoint: http://35.197.100.168:4318

validator:
replicas: 1
Expand All @@ -20,13 +15,16 @@ bootNode:
validator:
disabled: true

# use small provers to produce fake proofs
proverAgent:
replicas: 1
replicas: 24
bb:
hardwareConcurrency: 31
gke:
spotEnabled: true
resources:
requests:
memory: "4Gi"
cpu: "1"
memory: "116Gi"
cpu: "31"

bot:
followChain: "PENDING"
Expand All @@ -43,8 +41,8 @@ images:
aztec:
slotDuration: 36
epochDuration: 32
realProofs: false # devnet does not use real proofs
realProofs: true

jobs:
deployL1Verifier:
enable: false
enable: true
13 changes: 10 additions & 3 deletions yarn-project/cli/src/cmds/devnet/bootstrap_network.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import { getSchnorrAccount } from '@aztec/accounts/schnorr';
import { BatchCall, type PXE, type WaitOpts, type Wallet, createCompatibleClient, retryUntil } from '@aztec/aztec.js';
import { L1FeeJuicePortalManager } from '@aztec/aztec.js';
import {
BatchCall,
L1FeeJuicePortalManager,
type PXE,
type WaitOpts,
type Wallet,
createCompatibleClient,
retryUntil,
} from '@aztec/aztec.js';
import { type AztecAddress, type EthAddress, FEE_FUNDING_FOR_TESTER_ACCOUNT, Fq, Fr } from '@aztec/circuits.js';
import {
type ContractArtifacts,
Expand All @@ -22,7 +29,7 @@ type ContractDeploymentInfo = {

const waitOpts: WaitOpts = {
timeout: 120,
provenTimeout: 1200,
provenTimeout: 2400,
interval: 1,
};

Expand Down
Loading