@aztec/stdlib 1.0.0-nightly.20250606 → 1.0.0-nightly.20250607

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 (121) hide show
  1. package/dest/avm/avm.d.ts +304 -304
  2. package/dest/avm/avm_circuit_public_inputs.d.ts +60 -60
  3. package/dest/avm/avm_proving_request.d.ts +184 -184
  4. package/dest/avm/message_pack.d.ts.map +1 -1
  5. package/dest/avm/message_pack.js +2 -1
  6. package/dest/block/l2_block.js +1 -1
  7. package/dest/block/l2_block_code_to_purge.js +1 -1
  8. package/dest/block/l2_block_source.d.ts +2 -0
  9. package/dest/block/l2_block_source.d.ts.map +1 -1
  10. package/dest/fees/transaction_fee.js +3 -3
  11. package/dest/gas/gas.js +1 -1
  12. package/dest/gas/gas_fees.d.ts +15 -14
  13. package/dest/gas/gas_fees.d.ts.map +1 -1
  14. package/dest/gas/gas_fees.js +17 -18
  15. package/dest/gas/gas_settings.d.ts +24 -24
  16. package/dest/gas/gas_settings.d.ts.map +1 -1
  17. package/dest/gas/gas_settings.js +1 -1
  18. package/dest/interfaces/archiver.d.ts.map +1 -1
  19. package/dest/interfaces/archiver.js +1 -0
  20. package/dest/interfaces/proving-job.d.ts +185 -185
  21. package/dest/interfaces/proving-job.d.ts.map +1 -1
  22. package/dest/interfaces/service.d.ts +1 -2
  23. package/dest/interfaces/service.d.ts.map +1 -1
  24. package/dest/interfaces/service.js +0 -7
  25. package/dest/kernel/combined_constant_data.d.ts +71 -0
  26. package/dest/kernel/combined_constant_data.d.ts.map +1 -0
  27. package/dest/kernel/combined_constant_data.js +73 -0
  28. package/dest/kernel/index.d.ts +1 -0
  29. package/dest/kernel/index.d.ts.map +1 -1
  30. package/dest/kernel/index.js +1 -0
  31. package/dest/rollup/base_or_merge_rollup_public_inputs.d.ts +3 -3
  32. package/dest/rollup/base_or_merge_rollup_public_inputs.d.ts.map +1 -1
  33. package/dest/rollup/base_or_merge_rollup_public_inputs.js +3 -3
  34. package/dest/rollup/base_rollup_hints.d.ts +14 -15
  35. package/dest/rollup/base_rollup_hints.d.ts.map +1 -1
  36. package/dest/rollup/base_rollup_hints.js +12 -13
  37. package/dest/rollup/block_root_or_block_merge_public_inputs.d.ts +24 -9
  38. package/dest/rollup/block_root_or_block_merge_public_inputs.d.ts.map +1 -1
  39. package/dest/rollup/block_root_or_block_merge_public_inputs.js +14 -7
  40. package/dest/rollup/block_root_rollup.d.ts +2 -2
  41. package/dest/rollup/block_root_rollup.js +1 -1
  42. package/dest/rollup/constant_rollup_data.d.ts +45 -0
  43. package/dest/rollup/constant_rollup_data.d.ts.map +1 -0
  44. package/dest/rollup/{block_constant_data.js → constant_rollup_data.js} +13 -10
  45. package/dest/rollup/empty_block_root_rollup_inputs.d.ts +4 -4
  46. package/dest/rollup/empty_block_root_rollup_inputs.d.ts.map +1 -1
  47. package/dest/rollup/empty_block_root_rollup_inputs.js +2 -2
  48. package/dest/rollup/index.d.ts +1 -2
  49. package/dest/rollup/index.d.ts.map +1 -1
  50. package/dest/rollup/index.js +1 -2
  51. package/dest/rollup/root_rollup.d.ts +6 -2
  52. package/dest/rollup/root_rollup.d.ts.map +1 -1
  53. package/dest/rollup/root_rollup.js +6 -3
  54. package/dest/tests/factories.d.ts +10 -1
  55. package/dest/tests/factories.d.ts.map +1 -1
  56. package/dest/tests/factories.js +33 -20
  57. package/dest/tests/mocks.js +2 -2
  58. package/dest/trees/append_only_tree_snapshot.d.ts +2 -2
  59. package/dest/trees/append_only_tree_snapshot.d.ts.map +1 -1
  60. package/dest/trees/append_only_tree_snapshot.js +2 -2
  61. package/dest/tx/block_header.js +2 -2
  62. package/dest/tx/global_variables.d.ts +12 -12
  63. package/dest/tx/global_variables.js +2 -2
  64. package/dest/tx/partial_state_reference.js +2 -2
  65. package/dest/tx/processed_tx.d.ts +3 -2
  66. package/dest/tx/processed_tx.d.ts.map +1 -1
  67. package/dest/tx/processed_tx.js +7 -5
  68. package/dest/tx/proposed_block_header.d.ts +2 -2
  69. package/dest/tx/proposed_block_header.js +1 -1
  70. package/dest/tx/public_simulation_output.d.ts +3 -3
  71. package/dest/tx/public_simulation_output.d.ts.map +1 -1
  72. package/dest/tx/public_simulation_output.js +7 -7
  73. package/dest/tx/state_reference.js +2 -2
  74. package/dest/tx/tree_snapshots.js +2 -2
  75. package/dest/tx/tx_context.d.ts +32 -32
  76. package/dest/types/shared.d.ts +4 -0
  77. package/dest/types/shared.d.ts.map +1 -1
  78. package/dest/zkpassport/index.d.ts +31 -0
  79. package/dest/zkpassport/index.d.ts.map +1 -0
  80. package/dest/zkpassport/index.js +81 -0
  81. package/package.json +9 -8
  82. package/src/avm/message_pack.ts +1 -0
  83. package/src/block/l2_block.ts +1 -1
  84. package/src/block/l2_block_code_to_purge.ts +1 -1
  85. package/src/block/l2_block_source.ts +3 -0
  86. package/src/fees/transaction_fee.ts +5 -5
  87. package/src/gas/gas.ts +1 -1
  88. package/src/gas/gas_fees.ts +27 -23
  89. package/src/gas/gas_settings.ts +1 -5
  90. package/src/interfaces/archiver.ts +1 -0
  91. package/src/interfaces/service.ts +1 -11
  92. package/src/kernel/combined_constant_data.ts +128 -0
  93. package/src/kernel/index.ts +1 -0
  94. package/src/rollup/base_or_merge_rollup_public_inputs.ts +4 -4
  95. package/src/rollup/base_rollup_hints.ts +11 -12
  96. package/src/rollup/block_root_or_block_merge_public_inputs.ts +18 -7
  97. package/src/rollup/block_root_rollup.ts +1 -1
  98. package/src/rollup/constant_rollup_data.ts +54 -0
  99. package/src/rollup/empty_block_root_rollup_inputs.ts +3 -3
  100. package/src/rollup/index.ts +1 -2
  101. package/src/rollup/root_rollup.ts +7 -5
  102. package/src/tests/factories.ts +54 -30
  103. package/src/tests/mocks.ts +2 -2
  104. package/src/trees/append_only_tree_snapshot.ts +2 -2
  105. package/src/tx/block_header.ts +2 -2
  106. package/src/tx/global_variables.ts +2 -2
  107. package/src/tx/partial_state_reference.ts +4 -4
  108. package/src/tx/processed_tx.ts +10 -7
  109. package/src/tx/proposed_block_header.ts +1 -1
  110. package/src/tx/public_simulation_output.ts +5 -5
  111. package/src/tx/state_reference.ts +2 -2
  112. package/src/tx/tree_snapshots.ts +8 -8
  113. package/src/types/shared.ts +5 -0
  114. package/src/zkpassport/index.ts +115 -0
  115. package/dest/rollup/block_constant_data.d.ts +0 -37
  116. package/dest/rollup/block_constant_data.d.ts.map +0 -1
  117. package/dest/rollup/epoch_constant_data.d.ts +0 -39
  118. package/dest/rollup/epoch_constant_data.d.ts.map +0 -1
  119. package/dest/rollup/epoch_constant_data.js +0 -40
  120. package/src/rollup/block_constant_data.ts +0 -63
  121. package/src/rollup/epoch_constant_data.ts +0 -44
