@aztec/stdlib 0.87.6 → 1.0.0-nightly.20250604

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.
Files changed (220) hide show
  1. package/dest/abi/abi.d.ts +3 -0
  2. package/dest/abi/abi.d.ts.map +1 -1
  3. package/dest/abi/abi.js +38 -0
  4. package/dest/avm/avm.d.ts +1188 -25
  5. package/dest/avm/avm.d.ts.map +1 -1
  6. package/dest/avm/avm.js +31 -14
  7. package/dest/avm/avm_accumulated_data.d.ts +77 -0
  8. package/dest/avm/avm_accumulated_data.d.ts.map +1 -1
  9. package/dest/avm/avm_accumulated_data.js +67 -0
  10. package/dest/avm/avm_circuit_public_inputs.d.ts +73 -3
  11. package/dest/avm/avm_circuit_public_inputs.d.ts.map +1 -1
  12. package/dest/avm/avm_circuit_public_inputs.js +19 -9
  13. package/dest/avm/avm_proving_request.d.ts +572 -0
  14. package/dest/avm/avm_proving_request.d.ts.map +1 -1
  15. package/dest/avm/gas.d.ts +7 -0
  16. package/dest/avm/gas.d.ts.map +1 -0
  17. package/dest/avm/gas.js +13 -0
  18. package/dest/avm/index.d.ts +1 -0
  19. package/dest/avm/index.d.ts.map +1 -1
  20. package/dest/avm/index.js +1 -0
  21. package/dest/block/body.d.ts +1 -1
  22. package/dest/block/body.d.ts.map +1 -1
  23. package/dest/block/body.js +2 -2
  24. package/dest/block/index.d.ts +1 -0
  25. package/dest/block/index.d.ts.map +1 -1
  26. package/dest/block/index.js +1 -0
  27. package/dest/block/l2_block.d.ts +3 -2
  28. package/dest/block/l2_block.d.ts.map +1 -1
  29. package/dest/block/l2_block.js +10 -5
  30. package/dest/block/l2_block_source.d.ts +9 -4
  31. package/dest/block/l2_block_source.d.ts.map +1 -1
  32. package/dest/block/l2_block_source.js +1 -0
  33. package/dest/block/proposal/committee_attestation.d.ts +34 -0
  34. package/dest/block/proposal/committee_attestation.d.ts.map +1 -0
  35. package/dest/block/proposal/committee_attestation.js +59 -0
  36. package/dest/block/proposal/index.d.ts +2 -0
  37. package/dest/block/proposal/index.d.ts.map +1 -0
  38. package/dest/block/proposal/index.js +1 -0
  39. package/dest/block/published_l2_block.d.ts +99 -69
  40. package/dest/block/published_l2_block.d.ts.map +1 -1
  41. package/dest/block/published_l2_block.js +38 -12
  42. package/dest/block/test/l2_tips_store_test_suite.js +1 -1
  43. package/dest/interfaces/archiver.js +2 -2
  44. package/dest/interfaces/aztec-node.d.ts +3 -8
  45. package/dest/interfaces/aztec-node.d.ts.map +1 -1
  46. package/dest/interfaces/aztec-node.js +3 -6
  47. package/dest/interfaces/block-builder.d.ts +41 -2
  48. package/dest/interfaces/block-builder.d.ts.map +1 -1
  49. package/dest/interfaces/block-builder.js +1 -1
  50. package/dest/interfaces/epoch-prover.d.ts +2 -2
  51. package/dest/interfaces/epoch-prover.d.ts.map +1 -1
  52. package/dest/interfaces/merkle_tree_operations.d.ts +14 -0
  53. package/dest/interfaces/merkle_tree_operations.d.ts.map +1 -1
  54. package/dest/interfaces/p2p.d.ts +6 -3
  55. package/dest/interfaces/p2p.d.ts.map +1 -1
  56. package/dest/interfaces/p2p.js +1 -2
  57. package/dest/interfaces/proving-job.d.ts +576 -4
  58. package/dest/interfaces/proving-job.d.ts.map +1 -1
  59. package/dest/interfaces/proving-job.js +2 -2
  60. package/dest/interfaces/server_circuit_prover.d.ts +3 -2
  61. package/dest/interfaces/server_circuit_prover.d.ts.map +1 -1
  62. package/dest/kernel/hints/find_private_kernel_reset_dimensions.js +1 -1
  63. package/dest/kernel/hints/key_validation_hint.d.ts +2 -6
  64. package/dest/kernel/hints/key_validation_hint.d.ts.map +1 -1
  65. package/dest/kernel/hints/key_validation_hint.js +5 -7
  66. package/dest/kernel/hints/private_kernel_reset_hints.d.ts +7 -7
  67. package/dest/kernel/hints/private_kernel_reset_hints.d.ts.map +1 -1
  68. package/dest/kernel/hints/private_kernel_reset_hints.js +8 -4
  69. package/dest/kernel/hints/read_request_hints.d.ts +8 -8
  70. package/dest/kernel/hints/read_request_hints.d.ts.map +1 -1
  71. package/dest/kernel/index.d.ts +1 -0
  72. package/dest/kernel/index.d.ts.map +1 -1
  73. package/dest/kernel/index.js +1 -0
  74. package/dest/kernel/padded_side_effects.d.ts +26 -0
  75. package/dest/kernel/padded_side_effects.d.ts.map +1 -0
  76. package/dest/kernel/padded_side_effects.js +51 -0
  77. package/dest/kernel/private_kernel_data.d.ts +6 -25
  78. package/dest/kernel/private_kernel_data.d.ts.map +1 -1
  79. package/dest/kernel/private_kernel_data.js +8 -19
  80. package/dest/kernel/private_kernel_reset_circuit_private_inputs.d.ts +7 -4
  81. package/dest/kernel/private_kernel_reset_circuit_private_inputs.d.ts.map +1 -1
  82. package/dest/kernel/private_kernel_reset_circuit_private_inputs.js +10 -6
  83. package/dest/kernel/private_kernel_reset_dimensions.d.ts +10 -10
  84. package/dest/kernel/private_kernel_reset_dimensions.d.ts.map +1 -1
  85. package/dest/kernel/private_kernel_reset_dimensions.js +29 -29
  86. package/dest/kernel/private_kernel_tail_circuit_private_inputs.d.ts +10 -1
  87. package/dest/kernel/private_kernel_tail_circuit_private_inputs.d.ts.map +1 -1
  88. package/dest/kernel/private_kernel_tail_circuit_private_inputs.js +8 -3
  89. package/dest/kernel/private_to_avm_accumulated_data.d.ts +1 -0
  90. package/dest/kernel/private_to_avm_accumulated_data.d.ts.map +1 -1
  91. package/dest/kernel/private_to_avm_accumulated_data.js +4 -0
  92. package/dest/kernel/public_call_request.d.ts +54 -0
  93. package/dest/kernel/public_call_request.d.ts.map +1 -1
  94. package/dest/kernel/public_call_request.js +58 -0
  95. package/dest/logs/contract_class_log.d.ts +0 -4
  96. package/dest/logs/contract_class_log.d.ts.map +1 -1
  97. package/dest/logs/contract_class_log.js +0 -33
  98. package/dest/logs/log_with_tx_data.d.ts +13 -3
  99. package/dest/logs/log_with_tx_data.d.ts.map +1 -1
  100. package/dest/logs/log_with_tx_data.js +26 -14
  101. package/dest/logs/private_log.d.ts +1 -0
  102. package/dest/logs/private_log.d.ts.map +1 -1
  103. package/dest/logs/private_log.js +3 -0
  104. package/dest/logs/public_log.d.ts +1 -0
  105. package/dest/logs/public_log.d.ts.map +1 -1
  106. package/dest/logs/public_log.js +3 -0
  107. package/dest/logs/tx_scoped_l2_log.d.ts.map +1 -1
  108. package/dest/logs/tx_scoped_l2_log.js +1 -0
  109. package/dest/messaging/index.d.ts +1 -0
  110. package/dest/messaging/index.d.ts.map +1 -1
  111. package/dest/messaging/index.js +1 -0
  112. package/dest/messaging/l2_to_l1_membership.d.ts +11 -0
  113. package/dest/messaging/l2_to_l1_membership.d.ts.map +1 -0
  114. package/dest/messaging/l2_to_l1_membership.js +70 -0
  115. package/dest/p2p/consensus_payload.d.ts.map +1 -1
  116. package/dest/rollup/avm_proof_data.d.ts +7 -5
  117. package/dest/rollup/avm_proof_data.d.ts.map +1 -1
  118. package/dest/rollup/avm_proof_data.js +12 -4
  119. package/dest/rollup/base_rollup_hints.d.ts +4 -4
  120. package/dest/rollup/base_rollup_hints.d.ts.map +1 -1
  121. package/dest/rollup/base_rollup_hints.js +8 -8
  122. package/dest/rollup/previous_rollup_block_data.d.ts +6 -15
  123. package/dest/rollup/previous_rollup_block_data.d.ts.map +1 -1
  124. package/dest/rollup/previous_rollup_block_data.js +8 -13
  125. package/dest/rollup/previous_rollup_data.d.ts +6 -15
  126. package/dest/rollup/previous_rollup_data.d.ts.map +1 -1
  127. package/dest/rollup/previous_rollup_data.js +8 -13
  128. package/dest/rollup/private_tube_data.d.ts +3 -3
  129. package/dest/rollup/private_tube_data.d.ts.map +1 -1
  130. package/dest/rollup/private_tube_data.js +3 -3
  131. package/dest/rollup/public_tube_data.d.ts +3 -3
  132. package/dest/rollup/public_tube_data.d.ts.map +1 -1
  133. package/dest/rollup/public_tube_data.js +3 -3
  134. package/dest/rollup/root_rollup.d.ts +9 -10
  135. package/dest/rollup/root_rollup.d.ts.map +1 -1
  136. package/dest/rollup/root_rollup.js +9 -20
  137. package/dest/tests/factories.d.ts +2 -1
  138. package/dest/tests/factories.d.ts.map +1 -1
  139. package/dest/tests/factories.js +53 -28
  140. package/dest/tests/mocks.d.ts.map +1 -1
  141. package/dest/tests/mocks.js +4 -3
  142. package/dest/tx/processed_tx.d.ts.map +1 -1
  143. package/dest/tx/processed_tx.js +2 -5
  144. package/dest/tx/tx.d.ts +10 -25
  145. package/dest/tx/tx.d.ts.map +1 -1
  146. package/dest/tx/tx.js +25 -50
  147. package/dest/tx/tx_effect.d.ts +1 -1
  148. package/dest/tx/tx_effect.d.ts.map +1 -1
  149. package/dest/tx/tx_effect.js +2 -2
  150. package/dest/tx/tx_hash.d.ts +1 -0
  151. package/dest/tx/tx_hash.d.ts.map +1 -1
  152. package/dest/tx/tx_hash.js +3 -0
  153. package/dest/validators/types.d.ts +4 -0
  154. package/dest/validators/types.d.ts.map +1 -1
  155. package/dest/vks/index.d.ts +1 -1
  156. package/dest/vks/index.d.ts.map +1 -1
  157. package/dest/vks/index.js +1 -1
  158. package/dest/vks/{vk_witness_data.d.ts → vk_data.d.ts} +8 -8
  159. package/dest/vks/vk_data.d.ts.map +1 -0
  160. package/dest/vks/{vk_witness_data.js → vk_data.js} +10 -10
  161. package/package.json +7 -7
  162. package/src/abi/abi.ts +37 -0
  163. package/src/avm/avm.ts +25 -4
  164. package/src/avm/avm_accumulated_data.ts +93 -0
  165. package/src/avm/avm_circuit_public_inputs.ts +22 -2
  166. package/src/avm/gas.ts +26 -0
  167. package/src/avm/index.ts +1 -0
  168. package/src/block/body.ts +7 -2
  169. package/src/block/index.ts +1 -0
  170. package/src/block/l2_block.ts +8 -3
  171. package/src/block/l2_block_source.ts +9 -3
  172. package/src/block/proposal/committee_attestation.ts +70 -0
  173. package/src/block/proposal/index.ts +1 -0
  174. package/src/block/published_l2_block.ts +38 -24
  175. package/src/block/test/l2_tips_store_test_suite.ts +1 -1
  176. package/src/interfaces/archiver.ts +2 -2
  177. package/src/interfaces/aztec-node.ts +8 -16
  178. package/src/interfaces/block-builder.ts +49 -2
  179. package/src/interfaces/epoch-prover.ts +2 -2
  180. package/src/interfaces/merkle_tree_operations.ts +20 -0
  181. package/src/interfaces/p2p.ts +9 -4
  182. package/src/interfaces/proving-job.ts +3 -3
  183. package/src/interfaces/server_circuit_prover.ts +3 -2
  184. package/src/kernel/hints/find_private_kernel_reset_dimensions.ts +3 -3
  185. package/src/kernel/hints/key_validation_hint.ts +4 -6
  186. package/src/kernel/hints/private_kernel_reset_hints.ts +34 -43
  187. package/src/kernel/hints/read_request_hints.ts +27 -15
  188. package/src/kernel/index.ts +1 -0
  189. package/src/kernel/padded_side_effects.ts +73 -0
  190. package/src/kernel/private_kernel_data.ts +7 -29
  191. package/src/kernel/private_kernel_reset_circuit_private_inputs.ts +16 -13
  192. package/src/kernel/private_kernel_reset_dimensions.ts +27 -27
  193. package/src/kernel/private_kernel_tail_circuit_private_inputs.ts +10 -2
  194. package/src/kernel/private_to_avm_accumulated_data.ts +9 -0
  195. package/src/kernel/public_call_request.ts +66 -0
  196. package/src/logs/contract_class_log.ts +0 -36
  197. package/src/logs/log_with_tx_data.ts +26 -12
  198. package/src/logs/private_log.ts +4 -0
  199. package/src/logs/public_log.ts +4 -0
  200. package/src/logs/tx_scoped_l2_log.ts +1 -0
  201. package/src/messaging/index.ts +1 -0
  202. package/src/messaging/l2_to_l1_membership.ts +113 -0
  203. package/src/p2p/consensus_payload.ts +3 -1
  204. package/src/rollup/avm_proof_data.ts +14 -7
  205. package/src/rollup/base_rollup_hints.ts +4 -4
  206. package/src/rollup/previous_rollup_block_data.ts +6 -12
  207. package/src/rollup/previous_rollup_data.ts +6 -12
  208. package/src/rollup/private_tube_data.ts +4 -4
  209. package/src/rollup/public_tube_data.ts +4 -4
  210. package/src/rollup/root_rollup.ts +6 -19
  211. package/src/tests/factories.ts +80 -43
  212. package/src/tests/mocks.ts +6 -3
  213. package/src/tx/processed_tx.ts +4 -5
  214. package/src/tx/tx.ts +28 -54
  215. package/src/tx/tx_effect.ts +23 -5
  216. package/src/tx/tx_hash.ts +4 -0
  217. package/src/validators/types.ts +2 -0
  218. package/src/vks/index.ts +1 -1
  219. package/src/vks/{vk_witness_data.ts → vk_data.ts} +6 -6
  220. package/dest/vks/vk_witness_data.d.ts.map +0 -1
