@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
@@ -63,25 +63,223 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
63
63
  coinbase?: any;
64
64
  feeRecipient?: any;
65
65
  }>;
66
+ gasSettings: z.ZodEffects<z.ZodObject<{
67
+ gasLimits: z.ZodEffects<z.ZodObject<{
68
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
69
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
70
+ }, "strip", z.ZodTypeAny, {
71
+ daGas: number;
72
+ l2Gas: number;
73
+ }, {
74
+ daGas: string | number | bigint;
75
+ l2Gas: string | number | bigint;
76
+ }>, import("../gas/gas.js").Gas, {
77
+ daGas: string | number | bigint;
78
+ l2Gas: string | number | bigint;
79
+ }>;
80
+ teardownGasLimits: z.ZodEffects<z.ZodObject<{
81
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
82
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
83
+ }, "strip", z.ZodTypeAny, {
84
+ daGas: number;
85
+ l2Gas: number;
86
+ }, {
87
+ daGas: string | number | bigint;
88
+ l2Gas: string | number | bigint;
89
+ }>, import("../gas/gas.js").Gas, {
90
+ daGas: string | number | bigint;
91
+ l2Gas: string | number | bigint;
92
+ }>;
93
+ maxFeesPerGas: z.ZodEffects<z.ZodObject<{
94
+ feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
95
+ feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
96
+ }, "strip", z.ZodTypeAny, {
97
+ feePerDaGas: import("@aztec/foundation/schemas").Fr;
98
+ feePerL2Gas: import("@aztec/foundation/schemas").Fr;
99
+ }, {
100
+ feePerDaGas: string;
101
+ feePerL2Gas: string;
102
+ }>, import("../gas/gas_fees.js").GasFees, {
103
+ feePerDaGas: string;
104
+ feePerL2Gas: string;
105
+ }>;
106
+ maxPriorityFeesPerGas: z.ZodEffects<z.ZodObject<{
107
+ feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
108
+ feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ feePerDaGas: import("@aztec/foundation/schemas").Fr;
111
+ feePerL2Gas: import("@aztec/foundation/schemas").Fr;
112
+ }, {
113
+ feePerDaGas: string;
114
+ feePerL2Gas: string;
115
+ }>, import("../gas/gas_fees.js").GasFees, {
116
+ feePerDaGas: string;
117
+ feePerL2Gas: string;
118
+ }>;
119
+ }, "strip", z.ZodTypeAny, {
120
+ gasLimits: import("../gas/gas.js").Gas;
121
+ teardownGasLimits: import("../gas/gas.js").Gas;
122
+ maxFeesPerGas: import("../gas/gas_fees.js").GasFees;
123
+ maxPriorityFeesPerGas: import("../gas/gas_fees.js").GasFees;
124
+ }, {
125
+ gasLimits: {
126
+ daGas: string | number | bigint;
127
+ l2Gas: string | number | bigint;
128
+ };
129
+ teardownGasLimits: {
130
+ daGas: string | number | bigint;
131
+ l2Gas: string | number | bigint;
132
+ };
133
+ maxFeesPerGas: {
134
+ feePerDaGas: string;
135
+ feePerL2Gas: string;
136
+ };
137
+ maxPriorityFeesPerGas: {
138
+ feePerDaGas: string;
139
+ feePerL2Gas: string;
140
+ };
141
+ }>, import("../gas/gas_settings.js").GasSettings, {
142
+ gasLimits: {
143
+ daGas: string | number | bigint;
144
+ l2Gas: string | number | bigint;
145
+ };
146
+ teardownGasLimits: {
147
+ daGas: string | number | bigint;
148
+ l2Gas: string | number | bigint;
149
+ };
150
+ maxFeesPerGas: {
151
+ feePerDaGas: string;
152
+ feePerL2Gas: string;
153
+ };
154
+ maxPriorityFeesPerGas: {
155
+ feePerDaGas: string;
156
+ feePerL2Gas: string;
157
+ };
158
+ }>;
159
+ effectiveGasFees: z.ZodEffects<z.ZodObject<{
160
+ feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
161
+ feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
162
+ }, "strip", z.ZodTypeAny, {
163
+ feePerDaGas: import("@aztec/foundation/schemas").Fr;
164
+ feePerL2Gas: import("@aztec/foundation/schemas").Fr;
165
+ }, {
166
+ feePerDaGas: string;
167
+ feePerL2Gas: string;
168
+ }>, import("../gas/gas_fees.js").GasFees, {
169
+ feePerDaGas: string;
170
+ feePerL2Gas: string;
171
+ }>;
66
172
  nonRevertibleAccumulatedData: z.ZodObject<{
67
173
  noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
68
174
  nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
175
+ l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
176
+ message: z.ZodEffects<z.ZodObject<{
177
+ recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
178
+ content: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
179
+ counter: z.ZodNumber;
180
+ }, "strip", z.ZodTypeAny, {
181
+ counter: number;
182
+ recipient: import("@aztec/foundation/schemas").EthAddress;
183
+ content: import("@aztec/foundation/schemas").Fr;
184
+ }, {
185
+ counter: number;
186
+ recipient: string;
187
+ content: string;
188
+ }>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
189
+ counter: number;
190
+ recipient: string;
191
+ content: string;
192
+ }>;
193
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
194
+ }, "strip", z.ZodTypeAny, {
195
+ message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
196
+ contractAddress: import("../aztec-address/index.js").AztecAddress;
197
+ }, {
198
+ message: {
199
+ counter: number;
200
+ recipient: string;
201
+ content: string;
202
+ };
203
+ contractAddress?: any;
204
+ }>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
205
+ message: {
206
+ counter: number;
207
+ recipient: string;
208
+ content: string;
209
+ };
210
+ contractAddress?: any;
211
+ }>, "many">;
69
212
  }, "strip", z.ZodTypeAny, {
70
213
  noteHashes: import("@aztec/foundation/schemas").Fr[];
71
214
  nullifiers: import("@aztec/foundation/schemas").Fr[];
215
+ l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
72
216
  }, {
73
217
  noteHashes: string[];
74
218
  nullifiers: string[];
219
+ l2ToL1Messages: {
220
+ message: {
221
+ counter: number;
222
+ recipient: string;
223
+ content: string;
224
+ };
225
+ contractAddress?: any;
226
+ }[];
75
227
  }>;