@@ -17,17 +17,17 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
17
17
  coinbase: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").EthAddress>;
18
18
  feeRecipient: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
19
19
  gasFees: z.ZodEffects<z.ZodObject<{
20
- feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
21
- feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
20
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
21
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
22
22
  }, "strip", z.ZodTypeAny, {
23
- feePerDaGas: import("@aztec/foundation/schemas").Fr;
24
- feePerL2Gas: import("@aztec/foundation/schemas").Fr;
23
+ feePerDaGas: bigint;
24
+ feePerL2Gas: bigint;
25
25
  }, {
26
- feePerDaGas: string;
27
- feePerL2Gas: string;
26
+ feePerDaGas: string | number | bigint;
27
+ feePerL2Gas: string | number | bigint;
28
28
  }>, import("../gas/gas_fees.js").GasFees, {
29
- feePerDaGas: string;
30
- feePerL2Gas: string;
29
+ feePerDaGas: string | number | bigint;
30
+ feePerL2Gas: string | number | bigint;
31
31
  }>;
32
32
  }, "strip", z.ZodTypeAny, {
33
33
  chainId: import("@aztec/foundation/schemas").Fr;
@@ -40,8 +40,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
40
40
  gasFees: import("../gas/gas_fees.js").GasFees;
41
41
  }, {
42
42
  gasFees: {
43
- feePerDaGas: string;
44
- feePerL2Gas: string;
43
+ feePerDaGas: string | number | bigint;
44
+ feePerL2Gas: string | number | bigint;
45
45
  };
46
46
  chainId?: any;
47
47
  version?: any;
@@ -52,8 +52,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
52
52
  feeRecipient?: any;
53
53
  }>, import("../tx/global_variables.js").GlobalVariables, {
54
54
  gasFees: {
55
- feePerDaGas: string;
56
- feePerL2Gas: string;
55
+ feePerDaGas: string | number | bigint;
56
+ feePerL2Gas: string | number | bigint;
57
57
  };
58
58
  chainId?: any;
59
59
  version?: any;
@@ -91,30 +91,30 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
91
91
  l2Gas: string | number | bigint;
92
92
  }>;