@@ -1,4 +1,4 @@
1
- import { AVM_PROOF_LENGTH_IN_FIELDS, NESTED_RECURSIVE_PROOF_LENGTH, NESTED_RECURSIVE_ROLLUP_HONK_PROOF_LENGTH, RECURSIVE_PROOF_LENGTH, TUBE_PROOF_LENGTH } from '@aztec/constants';
1
+ import { AVM_V2_PROOF_LENGTH_IN_FIELDS_PADDED, NESTED_RECURSIVE_PROOF_LENGTH, NESTED_RECURSIVE_ROLLUP_HONK_PROOF_LENGTH, RECURSIVE_PROOF_LENGTH, TUBE_PROOF_LENGTH } from '@aztec/constants';
2
2
  import type { ZodFor } from '@aztec/foundation/schemas';
3
3
  import { z } from 'zod';
4
4
  import { AvmCircuitInputs } from '../avm/avm.js';
@@ -92,25 +92,210 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
92
92
  coinbase?: any;
93
93
  feeRecipient?: any;
94
94
  }>;
95
+ gasSettings: z.ZodEffects<z.ZodObject<{
96
+ gasLimits: z.ZodEffects<z.ZodObject<{
97
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
98
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
99
+ }, "strip", z.ZodTypeAny, {
100
+ daGas: number;
101
+ l2Gas: number;
102
+ }, {
103
+ daGas: string | number | bigint;
104
+ l2Gas: string | number | bigint;
105
+ }>, import("../gas/gas.js").Gas, {
106
+ daGas: string | number | bigint;
107
+ l2Gas: string | number | bigint;
108
+ }>;
109
+ teardownGasLimits: z.ZodEffects<z.ZodObject<{
110
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
111
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
112
+ }, "strip", z.ZodTypeAny, {
113
+ daGas: number;
114
+ l2Gas: number;
115
+ }, {
116
+ daGas: string | number | bigint;
117
+ l2Gas: string | number | bigint;
118
+ }>, import("../gas/gas.js").Gas, {
119
+ daGas: string | number | bigint;
120
+ l2Gas: string | number | bigint;
121
+ }>;
122
+ maxFeesPerGas: z.ZodEffects<z.ZodObject<{
123
+ feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
124
+ feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
125
+ }, "strip", z.ZodTypeAny, {
126
+ feePerDaGas: import("@aztec/foundation/schemas").Fr;
127
+ feePerL2Gas: import("@aztec/foundation/schemas").Fr;
128
+ }, {
129
+ feePerDaGas: string;
130
+ feePerL2Gas: string;
131
+ }>, import("../gas/gas_fees.js").GasFees, {
132
+ feePerDaGas: string;
133
+ feePerL2Gas: string;
134
+ }>;
135
+ maxPriorityFeesPerGas: z.ZodEffects<z.ZodObject<{
136
+ feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
137
+ feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
138
+ }, "strip", z.ZodTypeAny, {
139
+ feePerDaGas: import("@aztec/foundation/schemas").Fr;
140
+ feePerL2Gas: import("@aztec/foundation/schemas").Fr;
141
+ }, {
142
+ feePerDaGas: string;
143
+ feePerL2Gas: string;
144
+ }>, import("../gas/gas_fees.js").GasFees, {
145
+ feePerDaGas: string;
146
+ feePerL2Gas: string;
147
+ }>;
148
+ }, "strip", z.ZodTypeAny, {
149
+ gasLimits: import("../gas/gas.js").Gas;
150
+ teardownGasLimits: import("../gas/gas.js").Gas;
151
+ maxFeesPerGas: import("../gas/gas_fees.js").GasFees;
152
+ maxPriorityFeesPerGas: import("../gas/gas_fees.js").GasFees;
153
+ }, {
154
+ gasLimits: {
155
+ daGas: string | number | bigint;
156
+ l2Gas: string | number | bigint;
157
+ };
158
+ teardownGasLimits: {
159
+ daGas: string | number | bigint;
160
+ l2Gas: string | number | bigint;
161
+ };
162
+ maxFeesPerGas: {
163
+ feePerDaGas: string;
164
+ feePerL2Gas: string;
165
+ };
166
+ maxPriorityFeesPerGas: {
167
+ feePerDaGas: string;
168
+ feePerL2Gas: string;
169
+ };
170
+ }>, import("../gas/gas_settings.js").GasSettings, {
171
+ gasLimits: {
172
+ daGas: string | number | bigint;
173
+ l2Gas: string | number | bigint;
174
+ };
175
+ teardownGasLimits: {
176
+ daGas: string | number | bigint;
177
+ l2Gas: string | number | bigint;
178
+ };
179
+ maxFeesPerGas: {
180
+ feePerDaGas: string;
181
+ feePerL2Gas: string;
182
+ };
183
+ maxPriorityFeesPerGas: {
184
+ feePerDaGas: string;
185
+ feePerL2Gas: string;
186
+ };
187
+ }>;
95
188
  nonRevertibleAccumulatedData: z.ZodObject<{
96
189
  noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
97
190
  nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
191
+ l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
192
+ message: z.ZodEffects<z.ZodObject<{
193
+ recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
194
+ content: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
195
+ counter: z.ZodNumber;
196
+ }, "strip", z.ZodTypeAny, {
197
+ counter: number;
198
+ recipient: import("@aztec/foundation/schemas").EthAddress;
199
+ content: import("@aztec/foundation/schemas").Fr;
200
+ }, {
201
+ counter: number;
202
+ recipient: string;
203
+ content: string;
204
+ }>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
205
+ counter: number;
206
+ recipient: string;
207
+ content: string;
208
+ }>;
209
+ contractAddress: ZodFor<import("../aztec-address/index.js").AztecAddress>;
210
+ }, "strip", z.ZodTypeAny, {
211
+ message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
212
+ contractAddress: import("../aztec-address/index.js").AztecAddress;
213
+ }, {
214
+ message: {
215
+ counter: number;
216
+ recipient: string;
217
+ content: string;
218
+ };
219
+ contractAddress?: any;
220
+ }>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
221
+ message: {
222
+ counter: number;
223
+ recipient: string;
224
+ content: string;
225
+ };
226
+ contractAddress?: any;
227
+ }>, "many">;
98
228
  }, "strip", z.ZodTypeAny, {
99
229
  noteHashes: import("@aztec/foundation/schemas").Fr[];
100
230
  nullifiers: import("@aztec/foundation/schemas").Fr[];
231
+ l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
101
232
  }, {
102
233
  noteHashes: string[];
103
234
  nullifiers: string[];
235
+ l2ToL1Messages: {
236
+ message: {
237
+ counter: number;
238
+ recipient: string;
239
+ content: string;
240
+ };
241
+ contractAddress?: any;
242
+ }[];
104
243
  }>;
