File tree Expand file tree Collapse file tree
noir-projects/noir-protocol-circuits/crates/types/src
yarn-project/constants/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ namespace constants;
1515 pol MAX_L2_TO_L1_MSGS_PER_TX = 8;
1616 pol MAX_PACKED_PUBLIC_BYTECODE_SIZE_IN_FIELDS = 3000;
1717 pol MAX_PROTOCOL_CONTRACTS = 11;
18- pol CONTRACT_INSTANCE_REGISTRY_CONTRACT_ADDRESS = 1;
19- pol CONTRACT_CLASS_REGISTRY_CONTRACT_ADDRESS = 2;
18+ pol CONTRACT_CLASS_REGISTRY_CONTRACT_ADDRESS = 1;
19+ pol CONTRACT_INSTANCE_REGISTRY_CONTRACT_ADDRESS = 2;
2020 pol FEE_JUICE_ADDRESS = 3;
2121 pol FEE_JUICE_BALANCES_SLOT = 1;
2222 pol UPDATED_CLASS_IDS_SLOT = 1;
Original file line number Diff line number Diff line change 2121#define GENESIS_ARCHIVE_ROOT " 0x177a4955b31ecaafad999753938a44e526b54c5ba5d536688227f85f15cfbdf5"
2222#define MAX_PACKED_PUBLIC_BYTECODE_SIZE_IN_FIELDS 3000
2323#define MAX_PROTOCOL_CONTRACTS 11
24- #define CONTRACT_INSTANCE_REGISTRY_CONTRACT_ADDRESS 1
25- #define CONTRACT_CLASS_REGISTRY_CONTRACT_ADDRESS 2
24+ #define CONTRACT_CLASS_REGISTRY_CONTRACT_ADDRESS 1
25+ #define CONTRACT_INSTANCE_REGISTRY_CONTRACT_ADDRESS 2
2626#define FEE_JUICE_ADDRESS 3
2727#define FEE_JUICE_BALANCES_SLOT 1
2828#define UPDATED_CLASS_IDS_SLOT 1
Original file line number Diff line number Diff line change @@ -228,8 +228,8 @@ pub global CONTRACT_INSTANCE_UPDATED_MAGIC_VALUE: Field =
228228// Chosen to be a multiple of 3 (-1 to account for the separator), to optimize the poseidon2 hash.
229229pub global MAX_PROTOCOL_CONTRACTS : u32 = 11 ;
230230// Address 0 is not a protocol contract.
231- pub global CONTRACT_INSTANCE_REGISTRY_CONTRACT_ADDRESS : AztecAddress = AztecAddress ::from_field (1 );
232- pub global CONTRACT_CLASS_REGISTRY_CONTRACT_ADDRESS : AztecAddress = AztecAddress ::from_field (2 );
231+ pub global CONTRACT_CLASS_REGISTRY_CONTRACT_ADDRESS : AztecAddress = AztecAddress ::from_field (1 );
232+ pub global CONTRACT_INSTANCE_REGISTRY_CONTRACT_ADDRESS : AztecAddress = AztecAddress ::from_field (2 );
233233pub global FEE_JUICE_ADDRESS : AztecAddress = AztecAddress ::from_field (3 );
234234
235235// `SIDE_EFFECT_MASKING_ADDRESS` is used by the protocol circuits to silo the padding side effects. It's not a protocol
Original file line number Diff line number Diff line change @@ -117,8 +117,8 @@ export const CONTRACT_CLASS_REGISTRY_UTILITY_FUNCTION_BROADCASTED_MAGIC_VALUE =
117117export const CONTRACT_INSTANCE_PUBLISHED_MAGIC_VALUE = 10538216027419913765597387738085647348651103543680388181336823392401502757423n ;
118118export const CONTRACT_INSTANCE_UPDATED_MAGIC_VALUE = 20721543224513346060908370400407150739273836456436647488068002302723900469047n ;
119119export const MAX_PROTOCOL_CONTRACTS = 11 ;
120- export const CONTRACT_INSTANCE_REGISTRY_CONTRACT_ADDRESS = 1 ;
121- export const CONTRACT_CLASS_REGISTRY_CONTRACT_ADDRESS = 2 ;
120+ export const CONTRACT_CLASS_REGISTRY_CONTRACT_ADDRESS = 1 ;
121+ export const CONTRACT_INSTANCE_REGISTRY_CONTRACT_ADDRESS = 2 ;
122122export const FEE_JUICE_ADDRESS = 3 ;
123123export const SIDE_EFFECT_MASKING_ADDRESS = 19523154334483583633304358390644137470227519736821975910774528428729027989987n ;
124124export const NULL_MSG_SENDER_CONTRACT_ADDRESS = 21888242871839275222246405745257275088548364400416034343698204186575808495616n ;
You can’t perform that action at this time.
0 commit comments