76
228
  revertibleAccumulatedData: z.ZodObject<{
77
229
  noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
78
230
  nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
231
+ l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
232
+ message: z.ZodEffects<z.ZodObject<{
233
+ recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
234
+ content: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
235
+ counter: z.ZodNumber;
236
+ }, "strip", z.ZodTypeAny, {
237
+ counter: number;
238
+ recipient: import("@aztec/foundation/schemas").EthAddress;
239
+ content: import("@aztec/foundation/schemas").Fr;
240
+ }, {
241
+ counter: number;
242
+ recipient: string;
243
+ content: string;
244
+ }>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
245
+ counter: number;
246
+ recipient: string;
247
+ content: string;
248
+ }>;
249
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
250
+ }, "strip", z.ZodTypeAny, {
251
+ message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
252
+ contractAddress: import("../aztec-address/index.js").AztecAddress;
253
+ }, {
254
+ message: {
255
+ counter: number;
256
+ recipient: string;
257
+ content: string;
258
+ };
259
+ contractAddress?: any;
260
+ }>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
261
+ message: {
262
+ counter: number;
263
+ recipient: string;
264
+ content: string;
265
+ };
266
+ contractAddress?: any;
267
+ }>, "many">;
79
268
  }, "strip", z.ZodTypeAny, {
80
269
  noteHashes: import("@aztec/foundation/schemas").Fr[];
81
270
  nullifiers: import("@aztec/foundation/schemas").Fr[];
271
+ l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
82
272
  }, {
83
273
  noteHashes: string[];
84
274
  nullifiers: string[];
275
+ l2ToL1Messages: {
276
+ message: {
277
+ counter: number;
278
+ recipient: string;
279
+ content: string;
280
+ };
281
+ contractAddress?: any;
282
+ }[];
85
283
  }>;
86
284
  setupEnqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
87
285
  msgSender: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
@@ -146,20 +344,38 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
146
344
  contractAddress?: any;
147
345
  msgSender?: any;
148
346
  }>>;