105
244
  revertibleAccumulatedData: z.ZodObject<{
106
245
  noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
107
246
  nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
247
+ l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
248
+ message: z.ZodEffects<z.ZodObject<{
249
+ recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
250
+ content: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
251
+ counter: z.ZodNumber;
252
+ }, "strip", z.ZodTypeAny, {
253
+ counter: number;
254
+ recipient: import("@aztec/foundation/schemas").EthAddress;
255
+ content: import("@aztec/foundation/schemas").Fr;
256
+ }, {
257
+ counter: number;
258
+ recipient: string;
259
+ content: string;
260
+ }>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
261
+ counter: number;
262
+ recipient: string;
263
+ content: string;
264
+ }>;
265
+ contractAddress: ZodFor<import("../aztec-address/index.js").AztecAddress>;
266
+ }, "strip", z.ZodTypeAny, {
267
+ message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
268
+ contractAddress: import("../aztec-address/index.js").AztecAddress;
269
+ }, {
270
+ message: {
271
+ counter: number;
272
+ recipient: string;
273
+ content: string;
274
+ };
275
+ contractAddress?: any;
276
+ }>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
277
+ message: {
278
+ counter: number;
279
+ recipient: string;
280
+ content: string;
281
+ };
282
+ contractAddress?: any;
283
+ }>, "many">;
108
284
  }, "strip", z.ZodTypeAny, {
109
285
  noteHashes: import("@aztec/foundation/schemas").Fr[];
110
286
  nullifiers: import("@aztec/foundation/schemas").Fr[];
287
+ l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
111
288
  }, {
112
289
  noteHashes: string[];
113
290
  nullifiers: string[];
291
+ l2ToL1Messages: {
292
+ message: {
293
+ counter: number;
294
+ recipient: string;
295
+ content: string;
296
+ };
297
+ contractAddress?: any;
298
+ }[];
114
299
  }>;
