@aztec/stdlib 0.87.7 → 1.0.0-nightly.20250605

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 (224) 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 +1318 -33
  5. package/dest/avm/avm.d.ts.map +1 -1
  6. package/dest/avm/avm.js +37 -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 +103 -10
  11. package/dest/avm/avm_circuit_public_inputs.d.ts.map +1 -1
  12. package/dest/avm/avm_circuit_public_inputs.js +25 -10
  13. package/dest/avm/avm_proving_request.d.ts +648 -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/fees/transaction_fee.d.ts +5 -0
  44. package/dest/fees/transaction_fee.d.ts.map +1 -1
  45. package/dest/fees/transaction_fee.js +10 -3
  46. package/dest/interfaces/archiver.js +2 -2
  47. package/dest/interfaces/aztec-node.d.ts +3 -8
  48. package/dest/interfaces/aztec-node.d.ts.map +1 -1
  49. package/dest/interfaces/aztec-node.js +3 -6
  50. package/dest/interfaces/block-builder.d.ts +41 -2
  51. package/dest/interfaces/block-builder.d.ts.map +1 -1
  52. package/dest/interfaces/block-builder.js +1 -1
  53. package/dest/interfaces/epoch-prover.d.ts +2 -2
  54. package/dest/interfaces/epoch-prover.d.ts.map +1 -1
  55. package/dest/interfaces/merkle_tree_operations.d.ts +14 -0
  56. package/dest/interfaces/merkle_tree_operations.d.ts.map +1 -1
  57. package/dest/interfaces/p2p.d.ts +6 -3
  58. package/dest/interfaces/p2p.d.ts.map +1 -1
  59. package/dest/interfaces/p2p.js +1 -2
  60. package/dest/interfaces/proving-job.d.ts +652 -4
  61. package/dest/interfaces/proving-job.d.ts.map +1 -1
  62. package/dest/interfaces/proving-job.js +2 -2
  63. package/dest/interfaces/server_circuit_prover.d.ts +3 -2
  64. package/dest/interfaces/server_circuit_prover.d.ts.map +1 -1
  65. package/dest/kernel/hints/find_private_kernel_reset_dimensions.js +1 -1
  66. package/dest/kernel/hints/key_validation_hint.d.ts +2 -6
  67. package/dest/kernel/hints/key_validation_hint.d.ts.map +1 -1
  68. package/dest/kernel/hints/key_validation_hint.js +5 -7
  69. package/dest/kernel/hints/private_kernel_reset_hints.d.ts +7 -7
  70. package/dest/kernel/hints/private_kernel_reset_hints.d.ts.map +1 -1
  71. package/dest/kernel/hints/private_kernel_reset_hints.js +8 -4
  72. package/dest/kernel/hints/read_request_hints.d.ts +8 -8
  73. package/dest/kernel/hints/read_request_hints.d.ts.map +1 -1
  74. package/dest/kernel/index.d.ts +1 -0
  75. package/dest/kernel/index.d.ts.map +1 -1
  76. package/dest/kernel/index.js +1 -0
  77. package/dest/kernel/padded_side_effects.d.ts +26 -0
  78. package/dest/kernel/padded_side_effects.d.ts.map +1 -0
  79. package/dest/kernel/padded_side_effects.js +51 -0
  80. package/dest/kernel/private_kernel_data.d.ts +6 -25
  81. package/dest/kernel/private_kernel_data.d.ts.map +1 -1
  82. package/dest/kernel/private_kernel_data.js +8 -19
  83. package/dest/kernel/private_kernel_reset_circuit_private_inputs.d.ts +7 -4
  84. package/dest/kernel/private_kernel_reset_circuit_private_inputs.d.ts.map +1 -1
  85. package/dest/kernel/private_kernel_reset_circuit_private_inputs.js +10 -6
  86. package/dest/kernel/private_kernel_reset_dimensions.d.ts +10 -10
  87. package/dest/kernel/private_kernel_reset_dimensions.d.ts.map +1 -1
  88. package/dest/kernel/private_kernel_reset_dimensions.js +29 -29
  89. package/dest/kernel/private_kernel_tail_circuit_private_inputs.d.ts +10 -1
  90. package/dest/kernel/private_kernel_tail_circuit_private_inputs.d.ts.map +1 -1
  91. package/dest/kernel/private_kernel_tail_circuit_private_inputs.js +8 -3
  92. package/dest/kernel/private_to_avm_accumulated_data.d.ts +1 -0
  93. package/dest/kernel/private_to_avm_accumulated_data.d.ts.map +1 -1
  94. package/dest/kernel/private_to_avm_accumulated_data.js +4 -0
  95. package/dest/kernel/public_call_request.d.ts +54 -0
  96. package/dest/kernel/public_call_request.d.ts.map +1 -1
  97. package/dest/kernel/public_call_request.js +58 -0
  98. package/dest/logs/contract_class_log.d.ts +0 -4
  99. package/dest/logs/contract_class_log.d.ts.map +1 -1
  100. package/dest/logs/contract_class_log.js +0 -33
  101. package/dest/logs/log_with_tx_data.d.ts +13 -3
  102. package/dest/logs/log_with_tx_data.d.ts.map +1 -1
  103. package/dest/logs/log_with_tx_data.js +26 -14
  104. package/dest/logs/private_log.d.ts +1 -0
  105. package/dest/logs/private_log.d.ts.map +1 -1
  106. package/dest/logs/private_log.js +3 -0
  107. package/dest/logs/public_log.d.ts +1 -0
  108. package/dest/logs/public_log.d.ts.map +1 -1
  109. package/dest/logs/public_log.js +3 -0
  110. package/dest/logs/tx_scoped_l2_log.d.ts.map +1 -1
  111. package/dest/logs/tx_scoped_l2_log.js +1 -0
  112. package/dest/messaging/index.d.ts +1 -0
  113. package/dest/messaging/index.d.ts.map +1 -1
  114. package/dest/messaging/index.js +1 -0
  115. package/dest/messaging/l2_to_l1_membership.d.ts +11 -0
  116. package/dest/messaging/l2_to_l1_membership.d.ts.map +1 -0
  117. package/dest/messaging/l2_to_l1_membership.js +70 -0
  118. package/dest/p2p/consensus_payload.d.ts.map +1 -1
  119. package/dest/rollup/avm_proof_data.d.ts +7 -5
  120. package/dest/rollup/avm_proof_data.d.ts.map +1 -1
  121. package/dest/rollup/avm_proof_data.js +12 -4
  122. package/dest/rollup/base_rollup_hints.d.ts +4 -4
  123. package/dest/rollup/base_rollup_hints.d.ts.map +1 -1
  124. package/dest/rollup/base_rollup_hints.js +8 -8
  125. package/dest/rollup/previous_rollup_block_data.d.ts +6 -15
  126. package/dest/rollup/previous_rollup_block_data.d.ts.map +1 -1
  127. package/dest/rollup/previous_rollup_block_data.js +8 -13
  128. package/dest/rollup/previous_rollup_data.d.ts +6 -15
  129. package/dest/rollup/previous_rollup_data.d.ts.map +1 -1
  130. package/dest/rollup/previous_rollup_data.js +8 -13
  131. package/dest/rollup/private_tube_data.d.ts +3 -3
  132. package/dest/rollup/private_tube_data.d.ts.map +1 -1
  133. package/dest/rollup/private_tube_data.js +3 -3
  134. package/dest/rollup/public_tube_data.d.ts +3 -3
  135. package/dest/rollup/public_tube_data.d.ts.map +1 -1
  136. package/dest/rollup/public_tube_data.js +3 -3
  137. package/dest/rollup/root_rollup.d.ts +9 -10
  138. package/dest/rollup/root_rollup.d.ts.map +1 -1
  139. package/dest/rollup/root_rollup.js +9 -20
  140. package/dest/tests/factories.d.ts +2 -1
  141. package/dest/tests/factories.d.ts.map +1 -1
  142. package/dest/tests/factories.js +53 -28
  143. package/dest/tests/mocks.d.ts.map +1 -1
  144. package/dest/tests/mocks.js +4 -3
  145. package/dest/tx/processed_tx.d.ts.map +1 -1
  146. package/dest/tx/processed_tx.js +2 -5
  147. package/dest/tx/tx.d.ts +10 -25
  148. package/dest/tx/tx.d.ts.map +1 -1
  149. package/dest/tx/tx.js +25 -50
  150. package/dest/tx/tx_effect.d.ts +1 -1
  151. package/dest/tx/tx_effect.d.ts.map +1 -1
  152. package/dest/tx/tx_effect.js +2 -2
  153. package/dest/tx/tx_hash.d.ts +1 -0
  154. package/dest/tx/tx_hash.d.ts.map +1 -1
  155. package/dest/tx/tx_hash.js +3 -0
  156. package/dest/validators/types.d.ts +4 -0
  157. package/dest/validators/types.d.ts.map +1 -1
  158. package/dest/vks/index.d.ts +1 -1
  159. package/dest/vks/index.d.ts.map +1 -1
  160. package/dest/vks/index.js +1 -1
  161. package/dest/vks/{vk_witness_data.d.ts → vk_data.d.ts} +8 -8
  162. package/dest/vks/vk_data.d.ts.map +1 -0
  163. package/dest/vks/{vk_witness_data.js → vk_data.js} +10 -10
  164. package/package.json +7 -7
  165. package/src/abi/abi.ts +37 -0
  166. package/src/avm/avm.ts +37 -4
  167. package/src/avm/avm_accumulated_data.ts +93 -0
  168. package/src/avm/avm_circuit_public_inputs.ts +33 -3
  169. package/src/avm/gas.ts +26 -0
  170. package/src/avm/index.ts +1 -0
  171. package/src/block/body.ts +7 -2
  172. package/src/block/index.ts +1 -0
  173. package/src/block/l2_block.ts +8 -3
  174. package/src/block/l2_block_source.ts +9 -3
  175. package/src/block/proposal/committee_attestation.ts +70 -0
  176. package/src/block/proposal/index.ts +1 -0
  177. package/src/block/published_l2_block.ts +38 -24
  178. package/src/block/test/l2_tips_store_test_suite.ts +1 -1
  179. package/src/fees/transaction_fee.ts +12 -3
  180. package/src/interfaces/archiver.ts +2 -2
  181. package/src/interfaces/aztec-node.ts +8 -16
  182. package/src/interfaces/block-builder.ts +49 -2
  183. package/src/interfaces/epoch-prover.ts +2 -2
  184. package/src/interfaces/merkle_tree_operations.ts +20 -0
  185. package/src/interfaces/p2p.ts +9 -4
  186. package/src/interfaces/proving-job.ts +3 -3
  187. package/src/interfaces/server_circuit_prover.ts +3 -2
  188. package/src/kernel/hints/find_private_kernel_reset_dimensions.ts +3 -3
  189. package/src/kernel/hints/key_validation_hint.ts +4 -6
  190. package/src/kernel/hints/private_kernel_reset_hints.ts +34 -43
  191. package/src/kernel/hints/read_request_hints.ts +27 -15
  192. package/src/kernel/index.ts +1 -0
  193. package/src/kernel/padded_side_effects.ts +73 -0
  194. package/src/kernel/private_kernel_data.ts +7 -29
  195. package/src/kernel/private_kernel_reset_circuit_private_inputs.ts +16 -13
  196. package/src/kernel/private_kernel_reset_dimensions.ts +27 -27
  197. package/src/kernel/private_kernel_tail_circuit_private_inputs.ts +10 -2
  198. package/src/kernel/private_to_avm_accumulated_data.ts +9 -0
  199. package/src/kernel/public_call_request.ts +66 -0
  200. package/src/logs/contract_class_log.ts +0 -36
  201. package/src/logs/log_with_tx_data.ts +26 -12
  202. package/src/logs/private_log.ts +4 -0
  203. package/src/logs/public_log.ts +4 -0
  204. package/src/logs/tx_scoped_l2_log.ts +1 -0
  205. package/src/messaging/index.ts +1 -0
  206. package/src/messaging/l2_to_l1_membership.ts +113 -0
  207. package/src/p2p/consensus_payload.ts +3 -1
  208. package/src/rollup/avm_proof_data.ts +14 -7
  209. package/src/rollup/base_rollup_hints.ts +4 -4
  210. package/src/rollup/previous_rollup_block_data.ts +6 -12
  211. package/src/rollup/previous_rollup_data.ts +6 -12
  212. package/src/rollup/private_tube_data.ts +4 -4
  213. package/src/rollup/public_tube_data.ts +4 -4
  214. package/src/rollup/root_rollup.ts +6 -19
  215. package/src/tests/factories.ts +82 -43
  216. package/src/tests/mocks.ts +6 -3
  217. package/src/tx/processed_tx.ts +4 -5
  218. package/src/tx/tx.ts +28 -54
  219. package/src/tx/tx_effect.ts +23 -5
  220. package/src/tx/tx_hash.ts +4 -0
  221. package/src/validators/types.ts +2 -0
  222. package/src/vks/index.ts +1 -1
  223. package/src/vks/{vk_witness_data.ts → vk_data.ts} +6 -6
  224. 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,223 @@ 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