93
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>;
94
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
95
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
96
96
  }, "strip", z.ZodTypeAny, {
97
- feePerDaGas: import("@aztec/foundation/schemas").Fr;
98
- feePerL2Gas: import("@aztec/foundation/schemas").Fr;
97
+ feePerDaGas: bigint;
98
+ feePerL2Gas: bigint;
99
99
  }, {
100
- feePerDaGas: string;
101
- feePerL2Gas: string;
100
+ feePerDaGas: string | number | bigint;
101
+ feePerL2Gas: string | number | bigint;
102
102
  }>, import("../gas/gas_fees.js").GasFees, {
103
- feePerDaGas: string;
104
- feePerL2Gas: string;
103
+ feePerDaGas: string | number | bigint;
104
+ feePerL2Gas: string | number | bigint;
105
105
  }>;
106
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>;
107
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
108
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
109
109
  }, "strip", z.ZodTypeAny, {
110
- feePerDaGas: import("@aztec/foundation/schemas").Fr;
111
- feePerL2Gas: import("@aztec/foundation/schemas").Fr;
110
+ feePerDaGas: bigint;
111
+ feePerL2Gas: bigint;
112
112
  }, {
113
- feePerDaGas: string;
114
- feePerL2Gas: string;
113
+ feePerDaGas: string | number | bigint;
114
+ feePerL2Gas: string | number | bigint;
115
115
  }>, import("../gas/gas_fees.js").GasFees, {
116
- feePerDaGas: string;
117
- feePerL2Gas: string;
116
+ feePerDaGas: string | number | bigint;
117
+ feePerL2Gas: string | number | bigint;
118
118
  }>;
119
119
  }, "strip", z.ZodTypeAny, {
120
120
  gasLimits: import("../gas/gas.js").Gas;
@@ -131,12 +131,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
131
131
  l2Gas: string | number | bigint;
132
132
  };
133
133
  maxFeesPerGas: {
134
- feePerDaGas: string;
135
- feePerL2Gas: string;
134
+ feePerDaGas: string | number | bigint;
135
+ feePerL2Gas: string | number | bigint;
136
136
  };
137
137
  maxPriorityFeesPerGas: {
138
- feePerDaGas: string;
139
- feePerL2Gas: string;
138
+ feePerDaGas: string | number | bigint;
139
+ feePerL2Gas: string | number | bigint;
140
140
  };
141
141
  }>, import("../gas/gas_settings.js").GasSettings, {
142
142
  gasLimits: {
@@ -148,26 +148,26 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
148
148
  l2Gas: string | number | bigint;
149
149
  };
150
150
  maxFeesPerGas: {
151
- feePerDaGas: string;
152
- feePerL2Gas: string;
151
+ feePerDaGas: string | number | bigint;
152
+ feePerL2Gas: string | number | bigint;
153
153
  };
154
154
  maxPriorityFeesPerGas: {
155
- feePerDaGas: string;
156
- feePerL2Gas: string;
155
+ feePerDaGas: string | number | bigint;
156
+ feePerL2Gas: string | number | bigint;
157
157
  };
158
158
  }>;
159
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>;
160
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
161
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
162
162
  }, "strip", z.ZodTypeAny, {
163
- feePerDaGas: import("@aztec/foundation/schemas").Fr;
164
- feePerL2Gas: import("@aztec/foundation/schemas").Fr;
163
+ feePerDaGas: bigint;
164
+ feePerL2Gas: bigint;
165
165
  }, {
166
- feePerDaGas: string;
167
- feePerL2Gas: string;
166
+ feePerDaGas: string | number | bigint;
167
+ feePerL2Gas: string | number | bigint;
168
168
  }>, import("../gas/gas_fees.js").GasFees, {
169
- feePerDaGas: string;
170
- feePerL2Gas: string;
169
+ feePerDaGas: string | number | bigint;
170
+ feePerL2Gas: string | number | bigint;
171
171
  }>;
172
172
  nonRevertibleAccumulatedData: z.ZodObject<{
173
173
  noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
@@ -366,8 +366,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
366
366
  hash: string;
367
367
  globalVariables: {
368
368
  gasFees: {
369
- feePerDaGas: string;
370
- feePerL2Gas: string;
369
+ feePerDaGas: string | number | bigint;
370
+ feePerL2Gas: string | number | bigint;
371
371
  };
372
372
  chainId?: any;
373
373
  version?: any;
@@ -387,12 +387,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
387
387
  l2Gas: string | number | bigint;
388
388
  };
389
389
  maxFeesPerGas: {
390
- feePerDaGas: string;
391
- feePerL2Gas: string;
390
+ feePerDaGas: string | number | bigint;
391
+ feePerL2Gas: string | number | bigint;
392
392
  };
393
393
  maxPriorityFeesPerGas: {
394
- feePerDaGas: string;
395
- feePerL2Gas: string;
394
+ feePerDaGas: string | number | bigint;
395
+ feePerL2Gas: string | number | bigint;
396
396
  };
397
397
  };
