Skip to content

Commit

Permalink
chore: faucet LB if public, proving devnet (#10665)
Browse files Browse the repository at this point in the history
  • Loading branch information
just-mitch authored Dec 12, 2024
1 parent eb5f18a commit 996d921
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 15 deletions.
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

0 comments on commit 996d921

Please sign in to comment.