+ }>;
188
+ effectiveGasFees: z.ZodEffects<z.ZodObject<{
189
+ feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
190
+ feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
191
+ }, "strip", z.ZodTypeAny, {
192
+ feePerDaGas: import("@aztec/foundation/schemas").Fr;
193
+ feePerL2Gas: import("@aztec/foundation/schemas").Fr;
194
+ }, {
195
+ feePerDaGas: string;
196
+ feePerL2Gas: string;
197
+ }>, import("../gas/gas_fees.js").GasFees, {
198
+ feePerDaGas: string;
199
+ feePerL2Gas: string;
200
+ }>;
95
201
  nonRevertibleAccumulatedData: z.ZodObject<{
96
202
  noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
97
203
  nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
204
+ l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
205
+ message: z.ZodEffects<z.ZodObject<{
206
+ recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
207
+ content: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
208
+ counter: z.ZodNumber;
209
+ }, "strip", z.ZodTypeAny, {
210
+ counter: number;
211
+ recipient: import("@aztec/foundation/schemas").EthAddress;
212
+ content: import("@aztec/foundation/schemas").Fr;
213
+ }, {
214
+ counter: number;
215
+ recipient: string;
216
+ content: string;
217
+ }>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
218
+ counter: number;
219
+ recipient: string;
220
+ content: string;
221
+ }>;
222
+ contractAddress: ZodFor<import("../aztec-address/index.js").AztecAddress>;
223
+ }, "strip", z.ZodTypeAny, {
224
+ message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
225
+ contractAddress: import("../aztec-address/index.js").AztecAddress;
226
+ }, {
227
+ message: {
228
+ counter: number;
229
+ recipient: string;
230
+ content: string;
231
+ };
232
+ contractAddress?: any;
233
+ }>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
234
+ message: {
235
+ counter: number;
236
+ recipient: string;
237
+ content: string;
238
+ };
239
+ contractAddress?: any;
240
+ }>, "many">;
98
241
  }, "strip", z.ZodTypeAny, {
99
242
  noteHashes: import("@aztec/foundation/schemas").Fr[];
100
243
  nullifiers: import("@aztec/foundation/schemas").Fr[];
244
+ l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
101
245
  }, {
102
246
  noteHashes: string[];
103
247
  nullifiers: string[];
248
+ l2ToL1Messages: {
249
+ message: {
250
+ counter: number;
251
+ recipient: string;
252
+ content: string;
253
+ };
254
+ contractAddress?: any;
255
+ }[];
104
256
  }>;