347
+ gasUsedByPrivate: z.ZodEffects<z.ZodObject<{
348
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
349
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
350
+ }, "strip", z.ZodTypeAny, {
351
+ daGas: number;
352
+ l2Gas: number;
353
+ }, {
354
+ daGas: string | number | bigint;
355
+ l2Gas: string | number | bigint;
356
+ }>, import("../gas/gas.js").Gas, {
357
+ daGas: string | number | bigint;
358
+ l2Gas: string | number | bigint;
359
+ }>;
149
360
  }, "strip", z.ZodTypeAny, {
150
361
  hash: string;
151
362
  globalVariables: import("../tx/global_variables.js").GlobalVariables;
363
+ gasSettings: import("../gas/gas_settings.js").GasSettings;
152
364
  nonRevertibleAccumulatedData: {
153
365
  noteHashes: import("@aztec/foundation/schemas").Fr[];
154
366
  nullifiers: import("@aztec/foundation/schemas").Fr[];
367
+ l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
155
368
  };
156
369
  revertibleAccumulatedData: {
157
370
  noteHashes: import("@aztec/foundation/schemas").Fr[];
158
371
  nullifiers: import("@aztec/foundation/schemas").Fr[];
372
+ l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
159
373
  };
374
+ effectiveGasFees: import("../gas/gas_fees.js").GasFees;
160
375
  setupEnqueuedCalls: import("./avm.js").AvmEnqueuedCallHint[];
161
376
  appLogicEnqueuedCalls: import("./avm.js").AvmEnqueuedCallHint[];
162
377
  teardownEnqueuedCall: import("./avm.js").AvmEnqueuedCallHint | null;
378
+ gasUsedByPrivate: import("../gas/gas.js").Gas;
163
379
  }, {
164
380
  hash: string;
165
381
  globalVariables: {
@@ -175,13 +391,51 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
175
391
  coinbase?: any;
176
392
  feeRecipient?: any;
177
393
  };
394
+ gasSettings: {
395
+ gasLimits: {
396
+ daGas: string | number | bigint;
397
+ l2Gas: string | number | bigint;
398
+ };
399
+ teardownGasLimits: {
400
+ daGas: string | number | bigint;
401
+ l2Gas: string | number | bigint;
402
+ };
403
+ maxFeesPerGas: {
404
+ feePerDaGas: string;
405
+ feePerL2Gas: string;
406
+ };
407
+ maxPriorityFeesPerGas: {
408
+ feePerDaGas: string;
409
+ feePerL2Gas: string;
410
+ };
411
+ };
178
412
  nonRevertibleAccumulatedData: {
179
413
  noteHashes: string[];
180
414
  nullifiers: string[];
415
+ l2ToL1Messages: {
416
+ message: {
417
+ counter: number;
418
+ recipient: string;
419
+ content: string;
420
+ };
421
+ contractAddress?: any;
422
+ }[];
181
423
  };
182
424
  revertibleAccumulatedData: {
183
425
  noteHashes: string[];
184
426
  nullifiers: string[];
427
+ l2ToL1Messages: {
428
+ message: {
429
+ counter: number;
430
+ recipient: string;
431
+ content: string;
432
+ };
433
+ contractAddress?: any;
434
+ }[];
435
+ };
436
+ effectiveGasFees: {
437
+ feePerDaGas: string;
438
+ feePerL2Gas: string;
185
439
  };
186
440
  setupEnqueuedCalls: {
187
441
  isStaticCall: boolean;
@@ -201,6 +455,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
201
455
  contractAddress?: any;
202
456
  msgSender?: any;
203
457
  } | null;
458
+ gasUsedByPrivate: {
459
+ daGas: string | number | bigint;
460
+ l2Gas: string | number | bigint;
461
+ };
204
462
  }>, import("./avm.js").AvmTxHint, {
205
463
  hash: string;
206
464
  globalVariables: {
@@ -216,13 +474,51 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
216
474
  coinbase?: any;
217
475
  feeRecipient?: any;
218
476
  };
477
+ gasSettings: {
478
+ gasLimits: {
479
+ daGas: string | number | bigint;
480
+ l2Gas: string | number | bigint;
481
+ };
482
+ teardownGasLimits: {
483
+ daGas: string | number | bigint;
484
+ l2Gas: string | number | bigint;
485
+ };
486
+ maxFeesPerGas: {
487
+ feePerDaGas: string;
488
+ feePerL2Gas: string;
489
+ };
490
+ maxPriorityFeesPerGas: {
491
+ feePerDaGas: string;
492
+ feePerL2Gas: string;
493
+ };
494
+ };
219
495
  nonRevertibleAccumulatedData: {
220
496
  noteHashes: string[];
221
497
  nullifiers: string[];
498
+ l2ToL1Messages: {
499
+ message: {
500
+ counter: number;
501
+ recipient: string;
502
+ content: string;
503
+ };
504
+ contractAddress?: any;
505
+ }[];
222
506
  };
223
507
  revertibleAccumulatedData: {
224
508
  noteHashes: string[];
225
509
  nullifiers: string[];
510
+ l2ToL1Messages: {
511
+ message: {
512
+ counter: number;
513
+ recipient: string;
514
+ content: string;
515
+ };
516
+ contractAddress?: any;
517
+ }[];
518
+ };
519
+ effectiveGasFees: {
520
+ feePerDaGas: string;
521
+ feePerL2Gas: string;
226
522
  };
227
523
  setupEnqueuedCalls: {
228
524
  isStaticCall: boolean;
@@ -242,6 +538,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
242
538
  contractAddress?: any;
243
539
  msgSender?: any;
244
540
  } | null;
541
+ gasUsedByPrivate: {
542
+ daGas: string | number | bigint;
543
+ l2Gas: string | number | bigint;
544
+ };
245
545
  }>;