398
398
  nonRevertibleAccumulatedData: {
@@ -418,8 +418,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
418
418
  }[];
419
419
  };
420
420
  effectiveGasFees: {
421
- feePerDaGas: string;
422
- feePerL2Gas: string;
421
+ feePerDaGas: string | number | bigint;
422
+ feePerL2Gas: string | number | bigint;
423
423
  };
424
424
  setupEnqueuedCalls: {
425
425
  isStaticCall: boolean;
@@ -447,8 +447,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
447
447
  hash: string;
448
448
  globalVariables: {
449
449
  gasFees: {
450
- feePerDaGas: string;
451
- feePerL2Gas: string;
450
+ feePerDaGas: string | number | bigint;
451
+ feePerL2Gas: string | number | bigint;
452
452
  };
453
453
  chainId?: any;
454
454
  version?: any;
@@ -468,12 +468,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
468
468
  l2Gas: string | number | bigint;
469
469
  };
470
470
  maxFeesPerGas: {
471
- feePerDaGas: string;
472
- feePerL2Gas: string;
471
+ feePerDaGas: string | number | bigint;
472
+ feePerL2Gas: string | number | bigint;
473
473
  };
474
474
  maxPriorityFeesPerGas: {
475
- feePerDaGas: string;
476
- feePerL2Gas: string;
475
+ feePerDaGas: string | number | bigint;
476
+ feePerL2Gas: string | number | bigint;
477
477
  };
478
478
  };
479
479
  nonRevertibleAccumulatedData: {
@@ -499,8 +499,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
499
499
  }[];
500
500
  };
501
501
  effectiveGasFees: {
502
- feePerDaGas: string;
503
- feePerL2Gas: string;
502
+ feePerDaGas: string | number | bigint;
503
+ feePerL2Gas: string | number | bigint;
504
504
  };
505
505
  setupEnqueuedCalls: {
506
506
  isStaticCall: boolean;
@@ -2272,8 +2272,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2272
2272
  hash: string;
2273
2273
  globalVariables: {
2274
2274
  gasFees: {
2275
- feePerDaGas: string;
2276
- feePerL2Gas: string;
2275
+ feePerDaGas: string | number | bigint;
2276
+ feePerL2Gas: string | number | bigint;
2277
2277
  };
2278
2278
  chainId?: any;
2279
2279
  version?: any;
@@ -2293,12 +2293,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2293
2293
  l2Gas: string | number | bigint;
2294
2294
  };
2295
2295
  maxFeesPerGas: {
2296
- feePerDaGas: string;
2297
- feePerL2Gas: string;
2296
+ feePerDaGas: string | number | bigint;
2297
+ feePerL2Gas: string | number | bigint;
2298
2298
  };
2299
2299
  maxPriorityFeesPerGas: {
2300
- feePerDaGas: string;
2301
- feePerL2Gas: string;
2300
+ feePerDaGas: string | number | bigint;
2301
+ feePerL2Gas: string | number | bigint;
2302
2302
  };
2303
2303
  };
2304
2304
  nonRevertibleAccumulatedData: {
@@ -2324,8 +2324,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2324
2324
  }[];
2325
2325
  };
2326
2326
  effectiveGasFees: {
2327
- feePerDaGas: string;
2328
- feePerL2Gas: string;
2327
+ feePerDaGas: string | number | bigint;
2328
+ feePerL2Gas: string | number | bigint;
2329
2329
  };
2330
2330
  setupEnqueuedCalls: {
2331
2331
  isStaticCall: boolean;
@@ -2639,8 +2639,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2639
2639
  hash: string;
2640
2640
  globalVariables: {
2641
2641
  gasFees: {
2642
- feePerDaGas: string;
2643
- feePerL2Gas: string;
2642
+ feePerDaGas: string | number | bigint;
2643
+ feePerL2Gas: string | number | bigint;
2644
2644
  };
2645
2645
  chainId?: any;
2646
2646
  version?: any;
@@ -2660,12 +2660,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2660
2660
  l2Gas: string | number | bigint;
2661
2661
  };
2662
2662
  maxFeesPerGas: {
2663
- feePerDaGas: string;
2664
- feePerL2Gas: string;
2663
+ feePerDaGas: string | number | bigint;
2664
+ feePerL2Gas: string | number | bigint;
2665
2665
  };
2666
2666
  maxPriorityFeesPerGas: {
2667
- feePerDaGas: string;
2668
- feePerL2Gas: string;
2667
+ feePerDaGas: string | number | bigint;
2668
+ feePerL2Gas: string | number | bigint;
2669
2669
  };
2670
2670
  };
2671
2671
  nonRevertibleAccumulatedData: {
@@ -2691,8 +2691,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2691
2691
  }[];