105
257
  revertibleAccumulatedData: z.ZodObject<{
106
258
  noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
107
259
  nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
260
+ l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
261
+ message: z.ZodEffects<z.ZodObject<{
262
+ recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
263
+ content: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
264
+ counter: z.ZodNumber;
265
+ }, "strip", z.ZodTypeAny, {
266
+ counter: number;
267
+ recipient: import("@aztec/foundation/schemas").EthAddress;
268
+ content: import("@aztec/foundation/schemas").Fr;
269
+ }, {
270
+ counter: number;
271
+ recipient: string;
272
+ content: string;
273
+ }>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
274
+ counter: number;
275
+ recipient: string;
276
+ content: string;
277
+ }>;
278
+ contractAddress: ZodFor<import("../aztec-address/index.js").AztecAddress>;
279
+ }, "strip", z.ZodTypeAny, {
280
+ message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
281
+ contractAddress: import("../aztec-address/index.js").AztecAddress;
282
+ }, {
283
+ message: {
284
+ counter: number;
285
+ recipient: string;
286
+ content: string;
287
+ };
288
+ contractAddress?: any;
289
+ }>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
290
+ message: {
291
+ counter: number;
292
+ recipient: string;
293
+ content: string;
294
+ };
295
+ contractAddress?: any;
296
+ }>, "many">;
108
297
  }, "strip", z.ZodTypeAny, {
109
298
  noteHashes: import("@aztec/foundation/schemas").Fr[];
110
299
  nullifiers: import("@aztec/foundation/schemas").Fr[];
300
+ l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
111
301
  }, {
112
302
  noteHashes: string[];
113
303
  nullifiers: string[];
304
+ l2ToL1Messages: {
305
+ message: {
306
+ counter: number;
307
+ recipient: string;
308
+ content: string;
309
+ };
310
+ contractAddress?: any;
311
+ }[];
114
312
  }>;
115
313
  setupEnqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
116
314
  msgSender: ZodFor<import("../aztec-address/index.js").AztecAddress>;
@@ -175,20 +373,38 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
175
373
  contractAddress?: any;
176
374
  msgSender?: any;
177
375
  }>>;