246
546
  contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
247
547
  address: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
@@ -2001,13 +2301,51 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2001
2301
  coinbase?: any;
2002
2302
  feeRecipient?: any;
2003
2303
  };
2304
+ gasSettings: {
2305
+ gasLimits: {
2306
+ daGas: string | number | bigint;
2307
+ l2Gas: string | number | bigint;
2308
+ };
2309
+ teardownGasLimits: {
2310
+ daGas: string | number | bigint;
2311
+ l2Gas: string | number | bigint;
2312
+ };
2313
+ maxFeesPerGas: {
2314
+ feePerDaGas: string;
2315
+ feePerL2Gas: string;
2316
+ };
2317
+ maxPriorityFeesPerGas: {
2318
+ feePerDaGas: string;
2319
+ feePerL2Gas: string;
2320
+ };
2321
+ };
2004
2322
  nonRevertibleAccumulatedData: {
2005
2323
  noteHashes: string[];
2006
2324
  nullifiers: string[];
2325
+ l2ToL1Messages: {
2326
+ message: {
2327
+ counter: number;
2328
+ recipient: string;
2329
+ content: string;
2330
+ };
2331
+ contractAddress?: any;
2332
+ }[];
2007
2333
  };
2008
2334
  revertibleAccumulatedData: {
2009
2335
  noteHashes: string[];
2010
2336
  nullifiers: string[];
2337
+ l2ToL1Messages: {
2338
+ message: {
2339
+ counter: number;
2340
+ recipient: string;
2341
+ content: string;
2342
+ };
2343
+ contractAddress?: any;
2344
+ }[];
2345
+ };
2346
+ effectiveGasFees: {
2347
+ feePerDaGas: string;
2348
+ feePerL2Gas: string;
2011
2349
  };
2012
2350
  setupEnqueuedCalls: {
2013
2351
  isStaticCall: boolean;
@@ -2027,6 +2365,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2027
2365
  contractAddress?: any;
2028
2366
  msgSender?: any;
2029
2367
  } | null;
2368
+ gasUsedByPrivate: {
2369
+ daGas: string | number | bigint;
2370
+ l2Gas: string | number | bigint;
2371
+ };
2030
2372
  };
2031
2373
  contractInstances: {
2032
2374
  salt: string;
@@ -2328,13 +2670,51 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2328
2670
  coinbase?: any;
2329
2671
  feeRecipient?: any;
2330
2672
  };
2673
+ gasSettings: {
2674
+ gasLimits: {
2675
+ daGas: string | number | bigint;
2676
+ l2Gas: string | number | bigint;
2677
+ };
2678
+ teardownGasLimits: {
2679
+ daGas: string | number | bigint;
2680
+ l2Gas: string | number | bigint;
2681
+ };
2682
+ maxFeesPerGas: {
2683
+ feePerDaGas: string;
2684
+ feePerL2Gas: string;
2685
+ };
2686
+ maxPriorityFeesPerGas: {
2687
+ feePerDaGas: string;
2688
+ feePerL2Gas: string;
2689
+ };
2690
+ };
2331
2691
  nonRevertibleAccumulatedData: {
2332
2692
  noteHashes: string[];
2333
2693
  nullifiers: string[];
2694
+ l2ToL1Messages: {
2695
+ message: {
2696
+ counter: number;
2697
+ recipient: string;
2698
+ content: string;
2699
+ };
2700
+ contractAddress?: any;
2701
+ }[];
2334
2702
  };
2335
2703
  revertibleAccumulatedData: {
2336
2704
  noteHashes: string[];
2337
2705
  nullifiers: string[];
2706
+ l2ToL1Messages: {
2707
+ message: {
2708
+ counter: number;
2709
+ recipient: string;
2710
+ content: string;
2711
+ };
2712
+ contractAddress?: any;
2713
+ }[];
2714
+ };
2715
+ effectiveGasFees: {
2716
+ feePerDaGas: string;
2717
+ feePerL2Gas: string;
2338
2718
  };
2339
2719
  setupEnqueuedCalls: {
2340
2720
  isStaticCall: boolean;
@@ -2354,6 +2734,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2354
2734
  contractAddress?: any;
2355
2735
  msgSender?: any;
2356
2736
  } | null;
2737
+ gasUsedByPrivate: {
2738
+ daGas: string | number | bigint;
2739
+ l2Gas: string | number | bigint;
2740
+ };
2357
2741
  };
