@aztec-foundation/constants-codegen 6.0.0-nightly.20260911 → 6.0.0-nightly.20260912
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/inputs/constants.nr +9 -2
- package/package.json +1 -1
package/inputs/constants.nr
CHANGED
|
@@ -62,7 +62,9 @@ pub global NOTE_HASH_SUBTREE_ROOT_SIBLING_PATH_LENGTH: u32 =
|
|
|
62
62
|
pub global NULLIFIER_SUBTREE_ROOT_SIBLING_PATH_LENGTH: u32 =
|
|
63
63
|
NULLIFIER_TREE_HEIGHT - NULLIFIER_SUBTREE_HEIGHT;
|
|
64
64
|
// Cap on L1-to-L2 messages bundled into a single L2 block. One quarter of the per-checkpoint
|
|
65
|
-
// cap
|
|
65
|
+
// cap, so four blocks at full bundles are the fewest that can drain a checkpoint's whole Inbox
|
|
66
|
+
// allowance. It is a floor, not a ceiling: blocks end at arbitrary message prefixes, so a
|
|
67
|
+
// checkpoint may spread the same allowance over any number of partially filled blocks.
|
|
66
68
|
pub global MAX_L1_TO_L2_MSGS_PER_BLOCK: u32 = 256;
|
|
67
69
|
// Cap on L1-to-L2 messages consumed by a single checkpoint.
|
|
68
70
|
pub global MAX_L1_TO_L2_MSGS_PER_CHECKPOINT: u32 = 1024;
|
|
@@ -148,10 +150,13 @@ pub global PRIVATE_KERNEL_INNER_4_VK_INDEX: u32 = 71;
|
|
|
148
150
|
pub global PRIVATE_KERNEL_INNER_5_VK_INDEX: u32 = 72;
|
|
149
151
|
// VK index 73 is intentionally unallocated: it was the message-only block root, merged into the no-txs block root.
|
|
150
152
|
// The InboxParity size ladder: one VK per size, checked as an allowed set by the checkpoint root. Appended here
|
|
151
|
-
// (rather than reusing the freed 21/22) so the
|
|
153
|
+
// (rather than reusing the freed 21/22) so the ladder stays clear of the reset range. Indices are allocated in the
|
|
154
|
+
// order the rungs were added, not in size order: 4 and 16 joined the ladder after the original three.
|
|
152
155
|
pub global INBOX_PARITY_64_VK_INDEX: u32 = 74;
|
|
153
156
|
pub global INBOX_PARITY_256_VK_INDEX: u32 = 75;
|
|
154
157
|
pub global INBOX_PARITY_1024_VK_INDEX: u32 = 76;
|
|
158
|
+
pub global INBOX_PARITY_4_VK_INDEX: u32 = 77;
|
|
159
|
+
pub global INBOX_PARITY_16_VK_INDEX: u32 = 78;
|
|
155
160
|
|
|
156
161
|
// Maximum number of apps absorbed by a single private kernel iteration.
|
|
157
162
|
pub global MAX_APPS_PER_KERNEL: u32 = 5;
|
|
@@ -607,6 +612,8 @@ pub global ROOT_ROLLUP_PUBLIC_INPUTS_LENGTH: u32 = 1 /* previous_archive_root */
|
|
|
607
612
|
|
|
608
613
|
// The InboxParity size ladder: one variable-size parity proof is produced per checkpoint, and the prover picks the
|
|
609
614
|
// smallest size >= the checkpoint's real message count. The largest rung equals the per-checkpoint message cap.
|
|
615
|
+
pub global INBOX_PARITY_SIZE_XXSMALL: u32 = 4;
|
|
616
|
+
pub global INBOX_PARITY_SIZE_XSMALL: u32 = 16;
|
|
610
617
|
pub global INBOX_PARITY_SIZE_SMALL: u32 = 64;
|
|
611
618
|
pub global INBOX_PARITY_SIZE_MEDIUM: u32 = 256;
|
|
612
619
|
pub global INBOX_PARITY_SIZE_LARGE: u32 = 1024;
|
package/package.json
CHANGED