376
+ gasUsedByPrivate: z.ZodEffects<z.ZodObject<{
377
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
378
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
379
+ }, "strip", z.ZodTypeAny, {
380
+ daGas: number;
381
+ l2Gas: number;
382
+ }, {
383
+ daGas: string | number | bigint;
384
+ l2Gas: string | number | bigint;
385
+ }>, import("../gas/gas.js").Gas, {
386
+ daGas: string | number | bigint;
387
+ l2Gas: string | number | bigint;
388
+ }>;
178
389
  }, "strip", z.ZodTypeAny, {
179
390
  hash: string;
180
391
  globalVariables: import("../tx/global_variables.js").GlobalVariables;
392
+ gasSettings: import("../gas/gas_settings.js").GasSettings;
181
393
  nonRevertibleAccumulatedData: {
182
394
  noteHashes: import("@aztec/foundation/schemas").Fr[];
183
395
  nullifiers: import("@aztec/foundation/schemas").Fr[];
396
+ l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
184
397
  };
185
398
  revertibleAccumulatedData: {
186
399
  noteHashes: import("@aztec/foundation/schemas").Fr[];
187
400
  nullifiers: import("@aztec/foundation/schemas").Fr[];
401
+ l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
188
402
  };
403
+ effectiveGasFees: import("../gas/gas_fees.js").GasFees;
189
404
  setupEnqueuedCalls: import("../avm/avm.js").AvmEnqueuedCallHint[];
190
405
  appLogicEnqueuedCalls: import("../avm/avm.js").AvmEnqueuedCallHint[];
191
406
  teardownEnqueuedCall: import("../avm/avm.js").AvmEnqueuedCallHint | null;
407
+ gasUsedByPrivate: import("../gas/gas.js").Gas;
192
408
  }, {
193
409
  hash: string;
194
410
  globalVariables: {
@@ -204,13 +420,51 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
204
420
  coinbase?: any;
205
421
  feeRecipient?: any;
206
422
  };
423
+ gasSettings: {
424
+ gasLimits: {
425
+ daGas: string | number | bigint;
426
+ l2Gas: string | number | bigint;
427
+ };
428
+ teardownGasLimits: {
429
+ daGas: string | number | bigint;
430
+ l2Gas: string | number | bigint;
431
+ };
432
+ maxFeesPerGas: {
433
+ feePerDaGas: string;
434
+ feePerL2Gas: string;
435
+ };
436
+ maxPriorityFeesPerGas: {
437
+ feePerDaGas: string;
438
+ feePerL2Gas: string;
439
+ };
440
+ };
207
441
  nonRevertibleAccumulatedData: {
208
442
  noteHashes: string[];
209
443
  nullifiers: string[];
444
+ l2ToL1Messages: {
445
+ message: {
446
+ counter: number;
447
+ recipient: string;
448
+ content: string;
449
+ };
450
+ contractAddress?: any;
451
+ }[];
210
452
  };
211
453
  revertibleAccumulatedData: {
212
454
  noteHashes: string[];
213
455
  nullifiers: string[];
456
+ l2ToL1Messages: {
457
+ message: {
458
+ counter: number;
459
+ recipient: string;
460
+ content: string;
461
+ };
462
+ contractAddress?: any;
463
+ }[];
464
+ };
465
+ effectiveGasFees: {
466
+ feePerDaGas: string;
467
+ feePerL2Gas: string;
214
468
  };
215
469
  setupEnqueuedCalls: {
216
470
  isStaticCall: boolean;
@@ -230,6 +484,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
230
484
  contractAddress?: any;
231
485
  msgSender?: any;
232
486
  } | null;
487
+ gasUsedByPrivate: {
488
+ daGas: string | number | bigint;
489
+ l2Gas: string | number | bigint;
490
+ };
233
491
  }>, import("../avm/avm.js").AvmTxHint, {
234
492
  hash: string;
235
493
  globalVariables: {
@@ -245,13 +503,51 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
245
503
  coinbase?: any;
246
504
  feeRecipient?: any;
247
505
  };
506
+ gasSettings: {
507
+ gasLimits: {
508
+ daGas: string | number | bigint;
509
+ l2Gas: string | number | bigint;
510
+ };
511
+ teardownGasLimits: {
512
+ daGas: string | number | bigint;
513
+ l2Gas: string | number | bigint;
514
+ };
515
+ maxFeesPerGas: {
516
+ feePerDaGas: string;
517
+ feePerL2Gas: string;
518
+ };
519
+ maxPriorityFeesPerGas: {
520
+ feePerDaGas: string;
521
+ feePerL2Gas: string;
522
+ };
523
+ };
248
524
  nonRevertibleAccumulatedData: {
249
525
  noteHashes: string[];
250
526
  nullifiers: string[];
527
+ l2ToL1Messages: {
528
+ message: {
529
+ counter: number;
530
+ recipient: string;
531
+ content: string;
532
+ };
533
+ contractAddress?: any;
534
+ }[];
251
535
  };
252
536
  revertibleAccumulatedData: {
253
537
  noteHashes: string[];
254
538
  nullifiers: string[];
539
+ l2ToL1Messages: {
540
+ message: {
541
+ counter: number;
542
+ recipient: string;
543
+ content: string;
544
+ };
545
+ contractAddress?: any;
546
+ }[];
547
+ };
548
+ effectiveGasFees: {
549
+ feePerDaGas: string;
550
+ feePerL2Gas: string;
255
551
  };
256
552
  setupEnqueuedCalls: {
257
553
  isStaticCall: boolean;
@@ -271,6 +567,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
271
567
  contractAddress?: any;
272
568
  msgSender?: any;
273
569
  } | null;
570
+ gasUsedByPrivate: {
571
+ daGas: string | number | bigint;
572
+ l2Gas: string | number | bigint;
573
+ };
274
574
  }>;
275
575
  contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
276
576
  address: ZodFor<import("../aztec-address/index.js").AztecAddress>;
@@ -2030,13 +2330,51 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
2030
2330
  coinbase?: any;
2031
2331
  feeRecipient?: any;
2032
2332
  };
2333
+ gasSettings: {
2334
+ gasLimits: {
2335
+ daGas: string | number | bigint;
2336
+ l2Gas: string | number | bigint;
2337
+ };
2338
+ teardownGasLimits: {
2339
+ daGas: string | number | bigint;
2340
+ l2Gas: string | number | bigint;
2341
+ };
2342
+ maxFeesPerGas: {
2343
+ feePerDaGas: string;
2344
+ feePerL2Gas: string;
2345
+ };
2346
+ maxPriorityFeesPerGas: {
2347
+ feePerDaGas: string;
2348
+ feePerL2Gas: string;
2349
+ };
2350
+ };
2033
2351
  nonRevertibleAccumulatedData: {
2034
2352
  noteHashes: string[];
2035
2353
  nullifiers: string[];
2354
+ l2ToL1Messages: {
2355
+ message: {
2356
+ counter: number;
2357
+ recipient: string;
2358
+ content: string;
2359
+ };
2360
+ contractAddress?: any;
2361
+ }[];
2036
2362
  };