2358
2742
  contractInstances: {
2359
2743
  salt: string;
@@ -2895,7 +3279,37 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2895
3279
  feePerL2Gas: string;
2896
3280
  };
2897
3281
  }>;
3282
+ effectiveGasFees: z.ZodEffects<z.ZodObject<{
3283
+ feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3284
+ feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3285
+ }, "strip", z.ZodTypeAny, {
3286
+ feePerDaGas: import("@aztec/foundation/schemas").Fr;
3287
+ feePerL2Gas: import("@aztec/foundation/schemas").Fr;
3288
+ }, {
3289
+ feePerDaGas: string;
3290
+ feePerL2Gas: string;
3291
+ }>, import("../gas/gas_fees.js").GasFees, {
3292
+ feePerDaGas: string;
3293
+ feePerL2Gas: string;
3294
+ }>;
2898
3295
  feePayer: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3296
+ publicCallRequestArrayLengths: z.ZodEffects<z.ZodObject<{
3297
+ setupCalls: z.ZodNumber;
3298
+ appLogicCalls: z.ZodNumber;
3299
+ teardownCall: z.ZodBoolean;
3300
+ }, "strip", z.ZodTypeAny, {
3301
+ setupCalls: number;
3302
+ appLogicCalls: number;
3303
+ teardownCall: boolean;
3304
+ }, {
3305
+ setupCalls: number;
3306
+ appLogicCalls: number;
3307
+ teardownCall: boolean;
3308
+ }>, import("../kernel/public_call_request.js").PublicCallRequestArrayLengths, {
3309
+ setupCalls: number;
3310
+ appLogicCalls: number;
3311
+ teardownCall: boolean;
3312
+ }>;
2899
3313
  publicSetupCallRequests: z.ZodArray<z.ZodEffects<z.ZodObject<{
2900
3314
  msgSender: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
2901
3315
  contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
@@ -3233,6 +3647,31 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3233
3647
  daGas: string | number | bigint;
3234
3648
  l2Gas: string | number | bigint;
3235
3649
  }>;
3650
+ accumulatedDataArrayLengths: z.ZodEffects<z.ZodObject<{
3651
+ noteHashes: z.ZodNumber;
3652
+ nullifiers: z.ZodNumber;
3653
+ l2ToL1Msgs: z.ZodNumber;
3654
+ publicLogs: z.ZodNumber;
3655
+ publicDataWrites: z.ZodNumber;
3656
+ }, "strip", z.ZodTypeAny, {
3657
+ noteHashes: number;
3658
+ nullifiers: number;
3659
+ l2ToL1Msgs: number;
3660
+ publicLogs: number;
3661
+ publicDataWrites: number;
3662
+ }, {
3663
+ noteHashes: number;
3664
+ nullifiers: number;
3665
+ l2ToL1Msgs: number;
3666
+ publicLogs: number;
3667
+ publicDataWrites: number;
3668
+ }>, import("./avm_accumulated_data.js").AvmAccumulatedDataArrayLengths, {
3669
+ noteHashes: number;
3670
+ nullifiers: number;
3671
+ l2ToL1Msgs: number;
3672
+ publicLogs: number;
3673
+ publicDataWrites: number;
3674
+ }>;
3236
3675
  accumulatedData: z.ZodEffects<z.ZodObject<{
3237
3676
  noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
3238
3677
  nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
@@ -3334,8 +3773,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3334
3773
  publicTeardownCallRequest: import("../kernel/public_call_request.js").PublicCallRequest;
3335
3774
  transactionFee: import("@aztec/foundation/schemas").Fr;
3336
3775
  feePayer: import("../aztec-address/index.js").AztecAddress;
3776
+ effectiveGasFees: import("../gas/gas_fees.js").GasFees;
3337
3777
  startTreeSnapshots: import("../tx/tree_snapshots.js").TreeSnapshots;
3338
3778
  startGasUsed: import("../gas/gas.js").Gas;
3779
+ publicCallRequestArrayLengths: import("../kernel/public_call_request.js").PublicCallRequestArrayLengths;
3339
3780
  publicSetupCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
3340
3781
  publicAppLogicCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
3341
3782
  previousNonRevertibleAccumulatedDataArrayLengths: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedDataArrayLengths;
@@ -3344,6 +3785,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3344
3785
  previousRevertibleAccumulatedData: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData;
3345
3786
  endTreeSnapshots: import("../tx/tree_snapshots.js").TreeSnapshots;
3346
3787
  endGasUsed: import("../gas/gas.js").Gas;
3788
+ accumulatedDataArrayLengths: import("./avm_accumulated_data.js").AvmAccumulatedDataArrayLengths;
3347
3789
  accumulatedData: import("./avm_accumulated_data.js").AvmAccumulatedData;
3348
3790
  reverted: boolean;
3349
3791
  }, {
@@ -3385,6 +3827,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3385
3827
  msgSender?: any;
3386
3828
  };