2692
2692
  };
2693
2693
  effectiveGasFees: {
2694
- feePerDaGas: string;
2695
- feePerL2Gas: string;
2694
+ feePerDaGas: string | number | bigint;
2695
+ feePerL2Gas: string | number | bigint;
2696
2696
  };
2697
2697
  setupEnqueuedCalls: {
2698
2698
  isStaticCall: boolean;
@@ -3012,17 +3012,17 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3012
3012
  coinbase: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").EthAddress>;
3013
3013
  feeRecipient: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3014
3014
  gasFees: z.ZodEffects<z.ZodObject<{
3015
- feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3016
- feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3015
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
3016
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
3017
3017
  }, "strip", z.ZodTypeAny, {
3018
- feePerDaGas: import("@aztec/foundation/schemas").Fr;
3019
- feePerL2Gas: import("@aztec/foundation/schemas").Fr;
3018
+ feePerDaGas: bigint;
3019
+ feePerL2Gas: bigint;
3020
3020
  }, {
3021
- feePerDaGas: string;
3022
- feePerL2Gas: string;
3021
+ feePerDaGas: string | number | bigint;
3022
+ feePerL2Gas: string | number | bigint;
3023
3023
  }>, import("../gas/gas_fees.js").GasFees, {
3024
- feePerDaGas: string;
3025
- feePerL2Gas: string;
3024
+ feePerDaGas: string | number | bigint;
3025
+ feePerL2Gas: string | number | bigint;
3026
3026
  }>;
3027
3027
  }, "strip", z.ZodTypeAny, {
3028
3028
  chainId: import("@aztec/foundation/schemas").Fr;
@@ -3035,8 +3035,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3035
3035
  gasFees: import("../gas/gas_fees.js").GasFees;
3036
3036
  }, {
3037
3037
  gasFees: {
3038
- feePerDaGas: string;
3039
- feePerL2Gas: string;
3038
+ feePerDaGas: string | number | bigint;
3039
+ feePerL2Gas: string | number | bigint;
3040
3040
  };
3041
3041
  chainId?: any;
3042
3042
  version?: any;
@@ -3047,8 +3047,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3047
3047
  feeRecipient?: any;
3048
3048
  }>, import("../tx/global_variables.js").GlobalVariables, {
3049
3049
  gasFees: {
3050
- feePerDaGas: string;
3051
- feePerL2Gas: string;
3050
+ feePerDaGas: string | number | bigint;
3051
+ feePerL2Gas: string | number | bigint;
3052
3052
  };
3053
3053
  chainId?: any;
3054
3054
  version?: any;
@@ -3192,30 +3192,30 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3192
3192
  l2Gas: string | number | bigint;
3193
3193
  }>;
3194
3194
  maxFeesPerGas: z.ZodEffects<z.ZodObject<{
3195
- feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3196
- feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3195
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
3196
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
3197
3197
  }, "strip", z.ZodTypeAny, {
3198
- feePerDaGas: import("@aztec/foundation/schemas").Fr;
3199
- feePerL2Gas: import("@aztec/foundation/schemas").Fr;
3198
+ feePerDaGas: bigint;
3199
+ feePerL2Gas: bigint;
3200
3200
  }, {
3201
- feePerDaGas: string;
3202
- feePerL2Gas: string;
3201
+ feePerDaGas: string | number | bigint;
3202
+ feePerL2Gas: string | number | bigint;
3203
3203
  }>, import("../gas/gas_fees.js").GasFees, {
3204
- feePerDaGas: string;
3205
- feePerL2Gas: string;
3204
+ feePerDaGas: string | number | bigint;
3205
+ feePerL2Gas: string | number | bigint;
3206
3206
  }>;
3207
3207
  maxPriorityFeesPerGas: z.ZodEffects<z.ZodObject<{
3208
- feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3209
- feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3208
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
3209
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
3210
3210
  }, "strip", z.ZodTypeAny, {
3211
- feePerDaGas: import("@aztec/foundation/schemas").Fr;
3212
- feePerL2Gas: import("@aztec/foundation/schemas").Fr;
3211
+ feePerDaGas: bigint;
3212
+ feePerL2Gas: bigint;
3213
3213
  }, {
3214
- feePerDaGas: string;
3215
- feePerL2Gas: string;
3214
+ feePerDaGas: string | number | bigint;
3215
+ feePerL2Gas: string | number | bigint;
3216
3216
  }>, import("../gas/gas_fees.js").GasFees, {
3217
- feePerDaGas: string;
3218
- feePerL2Gas: string;
3217
+ feePerDaGas: string | number | bigint;
3218
+ feePerL2Gas: string | number | bigint;
3219
3219
  }>;
3220
3220
  }, "strip", z.ZodTypeAny, {
3221
3221
  gasLimits: import("../gas/gas.js").Gas;
@@ -3232,12 +3232,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3232
3232
  l2Gas: string | number | bigint;
3233
3233
  };