115
300
  setupEnqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
116
301
  msgSender: ZodFor<import("../aztec-address/index.js").AztecAddress>;
@@ -175,20 +360,37 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
175
360
  contractAddress?: any;
176
361
  msgSender?: any;
177
362
  }>>;
363
+ gasUsedByPrivate: z.ZodEffects<z.ZodObject<{
364
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
365
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
366
+ }, "strip", z.ZodTypeAny, {
367
+ daGas: number;
368
+ l2Gas: number;
369
+ }, {
370
+ daGas: string | number | bigint;
371
+ l2Gas: string | number | bigint;
372
+ }>, import("../gas/gas.js").Gas, {
373
+ daGas: string | number | bigint;
374
+ l2Gas: string | number | bigint;
375
+ }>;
178
376
  }, "strip", z.ZodTypeAny, {
179
377
  hash: string;
180
378
  globalVariables: import("../tx/global_variables.js").GlobalVariables;
379
+ gasSettings: import("../gas/gas_settings.js").GasSettings;
181
380
  nonRevertibleAccumulatedData: {
182
381
  noteHashes: import("@aztec/foundation/schemas").Fr[];
183
382
  nullifiers: import("@aztec/foundation/schemas").Fr[];
383
+ l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
184
384
  };
185
385
  revertibleAccumulatedData: {
186
386
  noteHashes: import("@aztec/foundation/schemas").Fr[];
187
387
  nullifiers: import("@aztec/foundation/schemas").Fr[];
388
+ l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
188
389
  };
189
390
  setupEnqueuedCalls: import("../avm/avm.js").AvmEnqueuedCallHint[];
190
391
  appLogicEnqueuedCalls: import("../avm/avm.js").AvmEnqueuedCallHint[];
191
392
  teardownEnqueuedCall: import("../avm/avm.js").AvmEnqueuedCallHint | null;
393
+ gasUsedByPrivate: import("../gas/gas.js").Gas;
192
394
  }, {
193
395
  hash: string;
194
396
  globalVariables: {
@@ -204,13 +406,47 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
204
406
  coinbase?: any;
205
407
  feeRecipient?: any;
206
408
  };
409
+ gasSettings: {
410
+ gasLimits: {
411
+ daGas: string | number | bigint;
412
+ l2Gas: string | number | bigint;
413
+ };
414
+ teardownGasLimits: {
415
+ daGas: string | number | bigint;
416
+ l2Gas: string | number | bigint;
417
+ };
418
+ maxFeesPerGas: {
419
+ feePerDaGas: string;
420
+ feePerL2Gas: string;
421
+ };
422
+ maxPriorityFeesPerGas: {
423
+ feePerDaGas: string;
424
+ feePerL2Gas: string;
425
+ };
426
+ };
207
427
  nonRevertibleAccumulatedData: {
208
428
  noteHashes: string[];
209
429
  nullifiers: string[];
430
+ l2ToL1Messages: {
431
+ message: {
432
+ counter: number;
433
+ recipient: string;
434
+ content: string;
435
+ };
436
+ contractAddress?: any;
437
+ }[];
210
438
  };
211
439
  revertibleAccumulatedData: {
212
440
  noteHashes: string[];
213
441
  nullifiers: string[];
442
+ l2ToL1Messages: {
443
+ message: {
444
+ counter: number;
445
+ recipient: string;
446
+ content: string;
447
+ };
448
+ contractAddress?: any;
449
+ }[];
214
450
  };
215
451
  setupEnqueuedCalls: {
216
452
  isStaticCall: boolean;
@@ -230,6 +466,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
230
466
  contractAddress?: any;
231
467
  msgSender?: any;
232
468
  } | null;
469
+ gasUsedByPrivate: {
470
+ daGas: string | number | bigint;
471
+ l2Gas: string | number | bigint;
472
+ };
233
473
  }>, import("../avm/avm.js").AvmTxHint, {
234
474
  hash: string;
235
475
  globalVariables: {
@@ -245,13 +485,47 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
245
485
  coinbase?: any;
246
486
  feeRecipient?: any;
247
487
  };
488
+ gasSettings: {
489
+ gasLimits: {
490
+ daGas: string | number | bigint;
491
+ l2Gas: string | number | bigint;
492
+ };
493
+ teardownGasLimits: {
494
+ daGas: string | number | bigint;
495
+ l2Gas: string | number | bigint;
496
+ };
497
+ maxFeesPerGas: {
498
+ feePerDaGas: string;
499
+ feePerL2Gas: string;
500
+ };
501
+ maxPriorityFeesPerGas: {
502
+ feePerDaGas: string;
503
+ feePerL2Gas: string;
504
+ };
505
+ };
248
506
  nonRevertibleAccumulatedData: {
249
507
  noteHashes: string[];
250
508
  nullifiers: string[];
509
+ l2ToL1Messages: {
510
+ message: {
511
+ counter: number;
512
+ recipient: string;
513
+ content: string;
514
+ };
515
+ contractAddress?: any;
516
+ }[];
251
517
  };
252
518
  revertibleAccumulatedData: {
253
519
  noteHashes: string[];
254
520
  nullifiers: string[];
521
+ l2ToL1Messages: {
522
+ message: {
523
+ counter: number;
524
+ recipient: string;
525
+ content: string;
526
+ };
527
+ contractAddress?: any;
528
+ }[];
255
529
  };
256
530
  setupEnqueuedCalls: {
257
531
  isStaticCall: boolean;
@@ -271,6 +545,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
271
545
  contractAddress?: any;
272
546
  msgSender?: any;
273
547
  } | null;
548
+ gasUsedByPrivate: {
549
+ daGas: string | number | bigint;
550
+ l2Gas: string | number | bigint;
551
+ };
274
552
  }>;