2037
2363
  revertibleAccumulatedData: {
2038
2364
  noteHashes: string[];
2039
2365
  nullifiers: string[];
2366
+ l2ToL1Messages: {
2367
+ message: {
2368
+ counter: number;
2369
+ recipient: string;
2370
+ content: string;
2371
+ };
2372
+ contractAddress?: any;
2373
+ }[];
2374
+ };
2375
+ effectiveGasFees: {
2376
+ feePerDaGas: string;
2377
+ feePerL2Gas: string;
2040
2378
  };
2041
2379
  setupEnqueuedCalls: {
2042
2380
  isStaticCall: boolean;
@@ -2056,6 +2394,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
2056
2394
  contractAddress?: any;
2057
2395
  msgSender?: any;
2058
2396
  } | null;
2397
+ gasUsedByPrivate: {
2398
+ daGas: string | number | bigint;
2399
+ l2Gas: string | number | bigint;
2400
+ };
2059
2401
  };
2060
2402
  contractInstances: {
2061
2403
  salt: string;
@@ -2357,13 +2699,51 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
2357
2699
  coinbase?: any;
2358
2700
  feeRecipient?: any;
2359
2701
  };
2702
+ gasSettings: {
2703
+ gasLimits: {
2704
+ daGas: string | number | bigint;
2705
+ l2Gas: string | number | bigint;
2706
+ };
2707
+ teardownGasLimits: {
2708
+ daGas: string | number | bigint;
2709
+ l2Gas: string | number | bigint;
2710
+ };
2711
+ maxFeesPerGas: {
2712
+ feePerDaGas: string;
2713
+ feePerL2Gas: string;
2714
+ };
2715
+ maxPriorityFeesPerGas: {
2716
+ feePerDaGas: string;
2717
+ feePerL2Gas: string;
2718
+ };
2719
+ };
2360
2720
  nonRevertibleAccumulatedData: {
2361
2721
  noteHashes: string[];
2362
2722
  nullifiers: string[];
2723
+ l2ToL1Messages: {
2724
+ message: {
2725
+ counter: number;
2726
+ recipient: string;
2727
+ content: string;
2728
+ };
2729
+ contractAddress?: any;
2730
+ }[];
2363
2731
  };
2364
2732
  revertibleAccumulatedData: {
2365
2733
  noteHashes: string[];
2366
2734
  nullifiers: string[];
2735
+ l2ToL1Messages: {
2736
+ message: {
2737
+ counter: number;
2738
+ recipient: string;
2739
+ content: string;
2740
+ };
2741
+ contractAddress?: any;
2742
+ }[];
2743
+ };
2744
+ effectiveGasFees: {
2745
+ feePerDaGas: string;
2746
+ feePerL2Gas: string;
2367
2747
  };
2368
2748
  setupEnqueuedCalls: {
2369
2749
  isStaticCall: boolean;
@@ -2383,6 +2763,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
2383
2763
  contractAddress?: any;
2384
2764
  msgSender?: any;
2385
2765
  } | null;
2766
+ gasUsedByPrivate: {
2767
+ daGas: string | number | bigint;
2768
+ l2Gas: string | number | bigint;
2769
+ };
2386
2770
  };
2387
2771
  contractInstances: {
2388
2772
  salt: string;
@@ -2924,7 +3308,37 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
2924
3308
  feePerL2Gas: string;
2925
3309
  };
2926
3310
  }>;
3311
+ effectiveGasFees: z.ZodEffects<z.ZodObject<{
3312
+ feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3313
+ feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3314
+ }, "strip", z.ZodTypeAny, {
3315
+ feePerDaGas: import("@aztec/foundation/schemas").Fr;
3316
+ feePerL2Gas: import("@aztec/foundation/schemas").Fr;
3317
+ }, {
3318
+ feePerDaGas: string;
3319
+ feePerL2Gas: string;
3320
+ }>, import("../gas/gas_fees.js").GasFees, {
3321
+ feePerDaGas: string;
3322
+ feePerL2Gas: string;
3323
+ }>;
2927
3324
  feePayer: ZodFor<import("../aztec-address/index.js").AztecAddress>;
3325
+ publicCallRequestArrayLengths: z.ZodEffects<z.ZodObject<{
3326
+ setupCalls: z.ZodNumber;
3327
+ appLogicCalls: z.ZodNumber;
3328
+ teardownCall: z.ZodBoolean;
3329
+ }, "strip", z.ZodTypeAny, {
3330
+ setupCalls: number;
3331
+ appLogicCalls: number;
3332
+ teardownCall: boolean;
3333
+ }, {
3334
+ setupCalls: number;
3335
+ appLogicCalls: number;
3336
+ teardownCall: boolean;
3337
+ }>, import("../kernel/public_call_request.js").PublicCallRequestArrayLengths, {
3338
+ setupCalls: number;
3339
+ appLogicCalls: number;
3340
+ teardownCall: boolean;
3341
+ }>;
2928
3342
  publicSetupCallRequests: z.ZodArray<z.ZodEffects<z.ZodObject<{
2929
3343
  msgSender: ZodFor<import("../aztec-address/index.js").AztecAddress>;
2930
3344
  contractAddress: ZodFor<import("../aztec-address/index.js").AztecAddress>;
@@ -3262,6 +3676,31 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3262
3676
  daGas: string | number | bigint;
3263
3677
  l2Gas: string | number | bigint;
3264
3678
  }>;