3234
3234
  maxFeesPerGas: {
3235
- feePerDaGas: string;
3236
- feePerL2Gas: string;
3235
+ feePerDaGas: string | number | bigint;
3236
+ feePerL2Gas: string | number | bigint;
3237
3237
  };
3238
3238
  maxPriorityFeesPerGas: {
3239
- feePerDaGas: string;
3240
- feePerL2Gas: string;
3239
+ feePerDaGas: string | number | bigint;
3240
+ feePerL2Gas: string | number | bigint;
3241
3241
  };
3242
3242
  }>, import("../gas/gas_settings.js").GasSettings, {
3243
3243
  gasLimits: {
@@ -3249,26 +3249,26 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3249
3249
  l2Gas: string | number | bigint;
3250
3250
  };
3251
3251
  maxFeesPerGas: {
3252
- feePerDaGas: string;
3253
- feePerL2Gas: string;
3252
+ feePerDaGas: string | number | bigint;
3253
+ feePerL2Gas: string | number | bigint;
3254
3254
  };
3255
3255
  maxPriorityFeesPerGas: {
3256
- feePerDaGas: string;
3257
- feePerL2Gas: string;
3256
+ feePerDaGas: string | number | bigint;
3257
+ feePerL2Gas: string | number | bigint;
3258
3258
  };
3259
3259
  }>;
3260
3260
  effectiveGasFees: z.ZodEffects<z.ZodObject<{
3261
- feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3262
- feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3261
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
3262
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
3263
3263
  }, "strip", z.ZodTypeAny, {
3264
- feePerDaGas: import("@aztec/foundation/schemas").Fr;
3265
- feePerL2Gas: import("@aztec/foundation/schemas").Fr;
3264
+ feePerDaGas: bigint;
3265
+ feePerL2Gas: bigint;
3266
3266
  }, {
3267
- feePerDaGas: string;
3268
- feePerL2Gas: string;
3267
+ feePerDaGas: string | number | bigint;
3268
+ feePerL2Gas: string | number | bigint;
3269
3269
  }>, import("../gas/gas_fees.js").GasFees, {
3270
- feePerDaGas: string;
3271
- feePerL2Gas: string;
3270
+ feePerDaGas: string | number | bigint;
3271
+ feePerL2Gas: string | number | bigint;
3272
3272
  }>;
3273
3273
  feePayer: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3274
3274
  publicCallRequestArrayLengths: z.ZodEffects<z.ZodObject<{
@@ -3745,8 +3745,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3745
3745
  }, {
3746
3746
  globalVariables: {
3747
3747
  gasFees: {
3748
- feePerDaGas: string;
3749
- feePerL2Gas: string;
3748
+ feePerDaGas: string | number | bigint;
3749
+ feePerL2Gas: string | number | bigint;
3750
3750
  };
3751
3751
  chainId?: any;
3752
3752
  version?: any;
@@ -3766,12 +3766,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3766
3766
  l2Gas: string | number | bigint;
3767
3767
  };
3768
3768
  maxFeesPerGas: {
3769
- feePerDaGas: string;
3770
- feePerL2Gas: string;
3769
+ feePerDaGas: string | number | bigint;
3770
+ feePerL2Gas: string | number | bigint;
3771
3771
  };
3772
3772
  maxPriorityFeesPerGas: {
3773
- feePerDaGas: string;
3774
- feePerL2Gas: string;
3773
+ feePerDaGas: string | number | bigint;
3774
+ feePerL2Gas: string | number | bigint;
3775
3775
  };
3776
3776
  };
3777
3777
  publicTeardownCallRequest: {
@@ -3782,8 +3782,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3782
3782
  };
3783
3783
  transactionFee: string;
3784
3784
  effectiveGasFees: {
3785
- feePerDaGas: string;
3786
- feePerL2Gas: string;
3785
+ feePerDaGas: string | number | bigint;
3786
+ feePerL2Gas: string | number | bigint;
3787
3787
  };