275
553
  contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
276
554
  address: ZodFor<import("../aztec-address/index.js").AztecAddress>;
@@ -2030,13 +2308,47 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
2030
2308
  coinbase?: any;
2031
2309
  feeRecipient?: any;
2032
2310
  };
2311
+ gasSettings: {
2312
+ gasLimits: {
2313
+ daGas: string | number | bigint;
2314
+ l2Gas: string | number | bigint;
2315
+ };
2316
+ teardownGasLimits: {
2317
+ daGas: string | number | bigint;
2318
+ l2Gas: string | number | bigint;
2319
+ };
2320
+ maxFeesPerGas: {
2321
+ feePerDaGas: string;
2322
+ feePerL2Gas: string;
2323
+ };
2324
+ maxPriorityFeesPerGas: {
2325
+ feePerDaGas: string;
2326
+ feePerL2Gas: string;
2327
+ };
2328
+ };
2033
2329
  nonRevertibleAccumulatedData: {
2034
2330
  noteHashes: string[];
2035
2331
  nullifiers: string[];
2332
+ l2ToL1Messages: {
2333
+ message: {
2334
+ counter: number;
2335
+ recipient: string;
2336
+ content: string;
2337
+ };
2338
+ contractAddress?: any;
2339
+ }[];
2036
2340
  };
2037
2341
  revertibleAccumulatedData: {
2038
2342
  noteHashes: string[];
2039
2343
  nullifiers: string[];
2344
+ l2ToL1Messages: {
2345
+ message: {
2346
+ counter: number;
2347
+ recipient: string;
2348
+ content: string;
2349
+ };
2350
+ contractAddress?: any;
2351
+ }[];
2040
2352
  };
2041
2353
  setupEnqueuedCalls: {
2042
2354
  isStaticCall: boolean;
@@ -2056,6 +2368,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
2056
2368
  contractAddress?: any;
2057
2369
  msgSender?: any;
2058
2370
  } | null;
2371
+ gasUsedByPrivate: {
2372
+ daGas: string | number | bigint;
2373
+ l2Gas: string | number | bigint;
2374
+ };
2059
2375
  };
2060
2376
  contractInstances: {
2061
2377
  salt: string;
@@ -2357,13 +2673,47 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
2357
2673
  coinbase?: any;
2358
2674
  feeRecipient?: any;
2359
2675
  };
