@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.
- package/dest/avm/avm.d.ts +304 -304
- package/dest/avm/avm_circuit_public_inputs.d.ts +60 -60
- package/dest/avm/avm_proving_request.d.ts +184 -184
- package/dest/avm/message_pack.d.ts.map +1 -1
- package/dest/avm/message_pack.js +2 -1
- package/dest/block/l2_block.js +1 -1
- package/dest/block/l2_block_code_to_purge.js +1 -1
- package/dest/block/l2_block_source.d.ts +2 -0
- package/dest/block/l2_block_source.d.ts.map +1 -1
- package/dest/fees/transaction_fee.js +3 -3
- package/dest/gas/gas.js +1 -1
- package/dest/gas/gas_fees.d.ts +15 -14
- package/dest/gas/gas_fees.d.ts.map +1 -1
- package/dest/gas/gas_fees.js +17 -18
- package/dest/gas/gas_settings.d.ts +24 -24
- package/dest/gas/gas_settings.d.ts.map +1 -1
- package/dest/gas/gas_settings.js +1 -1
- package/dest/interfaces/archiver.d.ts.map +1 -1
- package/dest/interfaces/archiver.js +1 -0
- package/dest/interfaces/proving-job.d.ts +185 -185
- package/dest/interfaces/proving-job.d.ts.map +1 -1
- package/dest/interfaces/service.d.ts +1 -2
- package/dest/interfaces/service.d.ts.map +1 -1
- package/dest/interfaces/service.js +0 -7
- package/dest/kernel/combined_constant_data.d.ts +71 -0
- package/dest/kernel/combined_constant_data.d.ts.map +1 -0
- package/dest/kernel/combined_constant_data.js +73 -0
- package/dest/kernel/index.d.ts +1 -0
- package/dest/kernel/index.d.ts.map +1 -1
- package/dest/kernel/index.js +1 -0
- package/dest/rollup/base_or_merge_rollup_public_inputs.d.ts +3 -3
- package/dest/rollup/base_or_merge_rollup_public_inputs.d.ts.map +1 -1
- package/dest/rollup/base_or_merge_rollup_public_inputs.js +3 -3
- package/dest/rollup/base_rollup_hints.d.ts +14 -15
- package/dest/rollup/base_rollup_hints.d.ts.map +1 -1
- package/dest/rollup/base_rollup_hints.js +12 -13
- package/dest/rollup/block_root_or_block_merge_public_inputs.d.ts +24 -9
- package/dest/rollup/block_root_or_block_merge_public_inputs.d.ts.map +1 -1
- package/dest/rollup/block_root_or_block_merge_public_inputs.js +14 -7
- package/dest/rollup/block_root_rollup.d.ts +2 -2
- package/dest/rollup/block_root_rollup.js +1 -1
- package/dest/rollup/constant_rollup_data.d.ts +45 -0
- package/dest/rollup/constant_rollup_data.d.ts.map +1 -0
- package/dest/rollup/{block_constant_data.js → constant_rollup_data.js} +13 -10
- package/dest/rollup/empty_block_root_rollup_inputs.d.ts +4 -4
- package/dest/rollup/empty_block_root_rollup_inputs.d.ts.map +1 -1
- package/dest/rollup/empty_block_root_rollup_inputs.js +2 -2
- package/dest/rollup/index.d.ts +1 -2
- package/dest/rollup/index.d.ts.map +1 -1
- package/dest/rollup/index.js +1 -2
- package/dest/rollup/root_rollup.d.ts +6 -2
- package/dest/rollup/root_rollup.d.ts.map +1 -1
- package/dest/rollup/root_rollup.js +6 -3
- package/dest/tests/factories.d.ts +10 -1
- package/dest/tests/factories.d.ts.map +1 -1
- package/dest/tests/factories.js +33 -20
- package/dest/tests/mocks.js +2 -2
- package/dest/trees/append_only_tree_snapshot.d.ts +2 -2
- package/dest/trees/append_only_tree_snapshot.d.ts.map +1 -1
- package/dest/trees/append_only_tree_snapshot.js +2 -2
- package/dest/tx/block_header.js +2 -2
- package/dest/tx/global_variables.d.ts +12 -12
- package/dest/tx/global_variables.js +2 -2
- package/dest/tx/partial_state_reference.js +2 -2
- package/dest/tx/processed_tx.d.ts +3 -2
- package/dest/tx/processed_tx.d.ts.map +1 -1
- package/dest/tx/processed_tx.js +7 -5
- package/dest/tx/proposed_block_header.d.ts +2 -2
- package/dest/tx/proposed_block_header.js +1 -1
- package/dest/tx/public_simulation_output.d.ts +3 -3
- package/dest/tx/public_simulation_output.d.ts.map +1 -1
- package/dest/tx/public_simulation_output.js +7 -7
- package/dest/tx/state_reference.js +2 -2
- package/dest/tx/tree_snapshots.js +2 -2
- package/dest/tx/tx_context.d.ts +32 -32
- package/dest/types/shared.d.ts +4 -0
- package/dest/types/shared.d.ts.map +1 -1
- package/dest/zkpassport/index.d.ts +31 -0
- package/dest/zkpassport/index.d.ts.map +1 -0
- package/dest/zkpassport/index.js +81 -0
- package/package.json +9 -8
- package/src/avm/message_pack.ts +1 -0
- package/src/block/l2_block.ts +1 -1
- package/src/block/l2_block_code_to_purge.ts +1 -1
- package/src/block/l2_block_source.ts +3 -0
- package/src/fees/transaction_fee.ts +5 -5
- package/src/gas/gas.ts +1 -1
- package/src/gas/gas_fees.ts +27 -23
- package/src/gas/gas_settings.ts +1 -5
- package/src/interfaces/archiver.ts +1 -0
- package/src/interfaces/service.ts +1 -11
- package/src/kernel/combined_constant_data.ts +128 -0
- package/src/kernel/index.ts +1 -0
- package/src/rollup/base_or_merge_rollup_public_inputs.ts +4 -4
- package/src/rollup/base_rollup_hints.ts +11 -12
- package/src/rollup/block_root_or_block_merge_public_inputs.ts +18 -7
- package/src/rollup/block_root_rollup.ts +1 -1
- package/src/rollup/constant_rollup_data.ts +54 -0
- package/src/rollup/empty_block_root_rollup_inputs.ts +3 -3
- package/src/rollup/index.ts +1 -2
- package/src/rollup/root_rollup.ts +7 -5
- package/src/tests/factories.ts +54 -30
- package/src/tests/mocks.ts +2 -2
- package/src/trees/append_only_tree_snapshot.ts +2 -2
- package/src/tx/block_header.ts +2 -2
- package/src/tx/global_variables.ts +2 -2
- package/src/tx/partial_state_reference.ts +4 -4
- package/src/tx/processed_tx.ts +10 -7
- package/src/tx/proposed_block_header.ts +1 -1
- package/src/tx/public_simulation_output.ts +5 -5
- package/src/tx/state_reference.ts +2 -2
- package/src/tx/tree_snapshots.ts +8 -8
- package/src/types/shared.ts +5 -0
- package/src/zkpassport/index.ts +115 -0
- package/dest/rollup/block_constant_data.d.ts +0 -37
- package/dest/rollup/block_constant_data.d.ts.map +0 -1
- package/dest/rollup/epoch_constant_data.d.ts +0 -39
- package/dest/rollup/epoch_constant_data.d.ts.map +0 -1
- package/dest/rollup/epoch_constant_data.js +0 -40
- package/src/rollup/block_constant_data.ts +0 -63
- package/src/rollup/epoch_constant_data.ts +0 -44
|
@@ -42,17 +42,17 @@ export declare class AvmCircuitPublicInputs {
|
|
|
42
42
|
coinbase: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").EthAddress>;
|
|
43
43
|
feeRecipient: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
44
44
|
gasFees: z.ZodEffects<z.ZodObject<{
|
|
45
|
-
feePerDaGas: z.
|
|
46
|
-
feePerL2Gas: z.
|
|
45
|
+
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
46
|
+
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
|
-
feePerDaGas:
|
|
49
|
-
feePerL2Gas:
|
|
48
|
+
feePerDaGas: bigint;
|
|
49
|
+
feePerL2Gas: bigint;
|
|
50
50
|
}, {
|
|
51
|
-
feePerDaGas: string;
|
|
52
|
-
feePerL2Gas: string;
|
|
51
|
+
feePerDaGas: string | number | bigint;
|
|
52
|
+
feePerL2Gas: string | number | bigint;
|
|
53
53
|
}>, GasFees, {
|
|
54
|
-
feePerDaGas: string;
|
|
55
|
-
feePerL2Gas: string;
|
|
54
|
+
feePerDaGas: string | number | bigint;
|
|
55
|
+
feePerL2Gas: string | number | bigint;
|
|
56
56
|
}>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
58
|
chainId: Fr;
|
|
@@ -65,8 +65,8 @@ export declare class AvmCircuitPublicInputs {
|
|
|
65
65
|
gasFees: GasFees;
|
|
66
66
|
}, {
|
|
67
67
|
gasFees: {
|
|
68
|
-
feePerDaGas: string;
|
|
69
|
-
feePerL2Gas: string;
|
|
68
|
+
feePerDaGas: string | number | bigint;
|
|
69
|
+
feePerL2Gas: string | number | bigint;
|
|
70
70
|
};
|
|
71
71
|
chainId?: any;
|
|
72
72
|
version?: any;
|
|
@@ -77,8 +77,8 @@ export declare class AvmCircuitPublicInputs {
|
|
|
77
77
|
feeRecipient?: any;
|
|
78
78
|
}>, GlobalVariables, {
|
|
79
79
|
gasFees: {
|
|
80
|
-
feePerDaGas: string;
|
|
81
|
-
feePerL2Gas: string;
|
|
80
|
+
feePerDaGas: string | number | bigint;
|
|
81
|
+
feePerL2Gas: string | number | bigint;
|
|
82
82
|
};
|
|
83
83
|
chainId?: any;
|
|
84
84
|
version?: any;
|
|
@@ -222,30 +222,30 @@ export declare class AvmCircuitPublicInputs {
|
|
|
222
222
|
l2Gas: string | number | bigint;
|
|
223
223
|
}>;
|
|
224
224
|
maxFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
225
|
-
feePerDaGas: z.
|
|
226
|
-
feePerL2Gas: z.
|
|
225
|
+
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
226
|
+
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
227
227
|
}, "strip", z.ZodTypeAny, {
|
|
228
|
-
feePerDaGas:
|
|
229
|
-
feePerL2Gas:
|
|
228
|
+
feePerDaGas: bigint;
|
|
229
|
+
feePerL2Gas: bigint;
|
|
230
230
|
}, {
|
|
231
|
-
feePerDaGas: string;
|
|
232
|
-
feePerL2Gas: string;
|
|
231
|
+
feePerDaGas: string | number | bigint;
|
|
232
|
+
feePerL2Gas: string | number | bigint;
|
|
233
233
|
}>, GasFees, {
|
|
234
|
-
feePerDaGas: string;
|
|
235
|
-
feePerL2Gas: string;
|
|
234
|
+
feePerDaGas: string | number | bigint;
|
|
235
|
+
feePerL2Gas: string | number | bigint;
|
|
236
236
|
}>;
|
|
237
237
|
maxPriorityFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
238
|
-
feePerDaGas: z.
|
|
239
|
-
feePerL2Gas: z.
|
|
238
|
+
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
239
|
+
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
240
240
|
}, "strip", z.ZodTypeAny, {
|
|
241
|
-
feePerDaGas:
|
|
242
|
-
feePerL2Gas:
|
|
241
|
+
feePerDaGas: bigint;
|
|
242
|
+
feePerL2Gas: bigint;
|
|
243
243
|
}, {
|
|
244
|
-
feePerDaGas: string;
|
|
245
|
-
feePerL2Gas: string;
|
|
244
|
+
feePerDaGas: string | number | bigint;
|
|
245
|
+
feePerL2Gas: string | number | bigint;
|
|
246
246
|
}>, GasFees, {
|
|
247
|
-
feePerDaGas: string;
|
|
248
|
-
feePerL2Gas: string;
|
|
247
|
+
feePerDaGas: string | number | bigint;
|
|
248
|
+
feePerL2Gas: string | number | bigint;
|
|
249
249
|
}>;
|
|
250
250
|
}, "strip", z.ZodTypeAny, {
|
|
251
251
|
gasLimits: Gas;
|
|
@@ -262,12 +262,12 @@ export declare class AvmCircuitPublicInputs {
|
|
|
262
262
|
l2Gas: string | number | bigint;
|
|
263
263
|
};
|
|
264
264
|
maxFeesPerGas: {
|
|
265
|
-
feePerDaGas: string;
|
|
266
|
-
feePerL2Gas: string;
|
|
265
|
+
feePerDaGas: string | number | bigint;
|
|
266
|
+
feePerL2Gas: string | number | bigint;
|
|
267
267
|
};
|
|
268
268
|
maxPriorityFeesPerGas: {
|
|
269
|
-
feePerDaGas: string;
|
|
270
|
-
feePerL2Gas: string;
|
|
269
|
+
feePerDaGas: string | number | bigint;
|
|
270
|
+
feePerL2Gas: string | number | bigint;
|
|
271
271
|
};
|
|
272
272
|
}>, GasSettings, {
|
|
273
273
|
gasLimits: {
|
|
@@ -279,26 +279,26 @@ export declare class AvmCircuitPublicInputs {
|
|
|
279
279
|
l2Gas: string | number | bigint;
|
|
280
280
|
};
|
|
281
281
|
maxFeesPerGas: {
|
|
282
|
-
feePerDaGas: string;
|
|
283
|
-
feePerL2Gas: string;
|
|
282
|
+
feePerDaGas: string | number | bigint;
|
|
283
|
+
feePerL2Gas: string | number | bigint;
|
|
284
284
|
};
|
|
285
285
|
maxPriorityFeesPerGas: {
|
|
286
|
-
feePerDaGas: string;
|
|
287
|
-
feePerL2Gas: string;
|
|
286
|
+
feePerDaGas: string | number | bigint;
|
|
287
|
+
feePerL2Gas: string | number | bigint;
|
|
288
288
|
};
|
|
289
289
|
}>;
|
|
290
290
|
effectiveGasFees: z.ZodEffects<z.ZodObject<{
|
|
291
|
-
feePerDaGas: z.
|
|
292
|
-
feePerL2Gas: z.
|
|
291
|
+
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
292
|
+
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
293
293
|
}, "strip", z.ZodTypeAny, {
|
|
294
|
-
feePerDaGas:
|
|
295
|
-
feePerL2Gas:
|
|
294
|
+
feePerDaGas: bigint;
|
|
295
|
+
feePerL2Gas: bigint;
|
|
296
296
|
}, {
|
|
297
|
-
feePerDaGas: string;
|
|
298
|
-
feePerL2Gas: string;
|
|
297
|
+
feePerDaGas: string | number | bigint;
|
|
298
|
+
feePerL2Gas: string | number | bigint;
|
|
299
299
|
}>, GasFees, {
|
|
300
|
-
feePerDaGas: string;
|
|
301
|
-
feePerL2Gas: string;
|
|
300
|
+
feePerDaGas: string | number | bigint;
|
|
301
|
+
feePerL2Gas: string | number | bigint;
|
|
302
302
|
}>;
|
|
303
303
|
feePayer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
304
304
|
publicCallRequestArrayLengths: z.ZodEffects<z.ZodObject<{
|
|
@@ -775,8 +775,8 @@ export declare class AvmCircuitPublicInputs {
|
|
|
775
775
|
}, {
|
|
776
776
|
globalVariables: {
|
|
777
777
|
gasFees: {
|
|
778
|
-
feePerDaGas: string;
|
|
779
|
-
feePerL2Gas: string;
|
|
778
|
+
feePerDaGas: string | number | bigint;
|
|
779
|
+
feePerL2Gas: string | number | bigint;
|
|
780
780
|
};
|
|
781
781
|
chainId?: any;
|
|
782
782
|
version?: any;
|
|
@@ -796,12 +796,12 @@ export declare class AvmCircuitPublicInputs {
|
|
|
796
796
|
l2Gas: string | number | bigint;
|
|
797
797
|
};
|
|
798
798
|
maxFeesPerGas: {
|
|
799
|
-
feePerDaGas: string;
|
|
800
|
-
feePerL2Gas: string;
|
|
799
|
+
feePerDaGas: string | number | bigint;
|
|
800
|
+
feePerL2Gas: string | number | bigint;
|
|
801
801
|
};
|
|
802
802
|
maxPriorityFeesPerGas: {
|
|
803
|
-
feePerDaGas: string;
|
|
804
|
-
feePerL2Gas: string;
|
|
803
|
+
feePerDaGas: string | number | bigint;
|
|
804
|
+
feePerL2Gas: string | number | bigint;
|
|
805
805
|
};
|
|
806
806
|
};
|
|
807
807
|
publicTeardownCallRequest: {
|
|
@@ -812,8 +812,8 @@ export declare class AvmCircuitPublicInputs {
|
|
|
812
812
|
};
|
|
813
813
|
transactionFee: string;
|
|
814
814
|
effectiveGasFees: {
|
|
815
|
-
feePerDaGas: string;
|
|
816
|
-
feePerL2Gas: string;
|
|
815
|
+
feePerDaGas: string | number | bigint;
|
|
816
|
+
feePerL2Gas: string | number | bigint;
|
|
817
817
|
};
|
|
818
818
|
startTreeSnapshots: {
|
|
819
819
|
noteHashTree: {
|
|
@@ -936,8 +936,8 @@ export declare class AvmCircuitPublicInputs {
|
|
|
936
936
|
}>, AvmCircuitPublicInputs, {
|
|
937
937
|
globalVariables: {
|
|
938
938
|
gasFees: {
|
|
939
|
-
feePerDaGas: string;
|
|
940
|
-
feePerL2Gas: string;
|
|
939
|
+
feePerDaGas: string | number | bigint;
|
|
940
|
+
feePerL2Gas: string | number | bigint;
|
|
941
941
|
};
|
|
942
942
|
chainId?: any;
|
|
943
943
|
version?: any;
|
|
@@ -957,12 +957,12 @@ export declare class AvmCircuitPublicInputs {
|
|
|
957
957
|
l2Gas: string | number | bigint;
|
|
958
958
|
};
|
|
959
959
|
maxFeesPerGas: {
|
|
960
|
-
feePerDaGas: string;
|
|
961
|
-
feePerL2Gas: string;
|
|
960
|
+
feePerDaGas: string | number | bigint;
|
|
961
|
+
feePerL2Gas: string | number | bigint;
|
|
962
962
|
};
|
|
963
963
|
maxPriorityFeesPerGas: {
|
|
964
|
-
feePerDaGas: string;
|
|
965
|
-
feePerL2Gas: string;
|
|
964
|
+
feePerDaGas: string | number | bigint;
|
|
965
|
+
feePerL2Gas: string | number | bigint;
|
|
966
966
|
};
|
|
967
967
|
};
|
|
968
968
|
publicTeardownCallRequest: {
|
|
@@ -973,8 +973,8 @@ export declare class AvmCircuitPublicInputs {
|
|
|
973
973
|
};
|
|
974
974
|
transactionFee: string;
|
|
975
975
|
effectiveGasFees: {
|
|
976
|
-
feePerDaGas: string;
|
|
977
|
-
feePerL2Gas: string;
|
|
976
|
+
feePerDaGas: string | number | bigint;
|
|
977
|
+
feePerL2Gas: string | number | bigint;
|
|
978
978
|
};
|
|
979
979
|
startTreeSnapshots: {
|
|
980
980
|
noteHashTree: {
|