From aafae272c2055b5f5e000029b142adb4e9a38c62 Mon Sep 17 00:00:00 2001 From: Maddiaa0 <47148561+Maddiaa0@users.noreply.github.com> Date: Thu, 8 Feb 2024 01:38:30 +0000 Subject: [PATCH] fix: update constants --- l1-contracts/src/core/libraries/ConstantsGen.sol | 2 +- yarn-project/circuits.js/src/constants.gen.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/l1-contracts/src/core/libraries/ConstantsGen.sol b/l1-contracts/src/core/libraries/ConstantsGen.sol index dcc37d35feba..d5fa1f4421e8 100644 --- a/l1-contracts/src/core/libraries/ConstantsGen.sol +++ b/l1-contracts/src/core/libraries/ConstantsGen.sol @@ -94,7 +94,7 @@ library Constants { uint256 internal constant PRIVATE_CALL_STACK_ITEM_LENGTH = 212; uint256 internal constant CONTRACT_STORAGE_UPDATE_REQUEST_LENGTH = 2; uint256 internal constant CONTRACT_STORAGE_READ_LENGTH = 2; - uint256 internal constant PUBLIC_CIRCUIT_PUBLIC_INPUTS_LENGTH = 203; + uint256 internal constant PUBLIC_CIRCUIT_PUBLIC_INPUTS_LENGTH = 187; uint256 internal constant GET_NOTES_ORACLE_RETURN_LENGTH = 674; uint256 internal constant COMMITMENTS_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 4657148e5392..589f01346538 100644 --- a/yarn-project/circuits.js/src/constants.gen.ts +++ b/yarn-project/circuits.js/src/constants.gen.ts @@ -80,7 +80,7 @@ export const PRIVATE_CIRCUIT_PUBLIC_INPUTS_LENGTH = 207; export const PRIVATE_CALL_STACK_ITEM_LENGTH = 212; export const CONTRACT_STORAGE_UPDATE_REQUEST_LENGTH = 2; export const CONTRACT_STORAGE_READ_LENGTH = 2; -export const PUBLIC_CIRCUIT_PUBLIC_INPUTS_LENGTH = 203; +export const PUBLIC_CIRCUIT_PUBLIC_INPUTS_LENGTH = 187; export const GET_NOTES_ORACLE_RETURN_LENGTH = 674; export const COMMITMENTS_NUM_BYTES_PER_BASE_ROLLUP = 2048; export const NULLIFIERS_NUM_BYTES_PER_BASE_ROLLUP = 2048;