2676
+ gasSettings: {
2677
+ gasLimits: {
2678
+ daGas: string | number | bigint;
2679
+ l2Gas: string | number | bigint;
2680
+ };
2681
+ teardownGasLimits: {
2682
+ daGas: string | number | bigint;
2683
+ l2Gas: string | number | bigint;
2684
+ };
2685
+ maxFeesPerGas: {
2686
+ feePerDaGas: string;
2687
+ feePerL2Gas: string;
2688
+ };
2689
+ maxPriorityFeesPerGas: {
2690
+ feePerDaGas: string;
2691
+ feePerL2Gas: string;
2692
+ };
2693
+ };
2360
2694
  nonRevertibleAccumulatedData: {
2361
2695
  noteHashes: string[];
2362
2696
  nullifiers: string[];
2697
+ l2ToL1Messages: {
2698
+ message: {
2699
+ counter: number;
2700
+ recipient: string;
2701
+ content: string;
2702
+ };
2703
+ contractAddress?: any;
2704
+ }[];
2363
2705
  };
2364
2706
  revertibleAccumulatedData: {
2365
2707
  noteHashes: string[];
2366
2708
  nullifiers: string[];
2709
+ l2ToL1Messages: {
2710
+ message: {
2711
+ counter: number;
2712
+ recipient: string;
2713
+ content: string;
2714
+ };
2715
+ contractAddress?: any;
2716
+ }[];
2367
2717
  };
2368
2718
  setupEnqueuedCalls: {
2369
2719
  isStaticCall: boolean;
@@ -2383,6 +2733,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
2383
2733
  contractAddress?: any;
2384
2734
  msgSender?: any;
2385
2735
  } | null;
2736
+ gasUsedByPrivate: {
2737
+ daGas: string | number | bigint;
2738
+ l2Gas: string | number | bigint;
2739
+ };
2386
2740
  };
2387
2741
  contractInstances: {
2388
2742
  salt: string;
@@ -2925,6 +3279,23 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
2925
3279
  };
2926
3280
  }>;
2927
3281
  feePayer: ZodFor<import("../aztec-address/index.js").AztecAddress>;
3282
+ publicCallRequestArrayLengths: z.ZodEffects<z.ZodObject<{
3283
+ setupCalls: z.ZodNumber;
3284
+ appLogicCalls: z.ZodNumber;
3285
+ teardownCall: z.ZodBoolean;
3286
+ }, "strip", z.ZodTypeAny, {
3287
+ setupCalls: number;
3288
+ appLogicCalls: number;
3289
+ teardownCall: boolean;
3290
+ }, {
3291
+ setupCalls: number;
3292
+ appLogicCalls: number;
3293
+ teardownCall: boolean;
3294
+ }>, import("../kernel/public_call_request.js").PublicCallRequestArrayLengths, {
3295
+ setupCalls: number;
3296
+ appLogicCalls: number;
3297
+ teardownCall: boolean;
3298
+ }>;
2928
3299
  publicSetupCallRequests: z.ZodArray<z.ZodEffects<z.ZodObject<{
2929
3300
  msgSender: ZodFor<import("../aztec-address/index.js").AztecAddress>;
2930
3301
  contractAddress: ZodFor<import("../aztec-address/index.js").AztecAddress>;
@@ -3262,6 +3633,31 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3262
3633
  daGas: string | number | bigint;
3263
3634
  l2Gas: string | number | bigint;
3264
3635
  }>;
3636
+ accumulatedDataArrayLengths: z.ZodEffects<z.ZodObject<{
3637
+ noteHashes: z.ZodNumber;
3638
+ nullifiers: z.ZodNumber;
3639
+ l2ToL1Msgs: z.ZodNumber;
3640
+ publicLogs: z.ZodNumber;
3641
+ publicDataWrites: z.ZodNumber;
3642
+ }, "strip", z.ZodTypeAny, {
3643
+ noteHashes: number;
3644
+ nullifiers: number;
3645
+ l2ToL1Msgs: number;
3646
+ publicLogs: number;
3647
+ publicDataWrites: number;
3648
+ }, {
3649
+ noteHashes: number;
3650
+ nullifiers: number;
3651
+ l2ToL1Msgs: number;
3652
+ publicLogs: number;
3653
+ publicDataWrites: number;
3654
+ }>, import("../avm/avm_accumulated_data.js").AvmAccumulatedDataArrayLengths, {
3655
+ noteHashes: number;
3656
+ nullifiers: number;
3657
+ l2ToL1Msgs: number;
3658
+ publicLogs: number;
3659
+ publicDataWrites: number;
3660
+ }>;
3265
3661
  accumulatedData: z.ZodEffects<z.ZodObject<{
3266
3662
  noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
3267
3663
  nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
@@ -3365,6 +3761,7 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3365
3761
  feePayer: import("../aztec-address/index.js").AztecAddress;
3366
3762
  startTreeSnapshots: import("../tx/tree_snapshots.js").TreeSnapshots;
3367
3763
  startGasUsed: import("../gas/gas.js").Gas;
3764
+ publicCallRequestArrayLengths: import("../kernel/public_call_request.js").PublicCallRequestArrayLengths;
3368
3765
  publicSetupCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
3369
3766
  publicAppLogicCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
3370
3767
  previousNonRevertibleAccumulatedDataArrayLengths: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedDataArrayLengths;
@@ -3373,6 +3770,7 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3373
3770
  previousRevertibleAccumulatedData: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData;
3374
3771
  endTreeSnapshots: import("../tx/tree_snapshots.js").TreeSnapshots;
3375
3772
  endGasUsed: import("../gas/gas.js").Gas;
3773
+ accumulatedDataArrayLengths: import("../avm/avm_accumulated_data.js").AvmAccumulatedDataArrayLengths;
3376
3774
  accumulatedData: import("../avm/avm_accumulated_data.js").AvmAccumulatedData;
3377
3775
  reverted: boolean;
3378
3776
  }, {
@@ -3436,6 +3834,11 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3436
3834
  daGas: string | number | bigint;
3437
3835
  l2Gas: string | number | bigint;
3438
3836
  };
3837
+ publicCallRequestArrayLengths: {
3838
+ setupCalls: number;
3839
+ appLogicCalls: number;
3840
+ teardownCall: boolean;
3841
+ };
3439
3842
  publicSetupCallRequests: {
3440
3843
  isStaticCall: boolean;
3441
3844
  calldataHash: string;
@@ -3504,6 +3907,13 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3504
3907
  daGas: string | number | bigint;
3505
3908
  l2Gas: string | number | bigint;
3506
3909
  };