3387
3829
  transactionFee: string;
3830
+ effectiveGasFees: {
3831
+ feePerDaGas: string;
3832
+ feePerL2Gas: string;
3833
+ };
3388
3834
  startTreeSnapshots: {
3389
3835
  noteHashTree: {
3390
3836
  root: string;
@@ -3407,6 +3853,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3407
3853
  daGas: string | number | bigint;
3408
3854
  l2Gas: string | number | bigint;
3409
3855
  };
3856
+ publicCallRequestArrayLengths: {
3857
+ setupCalls: number;
3858
+ appLogicCalls: number;
3859
+ teardownCall: boolean;
3860
+ };
3410
3861
  publicSetupCallRequests: {
3411
3862
  isStaticCall: boolean;
3412
3863
  calldataHash: string;
@@ -3475,6 +3926,13 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3475
3926
  daGas: string | number | bigint;
3476
3927
  l2Gas: string | number | bigint;
3477
3928
  };
3929
+ accumulatedDataArrayLengths: {
3930
+ noteHashes: number;
3931
+ nullifiers: number;
3932
+ l2ToL1Msgs: number;
3933
+ publicLogs: number;
3934
+ publicDataWrites: number;
3935
+ };
3478
3936
  accumulatedData: {
3479
3937
  noteHashes: string[];
3480
3938
  nullifiers: string[];
@@ -3533,6 +3991,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3533
3991
  msgSender?: any;
3534
3992
  };
3535
3993
  transactionFee: string;
3994
+ effectiveGasFees: {
3995
+ feePerDaGas: string;
3996
+ feePerL2Gas: string;
3997
+ };
3536
3998
  startTreeSnapshots: {
3537
3999
  noteHashTree: {
3538
4000
  root: string;
@@ -3555,6 +4017,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3555
4017
  daGas: string | number | bigint;
3556
4018
  l2Gas: string | number | bigint;
3557
4019
  };
4020
+ publicCallRequestArrayLengths: {
4021
+ setupCalls: number;
4022
+ appLogicCalls: number;
4023
+ teardownCall: boolean;
4024
+ };
3558
4025
  publicSetupCallRequests: {
3559
4026
  isStaticCall: boolean;
3560
4027
  calldataHash: string;
@@ -3623,6 +4090,13 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3623
4090
  daGas: string | number | bigint;
3624
4091
  l2Gas: string | number | bigint;
3625
4092
  };
4093
+ accumulatedDataArrayLengths: {
4094
+ noteHashes: number;
4095
+ nullifiers: number;
4096
+ l2ToL1Msgs: number;
4097
+ publicLogs: number;
4098
+ publicDataWrites: number;
4099
+ };
3626
4100
  accumulatedData: {
3627
4101
  noteHashes: string[];
3628
4102
  nullifiers: string[];
@@ -3686,6 +4160,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3686
4160
  msgSender?: any;
3687
4161
  };
3688
4162
  transactionFee: string;
4163
+ effectiveGasFees: {
4164
+ feePerDaGas: string;
4165
+ feePerL2Gas: string;
4166
+ };
3689
4167
  startTreeSnapshots: {
3690
4168
  noteHashTree: {
3691
4169
  root: string;
@@ -3708,6 +4186,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3708
4186
  daGas: string | number | bigint;
3709
4187
  l2Gas: string | number | bigint;
3710
4188
  };
4189
+ publicCallRequestArrayLengths: {
4190
+ setupCalls: number;
4191
+ appLogicCalls: number;
4192
+ teardownCall: boolean;
4193
+ };
3711
4194
  publicSetupCallRequests: {
3712
4195
  isStaticCall: boolean;
3713
4196
  calldataHash: string;
@@ -3776,6 +4259,13 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3776
4259
  daGas: string | number | bigint;
3777
4260
  l2Gas: string | number | bigint;
3778
4261
  };
4262
+ accumulatedDataArrayLengths: {
4263
+ noteHashes: number;
4264
+ nullifiers: number;
4265
+ l2ToL1Msgs: number;
4266
+ publicLogs: number;
4267
+ publicDataWrites: number;
4268
+ };
3779
4269
  accumulatedData: {
3780
4270
  noteHashes: string[];
3781
4271
  nullifiers: string[];
@@ -3812,13 +4302,51 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3812
4302
  coinbase?: any;
3813
4303
  feeRecipient?: any;
3814
4304
  };
4305
+ gasSettings: {
4306
+ gasLimits: {
4307
+ daGas: string | number | bigint;
4308
+ l2Gas: string | number | bigint;
4309
+ };
4310
+ teardownGasLimits: {
4311
+ daGas: string | number | bigint;
4312
+ l2Gas: string | number | bigint;
4313
+ };
4314
+ maxFeesPerGas: {
4315
+ feePerDaGas: string;
4316
+ feePerL2Gas: string;
4317
+ };
4318
+ maxPriorityFeesPerGas: {
4319
+ feePerDaGas: string;
4320
+ feePerL2Gas: string;
4321
+ };
4322
+ };
3815
4323
  nonRevertibleAccumulatedData: {
3816
4324
  noteHashes: string[];
3817
4325
  nullifiers: string[];
4326
+ l2ToL1Messages: {
4327
+ message: {
4328
+ counter: number;
4329
+ recipient: string;
4330
+ content: string;
4331
+ };
4332
+ contractAddress?: any;
4333
+ }[];
3818
4334
  };
3819
4335
  revertibleAccumulatedData: {
3820
4336
  noteHashes: string[];
3821
4337
  nullifiers: string[];
4338
+ l2ToL1Messages: {
4339
+ message: {
4340
+ counter: number;
4341
+ recipient: string;
4342
+ content: string;
4343
+ };
4344
+ contractAddress?: any;
4345
+ }[];
4346
+ };
4347
+ effectiveGasFees: {
4348
+ feePerDaGas: string;
4349
+ feePerL2Gas: string;
3822
4350
  };
3823
4351
  setupEnqueuedCalls: {
3824
4352
  isStaticCall: boolean;
@@ -3838,6 +4366,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3838
4366
  contractAddress?: any;
3839
4367
  msgSender?: any;
3840
4368
  } | null;
4369
+ gasUsedByPrivate: {
4370
+ daGas: string | number | bigint;
4371
+ l2Gas: string | number | bigint;
4372
+ };
3841
4373
  };
3842
4374
  contractInstances: {
3843
4375
  salt: string;
@@ -4164,6 +4696,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4164
4696
  msgSender?: any;
4165
4697
  };
4166
4698
  transactionFee: string;
4699
+ effectiveGasFees: {
4700
+ feePerDaGas: string;
4701
+ feePerL2Gas: string;
4702
+ };
4167
4703
  startTreeSnapshots: {
4168
4704
  noteHashTree: {
4169
4705
  root: string;
@@ -4186,6 +4722,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4186
4722
  daGas: string | number | bigint;
4187
4723
  l2Gas: string | number | bigint;
4188
4724
  };
4725
+ publicCallRequestArrayLengths: {
4726
+ setupCalls: number;
4727
+ appLogicCalls: number;
4728
+ teardownCall: boolean;
4729
+ };
4189
4730
  publicSetupCallRequests: {
4190
4731
  isStaticCall: boolean;
4191
4732
  calldataHash: string;
@@ -4254,6 +4795,13 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4254
4795
  daGas: string | number | bigint;
4255
4796
  l2Gas: string | number | bigint;
4256
4797
  };
4798
+ accumulatedDataArrayLengths: {
4799
+ noteHashes: number;
4800
+ nullifiers: number;
4801
+ l2ToL1Msgs: number;
4802
+ publicLogs: number;
4803
+ publicDataWrites: number;
4804
+ };
4257
4805
  accumulatedData: {
4258
4806
  noteHashes: string[];
4259
4807
  nullifiers: string[];
@@ -4290,13 +4838,51 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4290
4838
  coinbase?: any;
4291
4839
  feeRecipient?: any;
4292
4840
  };
4841
+ gasSettings: {
4842
+ gasLimits: {
4843
+ daGas: string | number | bigint;
4844
+ l2Gas: string | number | bigint;
4845
+ };
4846
+ teardownGasLimits: {
4847
+ daGas: string | number | bigint;
4848
+ l2Gas: string | number | bigint;
4849
+ };
4850
+ maxFeesPerGas: {
4851
+ feePerDaGas: string;
4852
+ feePerL2Gas: string;
4853
+ };
4854
+ maxPriorityFeesPerGas: {
4855
+ feePerDaGas: string;
4856
+ feePerL2Gas: string;
4857
+ };
4858
+ };
4293
4859
  nonRevertibleAccumulatedData: {
4294
4860
  noteHashes: string[];
4295
4861
  nullifiers: string[];
4862
+ l2ToL1Messages: {
4863
+ message: {
4864
+ counter: number;
4865
+ recipient: string;
4866
+ content: string;
4867
+ };
4868
+ contractAddress?: any;
4869
+ }[];
4296
4870
  };
4297
4871
  revertibleAccumulatedData: {
4298
4872
  noteHashes: string[];
4299
4873
  nullifiers: string[];
4874
+ l2ToL1Messages: {
4875
+ message: {
4876
+ counter: number;
4877
+ recipient: string;
4878
+ content: string;
4879
+ };
4880
+ contractAddress?: any;
4881
+ }[];
4882
+ };
4883
+ effectiveGasFees: {
4884
+ feePerDaGas: string;
4885
+ feePerL2Gas: string;
4300
4886
  };
4301
4887
  setupEnqueuedCalls: {
4302
4888
  isStaticCall: boolean;
@@ -4316,6 +4902,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4316
4902
  contractAddress?: any;
4317
4903
  msgSender?: any;
4318
4904
  } | null;
4905
+ gasUsedByPrivate: {
4906
+ daGas: string | number | bigint;
4907
+ l2Gas: string | number | bigint;
4908
+ };
4319
4909
  };
4320
4910
  contractInstances: {
4321
4911
  salt: string;
@@ -4648,6 +5238,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4648
5238
  msgSender?: any;
4649
5239
  };
4650
5240
  transactionFee: string;
5241
+ effectiveGasFees: {
5242
+ feePerDaGas: string;
5243
+ feePerL2Gas: string;
5244
+ };
4651
5245
  startTreeSnapshots: {
4652
5246
  noteHashTree: {
4653
5247
  root: string;
@@ -4670,6 +5264,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4670
5264
  daGas: string | number | bigint;
4671
5265
  l2Gas: string | number | bigint;
4672
5266
  };
5267
+ publicCallRequestArrayLengths: {
5268
+ setupCalls: number;
5269
+ appLogicCalls: number;
5270
+ teardownCall: boolean;
5271
+ };
4673
5272
  publicSetupCallRequests: {
4674
5273
  isStaticCall: boolean;
4675
5274
  calldataHash: string;
@@ -4738,6 +5337,13 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4738
5337
  daGas: string | number | bigint;
4739
5338
  l2Gas: string | number | bigint;
4740
5339
  };
5340
+ accumulatedDataArrayLengths: {
5341
+ noteHashes: number;
5342
+ nullifiers: number;
5343
+ l2ToL1Msgs: number;
5344
+ publicLogs: number;
5345
+ publicDataWrites: number;
5346
+ };
4741
5347
  accumulatedData: {
4742
5348
  noteHashes: string[];
4743
5349
  nullifiers: string[];
@@ -4774,13 +5380,51 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4774
5380
  coinbase?: any;
4775
5381
  feeRecipient?: any;
4776
5382
  };
5383
+ gasSettings: {
5384
+ gasLimits: {
5385
+ daGas: string | number | bigint;
5386
+ l2Gas: string | number | bigint;
5387
+ };
5388
+ teardownGasLimits: {
5389
+ daGas: string | number | bigint;
5390
+ l2Gas: string | number | bigint;
5391
+ };
5392
+ maxFeesPerGas: {
5393
+ feePerDaGas: string;
5394
+ feePerL2Gas: string;
5395
+ };
5396
+ maxPriorityFeesPerGas: {
5397
+ feePerDaGas: string;
5398
+ feePerL2Gas: string;
5399
+ };
5400
+ };
4777
5401
  nonRevertibleAccumulatedData: {
4778
5402
  noteHashes: string[];
4779
5403
  nullifiers: string[];
5404
+ l2ToL1Messages: {
5405
+ message: {
5406
+ counter: number;
5407
+ recipient: string;
5408
+ content: string;
5409
+ };
5410
+ contractAddress?: any;
5411
+ }[];
4780
5412
  };
4781
5413
  revertibleAccumulatedData: {
4782
5414
  noteHashes: string[];
4783
5415
  nullifiers: string[];
5416
+ l2ToL1Messages: {
5417
+ message: {
5418
+ counter: number;
5419
+ recipient: string;
5420
+ content: string;
5421
+ };
5422
+ contractAddress?: any;
5423
+ }[];
5424
+ };
5425
+ effectiveGasFees: {
5426
+ feePerDaGas: string;
5427
+ feePerL2Gas: string;
4784
5428
  };
4785
5429
  setupEnqueuedCalls: {
4786
5430
  isStaticCall: boolean;
@@ -4800,6 +5444,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4800
5444
  contractAddress?: any;
4801
5445
  msgSender?: any;
4802
5446
  } | null;
5447
+ gasUsedByPrivate: {
5448
+ daGas: string | number | bigint;
5449
+ l2Gas: string | number | bigint;
5450
+ };
4803
5451
  };
4804
5452
  contractInstances: {
4805
5453
  salt: string;