From 9341598509721b59edf4b81d245c47f3ee1e8652 Mon Sep 17 00:00:00 2001 From: Mitch Date: Wed, 11 Dec 2024 13:26:21 -0500 Subject: [PATCH] fix: remake constants --- l1-contracts/src/core/libraries/ConstantsGen.sol | 6 +++--- yarn-project/circuits.js/src/constants.gen.ts | 6 +++--- yarn-project/package.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/l1-contracts/src/core/libraries/ConstantsGen.sol b/l1-contracts/src/core/libraries/ConstantsGen.sol index 79803ccb63b6..3d5e41c5b950 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; @@ -220,8 +220,8 @@ library Constants { uint256 internal constant KERNEL_CIRCUIT_PUBLIC_INPUTS_LENGTH = 956; 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/yarn-project/circuits.js/src/constants.gen.ts b/yarn-project/circuits.js/src/constants.gen.ts index 63d2e2779d23..40282eeeebe1 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; @@ -200,8 +200,8 @@ export const KERNEL_CIRCUIT_PUBLIC_INPUTS_LENGTH = 956; export const AVM_CIRCUIT_PUBLIC_INPUTS_LENGTH = 1006; 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; diff --git a/yarn-project/package.json b/yarn-project/package.json index 436b2ac0a494..7a3e3eef7b12 100644 --- a/yarn-project/package.json +++ b/yarn-project/package.json @@ -85,4 +85,4 @@ "@noir-lang/noir_js": "file:../noir/packages/noir_js", "jest-runner@^29.7.0": "patch:jest-runner@npm%3A29.7.0#./.yarn/patches/jest-runner-npm-29.7.0-3bc9f82b58.patch" } -} \ No newline at end of file +}