diff --git a/l1-contracts/src/core/libraries/ConstantsGen.sol b/l1-contracts/src/core/libraries/ConstantsGen.sol index 5c827dbabb4..ce952a6fb6d 100644 --- a/l1-contracts/src/core/libraries/ConstantsGen.sol +++ b/l1-contracts/src/core/libraries/ConstantsGen.sol @@ -92,7 +92,7 @@ library Constants { uint256 internal constant INITIAL_L2_BLOCK_NUM = 1; uint256 internal constant PRIVATE_LOG_SIZE_IN_FIELDS = 18; uint256 internal constant BLOB_SIZE_IN_BYTES = 126976; - uint256 internal constant AZTEC_MAX_EPOCH_DURATION = 32; + uint256 internal constant AZTEC_MAX_EPOCH_DURATION = 48; uint256 internal constant GENESIS_ARCHIVE_ROOT = 1002640778211850180189505934749257244705296832326768971348723156503780793518; uint256 internal constant FEE_JUICE_INITIAL_MINT = 200000000000000000000; @@ -200,8 +200,8 @@ library Constants { uint256 internal constant KERNEL_CIRCUIT_PUBLIC_INPUTS_LENGTH = 958; uint256 internal constant CONSTANT_ROLLUP_DATA_LENGTH = 13; uint256 internal constant BASE_OR_MERGE_PUBLIC_INPUTS_LENGTH = 31; - uint256 internal constant BLOCK_ROOT_OR_BLOCK_MERGE_PUBLIC_INPUTS_LENGTH = 90; - uint256 internal constant ROOT_ROLLUP_PUBLIC_INPUTS_LENGTH = 76; + uint256 internal constant BLOCK_ROOT_OR_BLOCK_MERGE_PUBLIC_INPUTS_LENGTH = 122; + uint256 internal constant ROOT_ROLLUP_PUBLIC_INPUTS_LENGTH = 108; uint256 internal constant GET_NOTES_ORACLE_RETURN_LENGTH = 674; uint256 internal constant NOTE_HASHES_NUM_BYTES_PER_BASE_ROLLUP = 2048; uint256 internal constant NULLIFIERS_NUM_BYTES_PER_BASE_ROLLUP = 2048; diff --git a/noir-projects/noir-protocol-circuits/crates/types/src/constants.nr b/noir-projects/noir-protocol-circuits/crates/types/src/constants.nr index 1eccf5c8554..7dd7fa27906 100644 --- a/noir-projects/noir-protocol-circuits/crates/types/src/constants.nr +++ b/noir-projects/noir-protocol-circuits/crates/types/src/constants.nr @@ -129,7 +129,7 @@ pub global INITIALIZATION_SLOT_SEPARATOR: Field = 1000_000_000; pub global INITIAL_L2_BLOCK_NUM: Field = 1; pub global PRIVATE_LOG_SIZE_IN_FIELDS: u32 = 18; // This is currently affected by the size of the log overhead defined in aztec-nr/aztec/src/encrypted_logs/payload.nr. pub global BLOB_SIZE_IN_BYTES: Field = 31 * 4096; -pub global AZTEC_MAX_EPOCH_DURATION: u32 = 32; +pub global AZTEC_MAX_EPOCH_DURATION: u32 = 48; // The following is taken from building a block and looking at the `lastArchive` value in it. // You can run the `integration_l1_publisher.test.ts` and look at the first blocks in the fixtures. pub global GENESIS_ARCHIVE_ROOT: Field = diff --git a/spartan/aztec-network/templates/boot-node.yaml b/spartan/aztec-network/templates/boot-node.yaml index 1774c16fd66..8a9e8900341 100644 --- a/spartan/aztec-network/templates/boot-node.yaml +++ b/spartan/aztec-network/templates/boot-node.yaml @@ -224,7 +224,6 @@ data: export STAKING_ASSET_CONTRACT_ADDRESS={{ .Values.bootNode.contracts.stakingAssetAddress }} export FEE_JUICE_PORTAL_CONTRACT_ADDRESS={{ .Values.bootNode.contracts.feeJuicePortalAddress }} {{- end }} -{{if not .Values.network.public }} --- # Headless service for StatefulSet DNS entries apiVersion: v1 @@ -234,16 +233,24 @@ metadata: labels: {{- include "aztec-network.labels" . | nindent 4 }} spec: + # If this is a public network, we want to expose the boot node as a LoadBalancer + {{- if .Values.network.public }} + type: LoadBalancer + {{- else }} + type: ClusterIP clusterIP: None + {{- end }} selector: {{- include "aztec-network.selectorLabels" . | nindent 4 }} app: boot-node ports: + # External load balancers cannot handle mixed TCP/UDP ports, so we only expose the node port + {{- if not .Values.network.public }} - port: {{ .Values.bootNode.service.p2pTcpPort }} name: p2p-tpc - port: {{ .Values.bootNode.service.p2pUdpPort }} name: p2p-udp protocol: UDP + {{- end }} - port: {{ .Values.bootNode.service.nodePort }} name: node -{{ end }} diff --git a/spartan/aztec-network/values/rc-1.yaml b/spartan/aztec-network/values/rc-1.yaml index 0999275cef1..1f50b6b21b0 100644 --- a/spartan/aztec-network/values/rc-1.yaml +++ b/spartan/aztec-network/values/rc-1.yaml @@ -3,7 +3,7 @@ network: aztec: slotDuration: 36 - epochDuration: 32 + epochDuration: 48 realProofs: true images: @@ -129,7 +129,7 @@ bootNode: storageSize: "100Gi" proverAgent: - replicas: 16 + replicas: 24 bb: hardwareConcurrency: 31 gke: @@ -142,7 +142,7 @@ proverAgent: bot: followChain: "PENDING" enabled: true - txIntervalSeconds: 200 + txIntervalSeconds: 300 jobs: deployL1Verifier: diff --git a/yarn-project/circuits.js/src/constants.gen.ts b/yarn-project/circuits.js/src/constants.gen.ts index 684c4093d3a..fd9eea48da4 100644 --- a/yarn-project/circuits.js/src/constants.gen.ts +++ b/yarn-project/circuits.js/src/constants.gen.ts @@ -79,7 +79,7 @@ export const INITIALIZATION_SLOT_SEPARATOR = 1000000000; export const INITIAL_L2_BLOCK_NUM = 1; export const PRIVATE_LOG_SIZE_IN_FIELDS = 18; export const BLOB_SIZE_IN_BYTES = 126976; -export const AZTEC_MAX_EPOCH_DURATION = 32; +export const AZTEC_MAX_EPOCH_DURATION = 48; export const GENESIS_ARCHIVE_ROOT = 1002640778211850180189505934749257244705296832326768971348723156503780793518n; export const FEE_JUICE_INITIAL_MINT = 200000000000000000000n; export const PUBLIC_DISPATCH_SELECTOR = 3578010381; @@ -180,8 +180,8 @@ export const KERNEL_CIRCUIT_PUBLIC_INPUTS_LENGTH = 958; export const AVM_CIRCUIT_PUBLIC_INPUTS_LENGTH = 1009; export const CONSTANT_ROLLUP_DATA_LENGTH = 13; export const BASE_OR_MERGE_PUBLIC_INPUTS_LENGTH = 31; -export const BLOCK_ROOT_OR_BLOCK_MERGE_PUBLIC_INPUTS_LENGTH = 90; -export const ROOT_ROLLUP_PUBLIC_INPUTS_LENGTH = 76; +export const BLOCK_ROOT_OR_BLOCK_MERGE_PUBLIC_INPUTS_LENGTH = 122; +export const ROOT_ROLLUP_PUBLIC_INPUTS_LENGTH = 108; export const GET_NOTES_ORACLE_RETURN_LENGTH = 674; export const NOTE_HASHES_NUM_BYTES_PER_BASE_ROLLUP = 2048; export const NULLIFIERS_NUM_BYTES_PER_BASE_ROLLUP = 2048;