3679
+ accumulatedDataArrayLengths: z.ZodEffects<z.ZodObject<{
3680
+ noteHashes: z.ZodNumber;
3681
+ nullifiers: z.ZodNumber;
3682
+ l2ToL1Msgs: z.ZodNumber;
3683
+ publicLogs: z.ZodNumber;
3684
+ publicDataWrites: z.ZodNumber;
3685
+ }, "strip", z.ZodTypeAny, {
3686
+ noteHashes: number;
3687
+ nullifiers: number;
3688
+ l2ToL1Msgs: number;
3689
+ publicLogs: number;
3690
+ publicDataWrites: number;
3691
+ }, {
3692
+ noteHashes: number;
3693
+ nullifiers: number;
3694
+ l2ToL1Msgs: number;
3695
+ publicLogs: number;
3696
+ publicDataWrites: number;
3697
+ }>, import("../avm/avm_accumulated_data.js").AvmAccumulatedDataArrayLengths, {
3698
+ noteHashes: number;
3699
+ nullifiers: number;
3700
+ l2ToL1Msgs: number;
3701
+ publicLogs: number;
3702
+ publicDataWrites: number;
3703
+ }>;
3265
3704
  accumulatedData: z.ZodEffects<z.ZodObject<{
3266
3705
  noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
3267
3706
  nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
@@ -3363,8 +3802,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3363
3802
  publicTeardownCallRequest: import("../kernel/public_call_request.js").PublicCallRequest;
3364
3803
  transactionFee: import("@aztec/foundation/schemas").Fr;
3365
3804
  feePayer: import("../aztec-address/index.js").AztecAddress;
3805
+ effectiveGasFees: import("../gas/gas_fees.js").GasFees;
3366
3806
  startTreeSnapshots: import("../tx/tree_snapshots.js").TreeSnapshots;
3367
3807
  startGasUsed: import("../gas/gas.js").Gas;
3808
+ publicCallRequestArrayLengths: import("../kernel/public_call_request.js").PublicCallRequestArrayLengths;
3368
3809
  publicSetupCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
3369
3810
  publicAppLogicCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
3370
3811
  previousNonRevertibleAccumulatedDataArrayLengths: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedDataArrayLengths;
@@ -3373,6 +3814,7 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3373
3814
  previousRevertibleAccumulatedData: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData;
3374
3815
  endTreeSnapshots: import("../tx/tree_snapshots.js").TreeSnapshots;
3375
3816
  endGasUsed: import("../gas/gas.js").Gas;
3817
+ accumulatedDataArrayLengths: import("../avm/avm_accumulated_data.js").AvmAccumulatedDataArrayLengths;
3376
3818
  accumulatedData: import("../avm/avm_accumulated_data.js").AvmAccumulatedData;
3377
3819
  reverted: boolean;
3378
3820
  }, {
@@ -3414,6 +3856,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3414
3856
  msgSender?: any;
3415
3857
  };
3416
3858
  transactionFee: string;