3910
+ accumulatedDataArrayLengths: {
3911
+ noteHashes: number;
3912
+ nullifiers: number;
3913
+ l2ToL1Msgs: number;
3914
+ publicLogs: number;
3915
+ publicDataWrites: number;
3916
+ };
3507
3917
  accumulatedData: {
3508
3918
  noteHashes: string[];
3509
3919
  nullifiers: string[];
@@ -3584,6 +3994,11 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3584
3994
  daGas: string | number | bigint;
3585
3995
  l2Gas: string | number | bigint;
3586
3996
  };
3997
+ publicCallRequestArrayLengths: {
3998
+ setupCalls: number;
3999
+ appLogicCalls: number;
4000
+ teardownCall: boolean;
4001
+ };
3587
4002
  publicSetupCallRequests: {
3588
4003
  isStaticCall: boolean;
3589
4004
  calldataHash: string;
@@ -3652,6 +4067,13 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3652
4067
  daGas: string | number | bigint;
3653
4068
  l2Gas: string | number | bigint;
3654
4069
  };
4070
+ accumulatedDataArrayLengths: {
4071
+ noteHashes: number;
4072
+ nullifiers: number;
4073
+ l2ToL1Msgs: number;
4074
+ publicLogs: number;
4075
+ publicDataWrites: number;
4076
+ };
3655
4077
  accumulatedData: {
3656
4078
  noteHashes: string[];
3657
4079
  nullifiers: string[];
@@ -3737,6 +4159,11 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3737
4159
  daGas: string | number | bigint;
3738
4160
  l2Gas: string | number | bigint;
3739
4161
  };
4162
+ publicCallRequestArrayLengths: {
4163
+ setupCalls: number;
4164
+ appLogicCalls: number;
4165
+ teardownCall: boolean;
4166
+ };
3740
4167
  publicSetupCallRequests: {
3741
4168
  isStaticCall: boolean;
3742
4169
  calldataHash: string;
@@ -3805,6 +4232,13 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3805
4232
  daGas: string | number | bigint;
3806
4233
  l2Gas: string | number | bigint;
3807
4234
  };
4235
+ accumulatedDataArrayLengths: {
4236
+ noteHashes: number;
4237
+ nullifiers: number;
4238
+ l2ToL1Msgs: number;
4239
+ publicLogs: number;
4240
+ publicDataWrites: number;
4241
+ };
3808
4242
  accumulatedData: {
3809
4243
  noteHashes: string[];
3810
4244
  nullifiers: string[];
@@ -3841,13 +4275,47 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3841
4275
  coinbase?: any;
3842
4276
  feeRecipient?: any;
3843
4277
  };
4278
+ gasSettings: {
4279
+ gasLimits: {
4280
+ daGas: string | number | bigint;
4281
+ l2Gas: string | number | bigint;
4282
+ };
4283
+ teardownGasLimits: {
4284
+ daGas: string | number | bigint;
4285
+ l2Gas: string | number | bigint;
4286
+ };
4287
+ maxFeesPerGas: {
4288
+ feePerDaGas: string;
4289
+ feePerL2Gas: string;
4290
+ };
4291
+ maxPriorityFeesPerGas: {
4292
+ feePerDaGas: string;
4293
+ feePerL2Gas: string;
4294
+ };
4295
+ };
3844
4296
  nonRevertibleAccumulatedData: {
3845
4297
  noteHashes: string[];
3846
4298
  nullifiers: string[];
4299
+ l2ToL1Messages: {
4300
+ message: {
4301
+ counter: number;
4302
+ recipient: string;
4303
+ content: string;
4304
+ };
4305
+ contractAddress?: any;
4306
+ }[];
3847
4307
  };
3848
4308
  revertibleAccumulatedData: {
3849
4309
  noteHashes: string[];
3850
4310
  nullifiers: string[];
4311
+ l2ToL1Messages: {
4312
+ message: {
4313
+ counter: number;
4314
+ recipient: string;
4315
+ content: string;
4316
+ };
4317
+ contractAddress?: any;
4318
+ }[];
3851
4319
  };
3852
4320
  setupEnqueuedCalls: {
3853
4321
  isStaticCall: boolean;
@@ -3867,6 +4335,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3867
4335
  contractAddress?: any;
3868
4336
  msgSender?: any;
3869
4337
  } | null;
4338
+ gasUsedByPrivate: {
4339
+ daGas: string | number | bigint;
4340
+ l2Gas: string | number | bigint;
4341
+ };
3870
4342
  };
3871
4343
  contractInstances: {
3872
4344
  salt: string;
@@ -4215,6 +4687,11 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4215
4687
  daGas: string | number | bigint;
4216
4688
  l2Gas: string | number | bigint;
4217
4689
  };
4690
+ publicCallRequestArrayLengths: {
4691
+ setupCalls: number;
4692
+ appLogicCalls: number;
4693
+ teardownCall: boolean;
4694
+ };
4218
4695
  publicSetupCallRequests: {
4219
4696
  isStaticCall: boolean;
4220
4697
  calldataHash: string;
@@ -4283,6 +4760,13 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4283
4760
  daGas: string | number | bigint;
4284
4761
  l2Gas: string | number | bigint;
4285
4762
  };
4763
+ accumulatedDataArrayLengths: {
4764
+ noteHashes: number;
4765
+ nullifiers: number;
4766
+ l2ToL1Msgs: number;
4767
+ publicLogs: number;
4768
+ publicDataWrites: number;
4769
+ };
4286
4770
  accumulatedData: {
4287
4771
  noteHashes: string[];
4288
4772
  nullifiers: string[];
@@ -4319,13 +4803,47 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4319
4803
  coinbase?: any;
4320
4804
  feeRecipient?: any;
4321
4805
  };
4806
+ gasSettings: {
4807
+ gasLimits: {
4808
+ daGas: string | number | bigint;
4809
+ l2Gas: string | number | bigint;
4810
+ };
4811
+ teardownGasLimits: {
4812
+ daGas: string | number | bigint;
4813
+ l2Gas: string | number | bigint;
4814
+ };
4815
+ maxFeesPerGas: {
4816
+ feePerDaGas: string;
4817
+ feePerL2Gas: string;
4818
+ };
4819
+ maxPriorityFeesPerGas: {
4820
+ feePerDaGas: string;
4821
+ feePerL2Gas: string;
4822
+ };
4823
+ };
4322
4824
  nonRevertibleAccumulatedData: {
4323
4825
  noteHashes: string[];
4324
4826
  nullifiers: string[];
4827
+ l2ToL1Messages: {
4828
+ message: {
4829
+ counter: number;
4830
+ recipient: string;
4831
+ content: string;
4832
+ };
4833
+ contractAddress?: any;
4834
+ }[];
4325
4835
  };