3788
3788
  startTreeSnapshots: {
3789
3789
  noteHashTree: {
@@ -3906,8 +3906,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3906
3906
  }>, import("./avm_circuit_public_inputs.js").AvmCircuitPublicInputs, {
3907
3907
  globalVariables: {
3908
3908
  gasFees: {
3909
- feePerDaGas: string;
3910
- feePerL2Gas: string;
3909
+ feePerDaGas: string | number | bigint;
3910
+ feePerL2Gas: string | number | bigint;
3911
3911
  };
3912
3912
  chainId?: any;
3913
3913
  version?: any;
@@ -3927,12 +3927,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3927
3927
  l2Gas: string | number | bigint;
3928
3928
  };
3929
3929
  maxFeesPerGas: {
3930
- feePerDaGas: string;
3931
- feePerL2Gas: string;
3930
+ feePerDaGas: string | number | bigint;
3931
+ feePerL2Gas: string | number | bigint;
3932
3932
  };
3933
3933
  maxPriorityFeesPerGas: {
3934
- feePerDaGas: string;
3935
- feePerL2Gas: string;
3934
+ feePerDaGas: string | number | bigint;
3935
+ feePerL2Gas: string | number | bigint;
3936
3936
  };
3937
3937
  };
3938
3938
  publicTeardownCallRequest: {
@@ -3943,8 +3943,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3943
3943
  };
3944
3944
  transactionFee: string;
3945
3945
  effectiveGasFees: {
3946
- feePerDaGas: string;
3947
- feePerL2Gas: string;
3946
+ feePerDaGas: string | number | bigint;
3947
+ feePerL2Gas: string | number | bigint;
3948
3948
  };
3949
3949
  startTreeSnapshots: {
3950
3950
  noteHashTree: {
@@ -4072,8 +4072,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4072
4072
  publicInputs: {
4073
4073
  globalVariables: {
4074
4074
  gasFees: {
4075
- feePerDaGas: string;
4076
- feePerL2Gas: string;
4075
+ feePerDaGas: string | number | bigint;
4076
+ feePerL2Gas: string | number | bigint;
4077
4077
  };
4078
4078
  chainId?: any;
4079
4079
  version?: any;
@@ -4093,12 +4093,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4093
4093
  l2Gas: string | number | bigint;
4094
4094
  };
4095
4095
  maxFeesPerGas: {
4096
- feePerDaGas: string;
4097
- feePerL2Gas: string;
4096
+ feePerDaGas: string | number | bigint;
4097
+ feePerL2Gas: string | number | bigint;
4098
4098
  };
4099
4099
  maxPriorityFeesPerGas: {
4100
- feePerDaGas: string;
4101
- feePerL2Gas: string;
4100
+ feePerDaGas: string | number | bigint;
4101
+ feePerL2Gas: string | number | bigint;
4102
4102
  };
4103
4103
  };
4104
4104
  publicTeardownCallRequest: {
@@ -4109,8 +4109,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4109
4109
  };
4110
4110
  transactionFee: string;
4111
4111
  effectiveGasFees: {
4112
- feePerDaGas: string;
4113
- feePerL2Gas: string;
4112
+ feePerDaGas: string | number | bigint;
4113
+ feePerL2Gas: string | number | bigint;
4114
4114
  };
4115
4115
  startTreeSnapshots: {
4116
4116
  noteHashTree: {
@@ -4236,8 +4236,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4236
4236
  hash: string;
4237
4237
  globalVariables: {
4238
4238
  gasFees: {
4239
- feePerDaGas: string;
4240
- feePerL2Gas: string;
4239
+ feePerDaGas: string | number | bigint;
4240
+ feePerL2Gas: string | number | bigint;
4241
4241
  };
4242
4242
  chainId?: any;
4243
4243
  version?: any;
@@ -4257,12 +4257,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4257
4257
  l2Gas: string | number | bigint;
4258
4258
  };
4259
4259
  maxFeesPerGas: {
4260
- feePerDaGas: string;
4261
- feePerL2Gas: string;
4260
+ feePerDaGas: string | number | bigint;
4261
+ feePerL2Gas: string | number | bigint;
4262
4262
  };
4263
4263
  maxPriorityFeesPerGas: {
4264
- feePerDaGas: string;
4265
- feePerL2Gas: string;
4264
+ feePerDaGas: string | number | bigint;
4265
+ feePerL2Gas: string | number | bigint;
4266
4266
  };
4267
4267
  };
4268
4268
  nonRevertibleAccumulatedData: {
@@ -4288,8 +4288,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4288
4288
  }[];
4289
4289
  };
4290
4290
  effectiveGasFees: {
4291
- feePerDaGas: string;
4292
- feePerL2Gas: string;
4291
+ feePerDaGas: string | number | bigint;
4292
+ feePerL2Gas: string | number | bigint;
4293
4293
  };
4294
4294
  setupEnqueuedCalls: {
4295
4295
  isStaticCall: boolean;
@@ -4603,8 +4603,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4603
4603
  publicInputs: {
4604
4604
  globalVariables: {
4605
4605
  gasFees: {
4606
- feePerDaGas: string;
4607
- feePerL2Gas: string;
4606
+ feePerDaGas: string | number | bigint;
4607
+ feePerL2Gas: string | number | bigint;
4608
4608
  };
4609
4609
  chainId?: any;
4610
4610
  version?: any;
@@ -4624,12 +4624,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4624
4624
  l2Gas: string | number | bigint;
4625
4625
  };
4626
4626
  maxFeesPerGas: {
4627
- feePerDaGas: string;
4628
- feePerL2Gas: string;
4627
+ feePerDaGas: string | number | bigint;
4628
+ feePerL2Gas: string | number | bigint;
4629
4629
  };
4630
4630
  maxPriorityFeesPerGas: {
4631
- feePerDaGas: string;
4632
- feePerL2Gas: string;
4631
+ feePerDaGas: string | number | bigint;
4632
+ feePerL2Gas: string | number | bigint;
4633
4633
  };
4634
4634
  };
4635
4635
  publicTeardownCallRequest: {
@@ -4640,8 +4640,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4640
4640
  };
4641
4641
  transactionFee: string;
4642
4642
  effectiveGasFees: {
4643
- feePerDaGas: string;
4644
- feePerL2Gas: string;
4643
+ feePerDaGas: string | number | bigint;
4644
+ feePerL2Gas: string | number | bigint;
4645
4645
  };
4646
4646
  startTreeSnapshots: {
4647
4647
  noteHashTree: {
@@ -4767,8 +4767,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4767
4767
  hash: string;
4768
4768
  globalVariables: {
4769
4769
  gasFees: {
4770
- feePerDaGas: string;
4771
- feePerL2Gas: string;
4770
+ feePerDaGas: string | number | bigint;
4771
+ feePerL2Gas: string | number | bigint;
4772
4772
  };
4773
4773
  chainId?: any;
4774
4774
  version?: any;
@@ -4788,12 +4788,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4788
4788
  l2Gas: string | number | bigint;
4789
4789
  };
4790
4790
  maxFeesPerGas: {
4791
- feePerDaGas: string;
4792
- feePerL2Gas: string;
4791
+ feePerDaGas: string | number | bigint;
4792
+ feePerL2Gas: string | number | bigint;
4793
4793
  };
4794
4794
  maxPriorityFeesPerGas: {
4795
- feePerDaGas: string;
4796
- feePerL2Gas: string;
4795
+ feePerDaGas: string | number | bigint;
4796
+ feePerL2Gas: string | number | bigint;
4797
4797
  };
4798
4798
  };
4799
4799
  nonRevertibleAccumulatedData: {
@@ -4819,8 +4819,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4819
4819
  }[];
4820
4820
  };
4821
4821
  effectiveGasFees: {
4822
- feePerDaGas: string;
4823
- feePerL2Gas: string;
4822
+ feePerDaGas: string | number | bigint;
4823
+ feePerL2Gas: string | number | bigint;
4824
4824
  };
4825
4825
  setupEnqueuedCalls: {
4826
4826
  isStaticCall: boolean;
@@ -5140,8 +5140,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
5140
5140
  publicInputs: {
5141
5141
  globalVariables: {
5142
5142
  gasFees: {
5143
- feePerDaGas: string;
5144
- feePerL2Gas: string;
5143
+ feePerDaGas: string | number | bigint;
5144
+ feePerL2Gas: string | number | bigint;
5145
5145
  };
5146
5146
  chainId?: any;
5147
5147
  version?: any;
@@ -5161,12 +5161,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
5161
5161
  l2Gas: string | number | bigint;
5162
5162
  };
5163
5163
  maxFeesPerGas: {
5164
- feePerDaGas: string;
5165
- feePerL2Gas: string;
5164
+ feePerDaGas: string | number | bigint;
5165
+ feePerL2Gas: string | number | bigint;
5166
5166
  };
5167
5167
  maxPriorityFeesPerGas: {
5168
- feePerDaGas: string;
5169
- feePerL2Gas: string;
5168
+ feePerDaGas: string | number | bigint;
5169
+ feePerL2Gas: string | number | bigint;
5170
5170
  };
5171
5171
  };
5172
5172
  publicTeardownCallRequest: {
@@ -5177,8 +5177,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
5177
5177
  };
5178
5178
  transactionFee: string;
5179
5179
  effectiveGasFees: {
5180
- feePerDaGas: string;
5181
- feePerL2Gas: string;
5180
+ feePerDaGas: string | number | bigint;
5181
+ feePerL2Gas: string | number | bigint;
5182
5182
  };
5183
5183
  startTreeSnapshots: {
5184
5184
  noteHashTree: {
@@ -5304,8 +5304,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
5304
5304
  hash: string;
5305
5305
  globalVariables: {
5306
5306
  gasFees: {
5307
- feePerDaGas: string;
5308
- feePerL2Gas: string;
5307
+ feePerDaGas: string | number | bigint;
5308
+ feePerL2Gas: string | number | bigint;
5309
5309
  };
5310
5310
  chainId?: any;
5311
5311
  version?: any;
@@ -5325,12 +5325,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
5325
5325
  l2Gas: string | number | bigint;
5326
5326
  };
5327
5327
  maxFeesPerGas: {
5328
- feePerDaGas: string;
5329
- feePerL2Gas: string;
5328
+ feePerDaGas: string | number | bigint;
5329
+ feePerL2Gas: string | number | bigint;
5330
5330
  };
5331
5331
  maxPriorityFeesPerGas: {
5332
- feePerDaGas: string;
5333
- feePerL2Gas: string;
5332
+ feePerDaGas: string | number | bigint;
5333
+ feePerL2Gas: string | number | bigint;
5334
5334
  };
5335
5335
  };
5336
5336
  nonRevertibleAccumulatedData: {
@@ -5356,8 +5356,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
5356
5356
  }[];
5357
5357
  };
5358
5358
  effectiveGasFees: {
5359
- feePerDaGas: string;
5360
- feePerL2Gas: string;
5359
+ feePerDaGas: string | number | bigint;
5360
+ feePerL2Gas: string | number | bigint;
5361
5361
  };
5362
5362
  setupEnqueuedCalls: {
5363
5363
  isStaticCall: boolean;