3859
+ effectiveGasFees: {
3860
+ feePerDaGas: string;
3861
+ feePerL2Gas: string;
3862
+ };
3417
3863
  startTreeSnapshots: {
3418
3864
  noteHashTree: {
3419
3865
  root: string;
@@ -3436,6 +3882,11 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3436
3882
  daGas: string | number | bigint;
3437
3883
  l2Gas: string | number | bigint;
3438
3884
  };
3885
+ publicCallRequestArrayLengths: {
3886
+ setupCalls: number;
3887
+ appLogicCalls: number;
3888
+ teardownCall: boolean;
3889
+ };
3439
3890
  publicSetupCallRequests: {
3440
3891
  isStaticCall: boolean;
3441
3892
  calldataHash: string;
@@ -3504,6 +3955,13 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3504
3955
  daGas: string | number | bigint;
3505
3956
  l2Gas: string | number | bigint;
3506
3957
  };
3958
+ accumulatedDataArrayLengths: {
3959
+ noteHashes: number;
3960
+ nullifiers: number;
3961
+ l2ToL1Msgs: number;
3962
+ publicLogs: number;
3963
+ publicDataWrites: number;
3964
+ };
3507
3965
  accumulatedData: {
3508
3966
  noteHashes: string[];
3509
3967
  nullifiers: string[];
@@ -3562,6 +4020,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3562
4020
  msgSender?: any;
3563
4021
  };
3564
4022
  transactionFee: string;
4023
+ effectiveGasFees: {
4024
+ feePerDaGas: string;
4025
+ feePerL2Gas: string;
4026
+ };
3565
4027
  startTreeSnapshots: {
3566
4028
  noteHashTree: {
3567
4029
  root: string;
@@ -3584,6 +4046,11 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3584
4046
  daGas: string | number | bigint;
3585
4047
  l2Gas: string | number | bigint;
3586
4048
  };
4049
+ publicCallRequestArrayLengths: {
4050
+ setupCalls: number;
4051
+ appLogicCalls: number;
4052
+ teardownCall: boolean;
4053
+ };
3587
4054
  publicSetupCallRequests: {
3588
4055
  isStaticCall: boolean;
3589
4056
  calldataHash: string;
@@ -3652,6 +4119,13 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3652
4119
  daGas: string | number | bigint;
3653
4120
  l2Gas: string | number | bigint;
3654
4121
  };
4122
+ accumulatedDataArrayLengths: {
4123
+ noteHashes: number;
4124
+ nullifiers: number;
4125
+ l2ToL1Msgs: number;
4126
+ publicLogs: number;
4127
+ publicDataWrites: number;
4128
+ };
3655
4129
  accumulatedData: {
3656
4130
  noteHashes: string[];
3657
4131
  nullifiers: string[];
@@ -3715,6 +4189,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3715
4189
  msgSender?: any;
3716
4190
  };
3717
4191
  transactionFee: string;
4192
+ effectiveGasFees: {
4193
+ feePerDaGas: string;
4194
+ feePerL2Gas: string;
4195
+ };
3718
4196
  startTreeSnapshots: {
3719
4197
  noteHashTree: {
3720
4198
  root: string;
@@ -3737,6 +4215,11 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3737
4215
  daGas: string | number | bigint;
3738
4216
  l2Gas: string | number | bigint;
3739
4217
  };
4218
+ publicCallRequestArrayLengths: {
4219
+ setupCalls: number;
4220
+ appLogicCalls: number;
4221
+ teardownCall: boolean;
4222
+ };
3740
4223
  publicSetupCallRequests: {
3741
4224
  isStaticCall: boolean;
3742
4225
  calldataHash: string;
@@ -3805,6 +4288,13 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3805
4288
  daGas: string | number | bigint;
3806
4289
  l2Gas: string | number | bigint;
3807
4290
  };
4291
+ accumulatedDataArrayLengths: {
4292
+ noteHashes: number;
4293
+ nullifiers: number;
4294
+ l2ToL1Msgs: number;
4295
+ publicLogs: number;
4296
+ publicDataWrites: number;
4297
+ };
3808
4298
  accumulatedData: {
3809
4299
  noteHashes: string[];
3810
4300
  nullifiers: string[];
@@ -3841,13 +4331,51 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3841
4331
  coinbase?: any;
3842
4332
  feeRecipient?: any;
3843
4333
  };
4334
+ gasSettings: {
4335
+ gasLimits: {
4336
+ daGas: string | number | bigint;
4337
+ l2Gas: string | number | bigint;
4338
+ };
4339
+ teardownGasLimits: {
4340
+ daGas: string | number | bigint;
4341
+ l2Gas: string | number | bigint;
4342
+ };
4343
+ maxFeesPerGas: {
4344
+ feePerDaGas: string;
4345
+ feePerL2Gas: string;
4346
+ };
4347
+ maxPriorityFeesPerGas: {
4348
+ feePerDaGas: string;
4349
+ feePerL2Gas: string;
4350
+ };
4351
+ };
3844
4352
  nonRevertibleAccumulatedData: {
3845
4353
  noteHashes: string[];
3846
4354
  nullifiers: string[];
4355
+ l2ToL1Messages: {
4356
+ message: {
4357
+ counter: number;
4358
+ recipient: string;
4359
+ content: string;
4360
+ };
4361
+ contractAddress?: any;
4362
+ }[];
3847
4363
  };
3848
4364
  revertibleAccumulatedData: {
3849
4365
  noteHashes: string[];
3850
4366
  nullifiers: string[];
4367
+ l2ToL1Messages: {
4368
+ message: {
4369
+ counter: number;
4370
+ recipient: string;
4371
+ content: string;
4372
+ };
4373
+ contractAddress?: any;
4374
+ }[];
4375
+ };
4376
+ effectiveGasFees: {
4377
+ feePerDaGas: string;
4378
+ feePerL2Gas: string;
3851
4379
  };
3852
4380
  setupEnqueuedCalls: {
3853
4381
  isStaticCall: boolean;
@@ -3867,6 +4395,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
3867
4395
  contractAddress?: any;
3868
4396
  msgSender?: any;
3869
4397
  } | null;
4398
+ gasUsedByPrivate: {
4399
+ daGas: string | number | bigint;
4400
+ l2Gas: string | number | bigint;
4401
+ };
3870
4402
  };
3871
4403
  contractInstances: {
3872
4404
  salt: string;
@@ -4193,6 +4725,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4193
4725
  msgSender?: any;
4194
4726
  };
4195
4727
  transactionFee: string;
4728
+ effectiveGasFees: {
4729
+ feePerDaGas: string;
4730
+ feePerL2Gas: string;
4731
+ };
4196
4732
  startTreeSnapshots: {
4197
4733
  noteHashTree: {
4198
4734
  root: string;
@@ -4215,6 +4751,11 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4215
4751
  daGas: string | number | bigint;
4216
4752
  l2Gas: string | number | bigint;
4217
4753
  };
4754
+ publicCallRequestArrayLengths: {
4755
+ setupCalls: number;
4756
+ appLogicCalls: number;
4757
+ teardownCall: boolean;
4758
+ };
4218
4759
  publicSetupCallRequests: {
4219
4760
  isStaticCall: boolean;
4220
4761
  calldataHash: string;
@@ -4283,6 +4824,13 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4283
4824
  daGas: string | number | bigint;
4284
4825
  l2Gas: string | number | bigint;
4285
4826
  };
4827
+ accumulatedDataArrayLengths: {
4828
+ noteHashes: number;
4829
+ nullifiers: number;
4830
+ l2ToL1Msgs: number;
4831
+ publicLogs: number;
4832
+ publicDataWrites: number;
4833
+ };
4286
4834
  accumulatedData: {
4287
4835
  noteHashes: string[];
4288
4836
  nullifiers: string[];
@@ -4319,13 +4867,51 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4319
4867
  coinbase?: any;
4320
4868
  feeRecipient?: any;
4321
4869
  };
4870
+ gasSettings: {
4871
+ gasLimits: {
4872
+ daGas: string | number | bigint;
4873
+ l2Gas: string | number | bigint;
4874
+ };
4875
+ teardownGasLimits: {
4876
+ daGas: string | number | bigint;
4877
+ l2Gas: string | number | bigint;
4878
+ };
4879
+ maxFeesPerGas: {
4880
+ feePerDaGas: string;
4881
+ feePerL2Gas: string;
4882
+ };
4883
+ maxPriorityFeesPerGas: {
4884
+ feePerDaGas: string;
4885
+ feePerL2Gas: string;
4886
+ };
4887
+ };
4322
4888
  nonRevertibleAccumulatedData: {
4323
4889
  noteHashes: string[];
4324
4890
  nullifiers: string[];
4891
+ l2ToL1Messages: {
4892
+ message: {
4893
+ counter: number;
4894
+ recipient: string;
4895
+ content: string;
4896
+ };
4897
+ contractAddress?: any;
4898
+ }[];
4325
4899
  };
4326
4900
  revertibleAccumulatedData: {
4327
4901
  noteHashes: string[];
4328
4902
  nullifiers: string[];
4903
+ l2ToL1Messages: {
4904
+ message: {
4905
+ counter: number;
4906
+ recipient: string;
4907
+ content: string;
4908
+ };
4909
+ contractAddress?: any;
4910
+ }[];
4911
+ };
4912
+ effectiveGasFees: {
4913
+ feePerDaGas: string;
4914
+ feePerL2Gas: string;
4329
4915
  };
4330
4916
  setupEnqueuedCalls: {
4331
4917
  isStaticCall: boolean;
@@ -4345,6 +4931,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4345
4931
  contractAddress?: any;
4346
4932
  msgSender?: any;
4347
4933
  } | null;
4934
+ gasUsedByPrivate: {
4935
+ daGas: string | number | bigint;
4936
+ l2Gas: string | number | bigint;
4937
+ };
4348
4938
  };
4349
4939
  contractInstances: {
4350
4940
  salt: string;
@@ -4677,6 +5267,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4677
5267
  msgSender?: any;
4678
5268
  };
4679
5269
  transactionFee: string;
5270
+ effectiveGasFees: {
5271
+ feePerDaGas: string;
5272
+ feePerL2Gas: string;
5273
+ };
4680
5274
  startTreeSnapshots: {
4681
5275
  noteHashTree: {
4682
5276
  root: string;
@@ -4699,6 +5293,11 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4699
5293
  daGas: string | number | bigint;
4700
5294
  l2Gas: string | number | bigint;
4701
5295
  };
5296
+ publicCallRequestArrayLengths: {
5297
+ setupCalls: number;
5298
+ appLogicCalls: number;
5299
+ teardownCall: boolean;
5300
+ };
4702
5301
  publicSetupCallRequests: {
4703
5302
  isStaticCall: boolean;
4704
5303
  calldataHash: string;
@@ -4767,6 +5366,13 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4767
5366
  daGas: string | number | bigint;
4768
5367
  l2Gas: string | number | bigint;
4769
5368
  };
5369
+ accumulatedDataArrayLengths: {
5370
+ noteHashes: number;
5371
+ nullifiers: number;
5372
+ l2ToL1Msgs: number;
5373
+ publicLogs: number;
5374
+ publicDataWrites: number;
5375
+ };
4770
5376
  accumulatedData: {
4771
5377
  noteHashes: string[];
4772
5378
  nullifiers: string[];
@@ -4803,13 +5409,51 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4803
5409
  coinbase?: any;
4804
5410
  feeRecipient?: any;
4805
5411
  };
5412
+ gasSettings: {
5413
+ gasLimits: {
5414
+ daGas: string | number | bigint;
5415
+ l2Gas: string | number | bigint;
5416
+ };
5417
+ teardownGasLimits: {
5418
+ daGas: string | number | bigint;
5419
+ l2Gas: string | number | bigint;
5420
+ };
5421
+ maxFeesPerGas: {
5422
+ feePerDaGas: string;
5423
+ feePerL2Gas: string;
5424
+ };
5425
+ maxPriorityFeesPerGas: {
5426
+ feePerDaGas: string;
5427
+ feePerL2Gas: string;
5428
+ };
5429
+ };
4806
5430
  nonRevertibleAccumulatedData: {
4807
5431
  noteHashes: string[];
4808
5432
  nullifiers: string[];
5433
+ l2ToL1Messages: {
5434
+ message: {
5435
+ counter: number;
5436
+ recipient: string;
5437
+ content: string;
5438
+ };
5439
+ contractAddress?: any;
5440
+ }[];
4809
5441
  };
4810
5442
  revertibleAccumulatedData: {
4811
5443
  noteHashes: string[];
4812
5444
  nullifiers: string[];
5445
+ l2ToL1Messages: {
5446
+ message: {
5447
+ counter: number;
5448
+ recipient: string;
5449
+ content: string;
5450
+ };
5451
+ contractAddress?: any;
5452
+ }[];
5453
+ };
5454
+ effectiveGasFees: {
5455
+ feePerDaGas: string;
5456
+ feePerL2Gas: string;
4813
5457
  };
4814
5458
  setupEnqueuedCalls: {
4815
5459
  isStaticCall: boolean;
@@ -4829,6 +5473,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
4829
5473
  contractAddress?: any;
4830
5474
  msgSender?: any;
4831
5475
  } | null;
5476
+ gasUsedByPrivate: {
5477
+ daGas: string | number | bigint;
5478
+ l2Gas: string | number | bigint;
5479
+ };
4832
5480
  };
4833
5481
  contractInstances: {
4834
5482
  salt: string;
@@ -5234,10 +5882,10 @@ export type ProvingJobInputsMap = {
5234
5882
  };
5235
5883
  export declare const ProvingJobResult: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5236
5884
  type: z.ZodLiteral<ProvingRequestType.PUBLIC_VM>;
5237
- result: ZodFor<ProofAndVerificationKey<4154>>;
5885
+ result: ZodFor<ProofAndVerificationKey<20000>>;
5238
5886
  }, "strip", z.ZodTypeAny, {
5239
5887
  type: ProvingRequestType.PUBLIC_VM;
5240
- result: ProofAndVerificationKey<4154>;
5888
+ result: ProofAndVerificationKey<20000>;
5241
5889
  }, {
5242
5890
  type: ProvingRequestType.PUBLIC_VM;
5243
5891
  result?: any;
@@ -5343,7 +5991,7 @@ export declare const ProvingJobResult: z.ZodDiscriminatedUnion<"type", [z.ZodObj
5343
5991
  }>]>;
5344
5992
  export type ProvingJobResult = z.infer<typeof ProvingJobResult>;
5345
5993
  export type ProvingJobResultsMap = {
5346
- [ProvingRequestType.PUBLIC_VM]: ProofAndVerificationKey<typeof AVM_PROOF_LENGTH_IN_FIELDS>;
5994
+ [ProvingRequestType.PUBLIC_VM]: ProofAndVerificationKey<typeof AVM_V2_PROOF_LENGTH_IN_FIELDS_PADDED>;
5347
5995
  [ProvingRequestType.PRIVATE_BASE_ROLLUP]: PublicInputsAndRecursiveProof<BaseOrMergeRollupPublicInputs, typeof NESTED_RECURSIVE_ROLLUP_HONK_PROOF_LENGTH>;
5348
5996
  [ProvingRequestType.PUBLIC_BASE_ROLLUP]: PublicInputsAndRecursiveProof<BaseOrMergeRollupPublicInputs, typeof NESTED_RECURSIVE_ROLLUP_HONK_PROOF_LENGTH>;
5349
5997
  [ProvingRequestType.MERGE_ROLLUP]: PublicInputsAndRecursiveProof<BaseOrMergeRollupPublicInputs, typeof NESTED_RECURSIVE_ROLLUP_HONK_PROOF_LENGTH>;