4326
4836
  revertibleAccumulatedData: {
4327
4837
  noteHashes: string[];
4328
4838
  nullifiers: string[];
4839
+ l2ToL1Messages: {
4840
+ message: {
4841
+ counter: number;
4842
+ recipient: string;
4843
+ content: string;
4844
+ };
4845
+ contractAddress?: any;
4846
+ }[];
4329
4847
  };
4330
4848
  setupEnqueuedCalls: {
4331
4849
  isStaticCall: boolean;
@@ -4345,6 +4863,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4345
4863
  contractAddress?: any;
4346
4864
  msgSender?: any;
4347
4865
  } | null;
4866
+ gasUsedByPrivate: {
4867
+ daGas: string | number | bigint;
4868
+ l2Gas: string | number | bigint;
4869
+ };
4348
4870
  };
4349
4871
  contractInstances: {
4350
4872
  salt: string;
@@ -4699,6 +5221,11 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4699
5221
  daGas: string | number | bigint;
4700
5222
  l2Gas: string | number | bigint;
4701
5223
  };
5224
+ publicCallRequestArrayLengths: {
5225
+ setupCalls: number;
5226
+ appLogicCalls: number;
5227
+ teardownCall: boolean;
5228
+ };
4702
5229
  publicSetupCallRequests: {
4703
5230
  isStaticCall: boolean;
4704
5231
  calldataHash: string;
@@ -4767,6 +5294,13 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4767
5294
  daGas: string | number | bigint;
4768
5295
  l2Gas: string | number | bigint;
4769
5296
  };
5297
+ accumulatedDataArrayLengths: {
5298
+ noteHashes: number;
5299
+ nullifiers: number;
5300
+ l2ToL1Msgs: number;
5301
+ publicLogs: number;
5302
+ publicDataWrites: number;
5303
+ };
4770
5304
  accumulatedData: {
4771
5305
  noteHashes: string[];
4772
5306
  nullifiers: string[];
@@ -4803,13 +5337,47 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4803
5337
  coinbase?: any;
4804
5338
  feeRecipient?: any;
4805
5339
  };
5340
+ gasSettings: {
5341
+ gasLimits: {
5342
+ daGas: string | number | bigint;
5343
+ l2Gas: string | number | bigint;
5344
+ };
5345
+ teardownGasLimits: {
5346
+ daGas: string | number | bigint;
5347
+ l2Gas: string | number | bigint;
5348
+ };
5349
+ maxFeesPerGas: {
5350
+ feePerDaGas: string;
5351
+ feePerL2Gas: string;
5352
+ };
5353
+ maxPriorityFeesPerGas: {
5354
+ feePerDaGas: string;
5355
+ feePerL2Gas: string;
5356
+ };
5357
+ };
4806
5358
  nonRevertibleAccumulatedData: {
4807
5359
  noteHashes: string[];
4808
5360
  nullifiers: string[];
5361
+ l2ToL1Messages: {
5362
+ message: {
5363
+ counter: number;
5364
+ recipient: string;
5365
+ content: string;
5366
+ };
5367
+ contractAddress?: any;
5368
+ }[];
4809
5369
  };
4810
5370
  revertibleAccumulatedData: {
4811
5371
  noteHashes: string[];
4812
5372
  nullifiers: string[];
5373
+ l2ToL1Messages: {
5374
+ message: {
5375
+ counter: number;
5376
+ recipient: string;
5377
+ content: string;
5378
+ };
5379
+ contractAddress?: any;
5380
+ }[];
4813
5381
  };
4814
5382
  setupEnqueuedCalls: {
4815
5383
  isStaticCall: boolean;
@@ -4829,6 +5397,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4829
5397
  contractAddress?: any;
4830
5398
  msgSender?: any;
4831
5399
  } | null;
5400
+ gasUsedByPrivate: {
5401
+ daGas: string | number | bigint;
5402
+ l2Gas: string | number | bigint;
5403
+ };
4832
5404
  };
4833
5405
  contractInstances: {
4834
5406
  salt: string;
@@ -5234,10 +5806,10 @@ export type ProvingJobInputsMap = {
5234
5806
  };
5235
5807
  export declare const ProvingJobResult: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5236
5808
  type: z.ZodLiteral<ProvingRequestType.PUBLIC_VM>;
5237
- result: ZodFor<ProofAndVerificationKey<4154>>;
5809
+ result: ZodFor<ProofAndVerificationKey<20000>>;
5238
5810
  }, "strip", z.ZodTypeAny, {
5239
5811
  type: ProvingRequestType.PUBLIC_VM;
5240
- result: ProofAndVerificationKey<4154>;
5812
+ result: ProofAndVerificationKey<20000>;
5241
5813
  }, {
5242
5814
  type: ProvingRequestType.PUBLIC_VM;
5243
5815
  result?: any;
@@ -5343,7 +5915,7 @@ export declare const ProvingJobResult: z.ZodDiscriminatedUnion<"type", [z.ZodObj
5343
5915
  }>]>;
5344
5916
  export type ProvingJobResult = z.infer<typeof ProvingJobResult>;
5345
5917
  export type ProvingJobResultsMap = {
5346
- [ProvingRequestType.PUBLIC_VM]: ProofAndVerificationKey<typeof AVM_PROOF_LENGTH_IN_FIELDS>;
5918
+ [ProvingRequestType.PUBLIC_VM]: ProofAndVerificationKey<typeof AVM_V2_PROOF_LENGTH_IN_FIELDS_PADDED>;
5347
5919
  [ProvingRequestType.PRIVATE_BASE_ROLLUP]: PublicInputsAndRecursiveProof<BaseOrMergeRollupPublicInputs, typeof NESTED_RECURSIVE_ROLLUP_HONK_PROOF_LENGTH>;
5348
5920
  [ProvingRequestType.PUBLIC_BASE_ROLLUP]: PublicInputsAndRecursiveProof<BaseOrMergeRollupPublicInputs, typeof NESTED_RECURSIVE_ROLLUP_HONK_PROOF_LENGTH>;
5349
5921
  [ProvingRequestType.MERGE_ROLLUP]: PublicInputsAndRecursiveProof<BaseOrMergeRollupPublicInputs, typeof NESTED_RECURSIVE_ROLLUP_HONK_PROOF_LENGTH>;