@aztec/stdlib 0.84.0 → 0.85.0
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 +2474 -284
- package/dest/avm/avm.d.ts.map +1 -1
- package/dest/avm/avm.js +116 -17
- package/dest/avm/avm_proving_request.d.ts +1071 -23
- package/dest/avm/avm_proving_request.d.ts.map +1 -1
- package/dest/block/in_block.d.ts.map +1 -1
- package/dest/block/index.d.ts +1 -1
- package/dest/block/index.d.ts.map +1 -1
- package/dest/block/index.js +1 -1
- package/dest/block/l2_block_source.d.ts +8 -5
- package/dest/block/l2_block_source.d.ts.map +1 -1
- package/dest/block/l2_block_source.js +9 -0
- package/dest/block/l2_block_stream/index.d.ts +4 -0
- package/dest/block/l2_block_stream/index.d.ts.map +1 -0
- package/dest/block/l2_block_stream/index.js +3 -0
- package/dest/block/l2_block_stream/interfaces.d.ts +26 -0
- package/dest/block/l2_block_stream/interfaces.d.ts.map +1 -0
- package/dest/block/l2_block_stream/interfaces.js +1 -0
- package/dest/block/{l2_block_downloader → l2_block_stream}/l2_block_stream.d.ts +4 -24
- package/dest/block/l2_block_stream/l2_block_stream.d.ts.map +1 -0
- package/dest/block/{l2_block_downloader → l2_block_stream}/l2_block_stream.js +29 -10
- package/dest/block/l2_block_stream/l2_tips_memory_store.d.ts +18 -0
- package/dest/block/l2_block_stream/l2_tips_memory_store.d.ts.map +1 -0
- package/dest/block/l2_block_stream/l2_tips_memory_store.js +70 -0
- package/dest/block/test/index.d.ts +2 -0
- package/dest/block/test/index.d.ts.map +1 -0
- package/dest/block/test/index.js +1 -0
- package/dest/block/test/l2_tips_store_test_suite.d.ts +3 -0
- package/dest/block/test/l2_tips_store_test_suite.d.ts.map +1 -0
- package/dest/block/test/l2_tips_store_test_suite.js +107 -0
- package/dest/database-version/version_manager.d.ts +21 -5
- package/dest/database-version/version_manager.d.ts.map +1 -1
- package/dest/database-version/version_manager.js +25 -15
- package/dest/epoch-helpers/index.d.ts +9 -0
- package/dest/epoch-helpers/index.d.ts.map +1 -1
- package/dest/epoch-helpers/index.js +15 -2
- package/dest/interfaces/archiver.d.ts.map +1 -1
- package/dest/interfaces/archiver.js +4 -4
- package/dest/interfaces/aztec-node.d.ts +5 -6
- package/dest/interfaces/aztec-node.d.ts.map +1 -1
- package/dest/interfaces/aztec-node.js +2 -3
- package/dest/interfaces/proving-job.d.ts +1071 -23
- package/dest/interfaces/proving-job.d.ts.map +1 -1
- package/dest/interfaces/pxe.d.ts +5 -7
- package/dest/interfaces/pxe.d.ts.map +1 -1
- package/dest/interfaces/pxe.js +2 -7
- package/dest/interfaces/world_state.d.ts +3 -2
- package/dest/interfaces/world_state.d.ts.map +1 -1
- package/dest/logs/log_with_tx_data.d.ts +3 -2
- package/dest/logs/log_with_tx_data.d.ts.map +1 -1
- package/dest/logs/log_with_tx_data.js +3 -2
- package/dest/logs/pending_tagged_log.d.ts +4 -2
- package/dest/logs/pending_tagged_log.d.ts.map +1 -1
- package/dest/logs/pending_tagged_log.js +6 -3
- package/dest/messaging/l1_to_l2_message_source.d.ts +5 -0
- package/dest/messaging/l1_to_l2_message_source.d.ts.map +1 -1
- package/dest/proofs/proof.d.ts +4 -1
- package/dest/proofs/proof.d.ts.map +1 -1
- package/dest/proofs/proof.js +9 -17
- package/dest/tests/factories.d.ts +5 -1
- package/dest/tests/factories.d.ts.map +1 -1
- package/dest/tests/factories.js +23 -7
- package/dest/tests/mocks.d.ts +3 -1
- package/dest/tests/mocks.d.ts.map +1 -1
- package/dest/tests/mocks.js +3 -2
- package/dest/tx/index.d.ts +2 -0
- package/dest/tx/index.d.ts.map +1 -1
- package/dest/tx/index.js +2 -0
- package/dest/tx/indexed_tx_effect.d.ts +24 -0
- package/dest/tx/indexed_tx_effect.d.ts.map +1 -0
- package/dest/tx/indexed_tx_effect.js +14 -0
- package/dest/tx/tx_hash.d.ts.map +1 -1
- package/dest/tx/tx_hash.js +1 -4
- package/dest/tx/validator/error_texts.d.ts +20 -0
- package/dest/tx/validator/error_texts.d.ts.map +1 -0
- package/dest/tx/validator/error_texts.js +27 -0
- package/package.json +8 -6
- package/src/avm/avm.ts +188 -29
- package/src/block/in_block.ts +1 -0
- package/src/block/index.ts +1 -1
- package/src/block/l2_block_source.ts +15 -5
- package/src/block/l2_block_stream/index.ts +3 -0
- package/src/block/l2_block_stream/interfaces.ts +33 -0
- package/src/block/{l2_block_downloader → l2_block_stream}/l2_block_stream.ts +34 -44
- package/src/block/l2_block_stream/l2_tips_memory_store.ts +75 -0
- package/src/block/test/index.ts +1 -0
- package/src/block/test/l2_tips_store_test_suite.ts +87 -0
- package/src/database-version/version_manager.ts +56 -17
- package/src/epoch-helpers/index.ts +19 -0
- package/src/interfaces/archiver.ts +3 -3
- package/src/interfaces/aztec-node.ts +7 -6
- package/src/interfaces/pxe.ts +15 -11
- package/src/interfaces/world_state.ts +3 -2
- package/src/logs/log_with_tx_data.ts +4 -3
- package/src/logs/pending_tagged_log.ts +5 -2
- package/src/messaging/l1_to_l2_message_source.ts +7 -0
- package/src/proofs/proof.ts +9 -19
- package/src/tests/factories.ts +54 -4
- package/src/tests/mocks.ts +6 -1
- package/src/tx/index.ts +2 -0
- package/src/tx/indexed_tx_effect.ts +17 -0
- package/src/tx/tx_hash.ts +0 -4
- package/src/tx/validator/error_texts.ts +34 -0
- package/dest/block/l2_block_downloader/index.d.ts +0 -3
- package/dest/block/l2_block_downloader/index.d.ts.map +0 -1
- package/dest/block/l2_block_downloader/index.js +0 -2
- package/dest/block/l2_block_downloader/l2_block_downloader.d.ts +0 -58
- package/dest/block/l2_block_downloader/l2_block_downloader.d.ts.map +0 -1
- package/dest/block/l2_block_downloader/l2_block_downloader.js +0 -124
- package/dest/block/l2_block_downloader/l2_block_stream.d.ts.map +0 -1
- package/src/block/l2_block_downloader/index.ts +0 -2
- package/src/block/l2_block_downloader/l2_block_downloader.ts +0 -149
|
@@ -36,10 +36,64 @@ export declare function mapProvingRequestTypeToCircuitName(type: ProvingRequestT
|
|
|
36
36
|
export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
37
37
|
type: z.ZodLiteral<ProvingRequestType.PUBLIC_VM>;
|
|
38
38
|
inputs: z.ZodEffects<z.ZodObject<{
|
|
39
|
-
functionName: z.ZodString;
|
|
40
|
-
calldata: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
41
39
|
hints: z.ZodEffects<z.ZodObject<{
|
|
42
|
-
tx: z.ZodObject<{
|
|
40
|
+
tx: z.ZodEffects<z.ZodObject<{
|
|
41
|
+
hash: z.ZodString;
|
|
42
|
+
globalVariables: z.ZodEffects<z.ZodObject<{
|
|
43
|
+
chainId: ZodFor<import("@aztec/foundation/schemas").Fr>;
|
|
44
|
+
version: ZodFor<import("@aztec/foundation/schemas").Fr>;
|
|
45
|
+
blockNumber: ZodFor<import("@aztec/foundation/schemas").Fr>;
|
|
46
|
+
slotNumber: ZodFor<import("@aztec/foundation/schemas").Fr>;
|
|
47
|
+
timestamp: ZodFor<import("@aztec/foundation/schemas").Fr>;
|
|
48
|
+
coinbase: ZodFor<import("@aztec/foundation/schemas").EthAddress>;
|
|
49
|
+
feeRecipient: ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
50
|
+
gasFees: z.ZodEffects<z.ZodObject<{
|
|
51
|
+
feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
52
|
+
feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
53
|
+
}, "strip", z.ZodTypeAny, {
|
|
54
|
+
feePerDaGas: import("@aztec/foundation/schemas").Fr;
|
|
55
|
+
feePerL2Gas: import("@aztec/foundation/schemas").Fr;
|
|
56
|
+
}, {
|
|
57
|
+
feePerDaGas: string;
|
|
58
|
+
feePerL2Gas: string;
|
|
59
|
+
}>, import("../gas/gas_fees.js").GasFees, {
|
|
60
|
+
feePerDaGas: string;
|
|
61
|
+
feePerL2Gas: string;
|
|
62
|
+
}>;
|
|
63
|
+
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
chainId: import("@aztec/foundation/schemas").Fr;
|
|
65
|
+
version: import("@aztec/foundation/schemas").Fr;
|
|
66
|
+
blockNumber: import("@aztec/foundation/schemas").Fr;
|
|
67
|
+
slotNumber: import("@aztec/foundation/schemas").Fr;
|
|
68
|
+
timestamp: import("@aztec/foundation/schemas").Fr;
|
|
69
|
+
coinbase: import("@aztec/foundation/schemas").EthAddress;
|
|
70
|
+
feeRecipient: import("../aztec-address/index.js").AztecAddress;
|
|
71
|
+
gasFees: import("../gas/gas_fees.js").GasFees;
|
|
72
|
+
}, {
|
|
73
|
+
gasFees: {
|
|
74
|
+
feePerDaGas: string;
|
|
75
|
+
feePerL2Gas: string;
|
|
76
|
+
};
|
|
77
|
+
chainId?: any;
|
|
78
|
+
version?: any;
|
|
79
|
+
blockNumber?: any;
|
|
80
|
+
slotNumber?: any;
|
|
81
|
+
timestamp?: any;
|
|
82
|
+
coinbase?: any;
|
|
83
|
+
feeRecipient?: any;
|
|
84
|
+
}>, import("../tx/global_variables.js").GlobalVariables, {
|
|
85
|
+
gasFees: {
|
|
86
|
+
feePerDaGas: string;
|
|
87
|
+
feePerL2Gas: string;
|
|
88
|
+
};
|
|
89
|
+
chainId?: any;
|
|
90
|
+
version?: any;
|
|
91
|
+
blockNumber?: any;
|
|
92
|
+
slotNumber?: any;
|
|
93
|
+
timestamp?: any;
|
|
94
|
+
coinbase?: any;
|
|
95
|
+
feeRecipient?: any;
|
|
96
|
+
}>;
|
|
43
97
|
nonRevertibleAccumulatedData: z.ZodObject<{
|
|
44
98
|
noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
45
99
|
nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
@@ -124,6 +178,8 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
124
178
|
msgSender?: any;
|
|
125
179
|
}>>;
|
|
126
180
|
}, "strip", z.ZodTypeAny, {
|
|
181
|
+
hash: string;
|
|
182
|
+
globalVariables: import("../tx/global_variables.js").GlobalVariables;
|
|
127
183
|
nonRevertibleAccumulatedData: {
|
|
128
184
|
noteHashes: import("@aztec/foundation/schemas").Fr[];
|
|
129
185
|
nullifiers: import("@aztec/foundation/schemas").Fr[];
|
|
@@ -136,6 +192,61 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
136
192
|
appLogicEnqueuedCalls: import("../avm/avm.js").AvmEnqueuedCallHint[];
|
|
137
193
|
teardownEnqueuedCall: import("../avm/avm.js").AvmEnqueuedCallHint | null;
|
|
138
194
|
}, {
|
|
195
|
+
hash: string;
|
|
196
|
+
globalVariables: {
|
|
197
|
+
gasFees: {
|
|
198
|
+
feePerDaGas: string;
|
|
199
|
+
feePerL2Gas: string;
|
|
200
|
+
};
|
|
201
|
+
chainId?: any;
|
|
202
|
+
version?: any;
|
|
203
|
+
blockNumber?: any;
|
|
204
|
+
slotNumber?: any;
|
|
205
|
+
timestamp?: any;
|
|
206
|
+
coinbase?: any;
|
|
207
|
+
feeRecipient?: any;
|
|
208
|
+
};
|
|
209
|
+
nonRevertibleAccumulatedData: {
|
|
210
|
+
noteHashes: string[];
|
|
211
|
+
nullifiers: string[];
|
|
212
|
+
};
|
|
213
|
+
revertibleAccumulatedData: {
|
|
214
|
+
noteHashes: string[];
|
|
215
|
+
nullifiers: string[];
|
|
216
|
+
};
|
|
217
|
+
setupEnqueuedCalls: {
|
|
218
|
+
isStaticCall: boolean;
|
|
219
|
+
calldata: string[];
|
|
220
|
+
contractAddress?: any;
|
|
221
|
+
msgSender?: any;
|
|
222
|
+
}[];
|
|
223
|
+
appLogicEnqueuedCalls: {
|
|
224
|
+
isStaticCall: boolean;
|
|
225
|
+
calldata: string[];
|
|
226
|
+
contractAddress?: any;
|
|
227
|
+
msgSender?: any;
|
|
228
|
+
}[];
|
|
229
|
+
teardownEnqueuedCall: {
|
|
230
|
+
isStaticCall: boolean;
|
|
231
|
+
calldata: string[];
|
|
232
|
+
contractAddress?: any;
|
|
233
|
+
msgSender?: any;
|
|
234
|
+
} | null;
|
|
235
|
+
}>, import("../avm/avm.js").AvmTxHint, {
|
|
236
|
+
hash: string;
|
|
237
|
+
globalVariables: {
|
|
238
|
+
gasFees: {
|
|
239
|
+
feePerDaGas: string;
|
|
240
|
+
feePerL2Gas: string;
|
|
241
|
+
};
|
|
242
|
+
chainId?: any;
|
|
243
|
+
version?: any;
|
|
244
|
+
blockNumber?: any;
|
|
245
|
+
slotNumber?: any;
|
|
246
|
+
timestamp?: any;
|
|
247
|
+
coinbase?: any;
|
|
248
|
+
feeRecipient?: any;
|
|
249
|
+
};
|
|
139
250
|
nonRevertibleAccumulatedData: {
|
|
140
251
|
noteHashes: string[];
|
|
141
252
|
nullifiers: string[];
|
|
@@ -278,6 +389,99 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
278
389
|
classId: string;
|
|
279
390
|
commitment: string;
|
|
280
391
|
}>, "many">;
|
|
392
|
+
startingTreeRoots: z.ZodEffects<z.ZodObject<{
|
|
393
|
+
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
394
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
395
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
396
|
+
}, "strip", z.ZodTypeAny, {
|
|
397
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
398
|
+
nextAvailableLeafIndex: number;
|
|
399
|
+
}, {
|
|
400
|
+
root: string;
|
|
401
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
402
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
403
|
+
root: string;
|
|
404
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
405
|
+
}>;
|
|
406
|
+
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
407
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
408
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
409
|
+
}, "strip", z.ZodTypeAny, {
|
|
410
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
411
|
+
nextAvailableLeafIndex: number;
|
|
412
|
+
}, {
|
|
413
|
+
root: string;
|
|
414
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
415
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
416
|
+
root: string;
|
|
417
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
418
|
+
}>;
|
|
419
|
+
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
420
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
421
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
422
|
+
}, "strip", z.ZodTypeAny, {
|
|
423
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
424
|
+
nextAvailableLeafIndex: number;
|
|
425
|
+
}, {
|
|
426
|
+
root: string;
|
|
427
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
428
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
429
|
+
root: string;
|
|
430
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
431
|
+
}>;
|
|
432
|
+
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
433
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
434
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
435
|
+
}, "strip", z.ZodTypeAny, {
|
|
436
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
437
|
+
nextAvailableLeafIndex: number;
|
|
438
|
+
}, {
|
|
439
|
+
root: string;
|
|
440
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
441
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
442
|
+
root: string;
|
|
443
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
444
|
+
}>;
|
|
445
|
+
}, "strip", z.ZodTypeAny, {
|
|
446
|
+
noteHashTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
447
|
+
nullifierTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
448
|
+
publicDataTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
449
|
+
l1ToL2MessageTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
450
|
+
}, {
|
|
451
|
+
noteHashTree: {
|
|
452
|
+
root: string;
|
|
453
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
454
|
+
};
|
|
455
|
+
nullifierTree: {
|
|
456
|
+
root: string;
|
|
457
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
458
|
+
};
|
|
459
|
+
publicDataTree: {
|
|
460
|
+
root: string;
|
|
461
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
462
|
+
};
|
|
463
|
+
l1ToL2MessageTree: {
|
|
464
|
+
root: string;
|
|
465
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
466
|
+
};
|
|
467
|
+
}>, import("../tx/tree_snapshots.js").TreeSnapshots, {
|
|
468
|
+
noteHashTree: {
|
|
469
|
+
root: string;
|
|
470
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
471
|
+
};
|
|
472
|
+
nullifierTree: {
|
|
473
|
+
root: string;
|
|
474
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
475
|
+
};
|
|
476
|
+
publicDataTree: {
|
|
477
|
+
root: string;
|
|
478
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
479
|
+
};
|
|
480
|
+
l1ToL2MessageTree: {
|
|
481
|
+
root: string;
|
|
482
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
483
|
+
};
|
|
484
|
+
}>;
|
|
281
485
|
getSiblingPathHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
282
486
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
283
487
|
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
@@ -1373,23 +1577,388 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
1373
1577
|
};
|
|
1374
1578
|
};
|
|
1375
1579
|
}>, "many">;
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1580
|
+
appendLeavesHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1581
|
+
hintKey: z.ZodEffects<z.ZodObject<{
|
|
1582
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1583
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1584
|
+
}, "strip", z.ZodTypeAny, {
|
|
1585
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
1586
|
+
nextAvailableLeafIndex: number;
|
|
1587
|
+
}, {
|
|
1588
|
+
root: string;
|
|
1589
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1590
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
1591
|
+
root: string;
|
|
1592
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1593
|
+
}>;
|
|
1594
|
+
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
1595
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1596
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1597
|
+
}, "strip", z.ZodTypeAny, {
|
|
1598
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
1599
|
+
nextAvailableLeafIndex: number;
|
|
1600
|
+
}, {
|
|
1601
|
+
root: string;
|
|
1602
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1603
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
1604
|
+
root: string;
|
|
1605
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1606
|
+
}>;
|
|
1607
|
+
treeId: z.ZodNumber;
|
|
1608
|
+
leaves: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
1609
|
+
}, "strip", z.ZodTypeAny, {
|
|
1610
|
+
hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1611
|
+
treeId: number;
|
|
1612
|
+
stateAfter: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1613
|
+
leaves: import("@aztec/foundation/schemas").Fr[];
|
|
1614
|
+
}, {
|
|
1615
|
+
hintKey: {
|
|
1616
|
+
root: string;
|
|
1617
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1381
1618
|
};
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1619
|
+
treeId: number;
|
|
1620
|
+
stateAfter: {
|
|
1621
|
+
root: string;
|
|
1622
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1385
1623
|
};
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1624
|
+
leaves: string[];
|
|
1625
|
+
}>, import("../avm/avm.js").AvmAppendLeavesHint, {
|
|
1626
|
+
hintKey: {
|
|
1627
|
+
root: string;
|
|
1628
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1629
|
+
};
|
|
1630
|
+
treeId: number;
|
|
1631
|
+
stateAfter: {
|
|
1632
|
+
root: string;
|
|
1633
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1634
|
+
};
|
|
1635
|
+
leaves: string[];
|
|
1636
|
+
}>, "many">;
|
|
1637
|
+
createCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1638
|
+
actionCounter: z.ZodNumber;
|
|
1639
|
+
oldCheckpointId: z.ZodNumber;
|
|
1640
|
+
newCheckpointId: z.ZodNumber;
|
|
1641
|
+
}, "strip", z.ZodTypeAny, {
|
|
1642
|
+
actionCounter: number;
|
|
1643
|
+
oldCheckpointId: number;
|
|
1644
|
+
newCheckpointId: number;
|
|
1645
|
+
}, {
|
|
1646
|
+
actionCounter: number;
|
|
1647
|
+
oldCheckpointId: number;
|
|
1648
|
+
newCheckpointId: number;
|
|
1649
|
+
}>, {
|
|
1650
|
+
readonly actionCounter: number;
|
|
1651
|
+
readonly oldCheckpointId: number;
|
|
1652
|
+
readonly newCheckpointId: number;
|
|
1653
|
+
}, {
|
|
1654
|
+
actionCounter: number;
|
|
1655
|
+
oldCheckpointId: number;
|
|
1656
|
+
newCheckpointId: number;
|
|
1657
|
+
}>, "many">;
|
|
1658
|
+
commitCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1659
|
+
actionCounter: z.ZodNumber;
|
|
1660
|
+
oldCheckpointId: z.ZodNumber;
|
|
1661
|
+
newCheckpointId: z.ZodNumber;
|
|
1662
|
+
}, "strip", z.ZodTypeAny, {
|
|
1663
|
+
actionCounter: number;
|
|
1664
|
+
oldCheckpointId: number;
|
|
1665
|
+
newCheckpointId: number;
|
|
1666
|
+
}, {
|
|
1667
|
+
actionCounter: number;
|
|
1668
|
+
oldCheckpointId: number;
|
|
1669
|
+
newCheckpointId: number;
|
|
1670
|
+
}>, {
|
|
1671
|
+
readonly actionCounter: number;
|
|
1672
|
+
readonly oldCheckpointId: number;
|
|
1673
|
+
readonly newCheckpointId: number;
|
|
1674
|
+
}, {
|
|
1675
|
+
actionCounter: number;
|
|
1676
|
+
oldCheckpointId: number;
|
|
1677
|
+
newCheckpointId: number;
|
|
1678
|
+
}>, "many">;
|
|
1679
|
+
revertCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1680
|
+
actionCounter: z.ZodNumber;
|
|
1681
|
+
oldCheckpointId: z.ZodNumber;
|
|
1682
|
+
newCheckpointId: z.ZodNumber;
|
|
1683
|
+
stateBefore: z.ZodEffects<z.ZodObject<{
|
|
1684
|
+
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
1685
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1686
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1687
|
+
}, "strip", z.ZodTypeAny, {
|
|
1688
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
1689
|
+
nextAvailableLeafIndex: number;
|
|
1690
|
+
}, {
|
|
1691
|
+
root: string;
|
|
1692
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1693
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
1694
|
+
root: string;
|
|
1695
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1696
|
+
}>;
|
|
1697
|
+
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
1698
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1699
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1700
|
+
}, "strip", z.ZodTypeAny, {
|
|
1701
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
1702
|
+
nextAvailableLeafIndex: number;
|
|
1703
|
+
}, {
|
|
1704
|
+
root: string;
|
|
1705
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1706
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
1707
|
+
root: string;
|
|
1708
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1709
|
+
}>;
|
|
1710
|
+
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
1711
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1712
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1713
|
+
}, "strip", z.ZodTypeAny, {
|
|
1714
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
1715
|
+
nextAvailableLeafIndex: number;
|
|
1716
|
+
}, {
|
|
1717
|
+
root: string;
|
|
1718
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1719
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
1720
|
+
root: string;
|
|
1721
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1722
|
+
}>;
|
|
1723
|
+
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
1724
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1725
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1726
|
+
}, "strip", z.ZodTypeAny, {
|
|
1727
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
1728
|
+
nextAvailableLeafIndex: number;
|
|
1729
|
+
}, {
|
|
1730
|
+
root: string;
|
|
1731
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1732
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
1733
|
+
root: string;
|
|
1734
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1735
|
+
}>;
|
|
1736
|
+
}, "strip", z.ZodTypeAny, {
|
|
1737
|
+
noteHashTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1738
|
+
nullifierTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1739
|
+
publicDataTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1740
|
+
l1ToL2MessageTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1741
|
+
}, {
|
|
1742
|
+
noteHashTree: {
|
|
1743
|
+
root: string;
|
|
1744
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1745
|
+
};
|
|
1746
|
+
nullifierTree: {
|
|
1747
|
+
root: string;
|
|
1748
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1749
|
+
};
|
|
1750
|
+
publicDataTree: {
|
|
1751
|
+
root: string;
|
|
1752
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1753
|
+
};
|
|
1754
|
+
l1ToL2MessageTree: {
|
|
1755
|
+
root: string;
|
|
1756
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1757
|
+
};
|
|
1758
|
+
}>, import("../tx/tree_snapshots.js").TreeSnapshots, {
|
|
1759
|
+
noteHashTree: {
|
|
1760
|
+
root: string;
|
|
1761
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1762
|
+
};
|
|
1763
|
+
nullifierTree: {
|
|
1764
|
+
root: string;
|
|
1765
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1766
|
+
};
|
|
1767
|
+
publicDataTree: {
|
|
1768
|
+
root: string;
|
|
1769
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1770
|
+
};
|
|
1771
|
+
l1ToL2MessageTree: {
|
|
1772
|
+
root: string;
|
|
1773
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1774
|
+
};
|
|
1775
|
+
}>;
|
|
1776
|
+
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
1777
|
+
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
1778
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1779
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1780
|
+
}, "strip", z.ZodTypeAny, {
|
|
1781
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
1782
|
+
nextAvailableLeafIndex: number;
|
|
1783
|
+
}, {
|
|
1784
|
+
root: string;
|
|
1785
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1786
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
1787
|
+
root: string;
|
|
1788
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1789
|
+
}>;
|
|
1790
|
+
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
1791
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1792
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1793
|
+
}, "strip", z.ZodTypeAny, {
|
|
1794
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
1795
|
+
nextAvailableLeafIndex: number;
|
|
1796
|
+
}, {
|
|
1797
|
+
root: string;
|
|
1798
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1799
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
1800
|
+
root: string;
|
|
1801
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1802
|
+
}>;
|
|
1803
|
+
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
1804
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1805
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1806
|
+
}, "strip", z.ZodTypeAny, {
|
|
1807
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
1808
|
+
nextAvailableLeafIndex: number;
|
|
1809
|
+
}, {
|
|
1810
|
+
root: string;
|
|
1811
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1812
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
1813
|
+
root: string;
|
|
1814
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1815
|
+
}>;
|
|
1816
|
+
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
1817
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1818
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1819
|
+
}, "strip", z.ZodTypeAny, {
|
|
1820
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
1821
|
+
nextAvailableLeafIndex: number;
|
|
1822
|
+
}, {
|
|
1823
|
+
root: string;
|
|
1824
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1825
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
1826
|
+
root: string;
|
|
1827
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1828
|
+
}>;
|
|
1829
|
+
}, "strip", z.ZodTypeAny, {
|
|
1830
|
+
noteHashTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1831
|
+
nullifierTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1832
|
+
publicDataTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1833
|
+
l1ToL2MessageTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1834
|
+
}, {
|
|
1835
|
+
noteHashTree: {
|
|
1836
|
+
root: string;
|
|
1837
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1838
|
+
};
|
|
1839
|
+
nullifierTree: {
|
|
1840
|
+
root: string;
|
|
1841
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1842
|
+
};
|
|
1843
|
+
publicDataTree: {
|
|
1844
|
+
root: string;
|
|
1845
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1846
|
+
};
|
|
1847
|
+
l1ToL2MessageTree: {
|
|
1848
|
+
root: string;
|
|
1849
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1850
|
+
};
|
|
1851
|
+
}>, import("../tx/tree_snapshots.js").TreeSnapshots, {
|
|
1852
|
+
noteHashTree: {
|
|
1853
|
+
root: string;
|
|
1854
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1855
|
+
};
|
|
1856
|
+
nullifierTree: {
|
|
1857
|
+
root: string;
|
|
1858
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1859
|
+
};
|
|
1860
|
+
publicDataTree: {
|
|
1861
|
+
root: string;
|
|
1862
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1863
|
+
};
|
|
1864
|
+
l1ToL2MessageTree: {
|
|
1865
|
+
root: string;
|
|
1866
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1867
|
+
};
|
|
1868
|
+
}>;
|
|
1869
|
+
}, "strip", z.ZodTypeAny, {
|
|
1870
|
+
stateAfter: import("../tx/tree_snapshots.js").TreeSnapshots;
|
|
1871
|
+
actionCounter: number;
|
|
1872
|
+
oldCheckpointId: number;
|
|
1873
|
+
newCheckpointId: number;
|
|
1874
|
+
stateBefore: import("../tx/tree_snapshots.js").TreeSnapshots;
|
|
1875
|
+
}, {
|
|
1876
|
+
stateAfter: {
|
|
1877
|
+
noteHashTree: {
|
|
1878
|
+
root: string;
|
|
1879
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1880
|
+
};
|
|
1881
|
+
nullifierTree: {
|
|
1882
|
+
root: string;
|
|
1883
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1884
|
+
};
|
|
1885
|
+
publicDataTree: {
|
|
1886
|
+
root: string;
|
|
1887
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1888
|
+
};
|
|
1889
|
+
l1ToL2MessageTree: {
|
|
1890
|
+
root: string;
|
|
1891
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1892
|
+
};
|
|
1893
|
+
};
|
|
1894
|
+
actionCounter: number;
|
|
1895
|
+
oldCheckpointId: number;
|
|
1896
|
+
newCheckpointId: number;
|
|
1897
|
+
stateBefore: {
|
|
1898
|
+
noteHashTree: {
|
|
1899
|
+
root: string;
|
|
1900
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1901
|
+
};
|
|
1902
|
+
nullifierTree: {
|
|
1903
|
+
root: string;
|
|
1904
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1905
|
+
};
|
|
1906
|
+
publicDataTree: {
|
|
1907
|
+
root: string;
|
|
1908
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1909
|
+
};
|
|
1910
|
+
l1ToL2MessageTree: {
|
|
1911
|
+
root: string;
|
|
1912
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1913
|
+
};
|
|
1914
|
+
};
|
|
1915
|
+
}>, import("../avm/avm.js").AvmRevertCheckpointHint, {
|
|
1916
|
+
stateAfter: {
|
|
1917
|
+
noteHashTree: {
|
|
1918
|
+
root: string;
|
|
1919
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1920
|
+
};
|
|
1921
|
+
nullifierTree: {
|
|
1922
|
+
root: string;
|
|
1923
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1924
|
+
};
|
|
1925
|
+
publicDataTree: {
|
|
1926
|
+
root: string;
|
|
1927
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1928
|
+
};
|
|
1929
|
+
l1ToL2MessageTree: {
|
|
1930
|
+
root: string;
|
|
1931
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1932
|
+
};
|
|
1933
|
+
};
|
|
1934
|
+
actionCounter: number;
|
|
1935
|
+
oldCheckpointId: number;
|
|
1936
|
+
newCheckpointId: number;
|
|
1937
|
+
stateBefore: {
|
|
1938
|
+
noteHashTree: {
|
|
1939
|
+
root: string;
|
|
1940
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1941
|
+
};
|
|
1942
|
+
nullifierTree: {
|
|
1943
|
+
root: string;
|
|
1944
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1945
|
+
};
|
|
1946
|
+
publicDataTree: {
|
|
1947
|
+
root: string;
|
|
1948
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1949
|
+
};
|
|
1950
|
+
l1ToL2MessageTree: {
|
|
1951
|
+
root: string;
|
|
1952
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1953
|
+
};
|
|
1954
|
+
};
|
|
1955
|
+
}>, "many">;
|
|
1956
|
+
}, "strip", z.ZodTypeAny, {
|
|
1957
|
+
tx: import("../avm/avm.js").AvmTxHint;
|
|
1390
1958
|
contractInstances: import("../avm/avm.js").AvmContractInstanceHint[];
|
|
1391
1959
|
contractClasses: import("../avm/avm.js").AvmContractClassHint[];
|
|
1392
1960
|
bytecodeCommitments: import("../avm/avm.js").AvmBytecodeCommitmentHint[];
|
|
1961
|
+
startingTreeRoots: import("../tx/tree_snapshots.js").TreeSnapshots;
|
|
1393
1962
|
getSiblingPathHints: import("../avm/avm.js").AvmGetSiblingPathHint[];
|
|
1394
1963
|
getPreviousValueIndexHints: import("../avm/avm.js").AvmGetPreviousValueIndexHint[];
|
|
1395
1964
|
getLeafPreimageHintsPublicDataTree: {
|
|
@@ -1435,8 +2004,34 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
1435
2004
|
path: import("@aztec/foundation/schemas").Fr[];
|
|
1436
2005
|
};
|
|
1437
2006
|
}[];
|
|
2007
|
+
appendLeavesHints: import("../avm/avm.js").AvmAppendLeavesHint[];
|
|
2008
|
+
createCheckpointHints: {
|
|
2009
|
+
readonly actionCounter: number;
|
|
2010
|
+
readonly oldCheckpointId: number;
|
|
2011
|
+
readonly newCheckpointId: number;
|
|
2012
|
+
}[];
|
|
2013
|
+
commitCheckpointHints: {
|
|
2014
|
+
readonly actionCounter: number;
|
|
2015
|
+
readonly oldCheckpointId: number;
|
|
2016
|
+
readonly newCheckpointId: number;
|
|
2017
|
+
}[];
|
|
2018
|
+
revertCheckpointHints: import("../avm/avm.js").AvmRevertCheckpointHint[];
|
|
1438
2019
|
}, {
|
|
1439
2020
|
tx: {
|
|
2021
|
+
hash: string;
|
|
2022
|
+
globalVariables: {
|
|
2023
|
+
gasFees: {
|
|
2024
|
+
feePerDaGas: string;
|
|
2025
|
+
feePerL2Gas: string;
|
|
2026
|
+
};
|
|
2027
|
+
chainId?: any;
|
|
2028
|
+
version?: any;
|
|
2029
|
+
blockNumber?: any;
|
|
2030
|
+
slotNumber?: any;
|
|
2031
|
+
timestamp?: any;
|
|
2032
|
+
coinbase?: any;
|
|
2033
|
+
feeRecipient?: any;
|
|
2034
|
+
};
|
|
1440
2035
|
nonRevertibleAccumulatedData: {
|
|
1441
2036
|
noteHashes: string[];
|
|
1442
2037
|
nullifiers: string[];
|
|
@@ -1491,6 +2086,24 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
1491
2086
|
classId: string;
|
|
1492
2087
|
commitment: string;
|
|
1493
2088
|
}[];
|
|
2089
|
+
startingTreeRoots: {
|
|
2090
|
+
noteHashTree: {
|
|
2091
|
+
root: string;
|
|
2092
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2093
|
+
};
|
|
2094
|
+
nullifierTree: {
|
|
2095
|
+
root: string;
|
|
2096
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2097
|
+
};
|
|
2098
|
+
publicDataTree: {
|
|
2099
|
+
root: string;
|
|
2100
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2101
|
+
};
|
|
2102
|
+
l1ToL2MessageTree: {
|
|
2103
|
+
root: string;
|
|
2104
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2105
|
+
};
|
|
2106
|
+
};
|
|
1494
2107
|
getSiblingPathHints: {
|
|
1495
2108
|
path: string[];
|
|
1496
2109
|
index: string | number | bigint;
|
|
@@ -1667,8 +2280,85 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
1667
2280
|
};
|
|
1668
2281
|
};
|
|
1669
2282
|
}[];
|
|
2283
|
+
appendLeavesHints: {
|
|
2284
|
+
hintKey: {
|
|
2285
|
+
root: string;
|
|
2286
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2287
|
+
};
|
|
2288
|
+
treeId: number;
|
|
2289
|
+
stateAfter: {
|
|
2290
|
+
root: string;
|
|
2291
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2292
|
+
};
|
|
2293
|
+
leaves: string[];
|
|
2294
|
+
}[];
|
|
2295
|
+
createCheckpointHints: {
|
|
2296
|
+
actionCounter: number;
|
|
2297
|
+
oldCheckpointId: number;
|
|
2298
|
+
newCheckpointId: number;
|
|
2299
|
+
}[];
|
|
2300
|
+
commitCheckpointHints: {
|
|
2301
|
+
actionCounter: number;
|
|
2302
|
+
oldCheckpointId: number;
|
|
2303
|
+
newCheckpointId: number;
|
|
2304
|
+
}[];
|
|
2305
|
+
revertCheckpointHints: {
|
|
2306
|
+
stateAfter: {
|
|
2307
|
+
noteHashTree: {
|
|
2308
|
+
root: string;
|
|
2309
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2310
|
+
};
|
|
2311
|
+
nullifierTree: {
|
|
2312
|
+
root: string;
|
|
2313
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2314
|
+
};
|
|
2315
|
+
publicDataTree: {
|
|
2316
|
+
root: string;
|
|
2317
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2318
|
+
};
|
|
2319
|
+
l1ToL2MessageTree: {
|
|
2320
|
+
root: string;
|
|
2321
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2322
|
+
};
|
|
2323
|
+
};
|
|
2324
|
+
actionCounter: number;
|
|
2325
|
+
oldCheckpointId: number;
|
|
2326
|
+
newCheckpointId: number;
|
|
2327
|
+
stateBefore: {
|
|
2328
|
+
noteHashTree: {
|
|
2329
|
+
root: string;
|
|
2330
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2331
|
+
};
|
|
2332
|
+
nullifierTree: {
|
|
2333
|
+
root: string;
|
|
2334
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2335
|
+
};
|
|
2336
|
+
publicDataTree: {
|
|
2337
|
+
root: string;
|
|
2338
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2339
|
+
};
|
|
2340
|
+
l1ToL2MessageTree: {
|
|
2341
|
+
root: string;
|
|
2342
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2343
|
+
};
|
|
2344
|
+
};
|
|
2345
|
+
}[];
|
|
1670
2346
|
}>, import("../avm/avm.js").AvmExecutionHints, {
|
|
1671
2347
|
tx: {
|
|
2348
|
+
hash: string;
|
|
2349
|
+
globalVariables: {
|
|
2350
|
+
gasFees: {
|
|
2351
|
+
feePerDaGas: string;
|
|
2352
|
+
feePerL2Gas: string;
|
|
2353
|
+
};
|
|
2354
|
+
chainId?: any;
|
|
2355
|
+
version?: any;
|
|
2356
|
+
blockNumber?: any;
|
|
2357
|
+
slotNumber?: any;
|
|
2358
|
+
timestamp?: any;
|
|
2359
|
+
coinbase?: any;
|
|
2360
|
+
feeRecipient?: any;
|
|
2361
|
+
};
|
|
1672
2362
|
nonRevertibleAccumulatedData: {
|
|
1673
2363
|
noteHashes: string[];
|
|
1674
2364
|
nullifiers: string[];
|
|
@@ -1723,6 +2413,24 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
1723
2413
|
classId: string;
|
|
1724
2414
|
commitment: string;
|
|
1725
2415
|
}[];
|
|
2416
|
+
startingTreeRoots: {
|
|
2417
|
+
noteHashTree: {
|
|
2418
|
+
root: string;
|
|
2419
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2420
|
+
};
|
|
2421
|
+
nullifierTree: {
|
|
2422
|
+
root: string;
|
|
2423
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2424
|
+
};
|
|
2425
|
+
publicDataTree: {
|
|
2426
|
+
root: string;
|
|
2427
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2428
|
+
};
|
|
2429
|
+
l1ToL2MessageTree: {
|
|
2430
|
+
root: string;
|
|
2431
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2432
|
+
};
|
|
2433
|
+
};
|
|
1726
2434
|
getSiblingPathHints: {
|
|
1727
2435
|
path: string[];
|
|
1728
2436
|
index: string | number | bigint;
|
|
@@ -1899,6 +2607,69 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
1899
2607
|
};
|
|
1900
2608
|
};
|
|
1901
2609
|
}[];
|
|
2610
|
+
appendLeavesHints: {
|
|
2611
|
+
hintKey: {
|
|
2612
|
+
root: string;
|
|
2613
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2614
|
+
};
|
|
2615
|
+
treeId: number;
|
|
2616
|
+
stateAfter: {
|
|
2617
|
+
root: string;
|
|
2618
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2619
|
+
};
|
|
2620
|
+
leaves: string[];
|
|
2621
|
+
}[];
|
|
2622
|
+
createCheckpointHints: {
|
|
2623
|
+
actionCounter: number;
|
|
2624
|
+
oldCheckpointId: number;
|
|
2625
|
+
newCheckpointId: number;
|
|
2626
|
+
}[];
|
|
2627
|
+
commitCheckpointHints: {
|
|
2628
|
+
actionCounter: number;
|
|
2629
|
+
oldCheckpointId: number;
|
|
2630
|
+
newCheckpointId: number;
|
|
2631
|
+
}[];
|
|
2632
|
+
revertCheckpointHints: {
|
|
2633
|
+
stateAfter: {
|
|
2634
|
+
noteHashTree: {
|
|
2635
|
+
root: string;
|
|
2636
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2637
|
+
};
|
|
2638
|
+
nullifierTree: {
|
|
2639
|
+
root: string;
|
|
2640
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2641
|
+
};
|
|
2642
|
+
publicDataTree: {
|
|
2643
|
+
root: string;
|
|
2644
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2645
|
+
};
|
|
2646
|
+
l1ToL2MessageTree: {
|
|
2647
|
+
root: string;
|
|
2648
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2649
|
+
};
|
|
2650
|
+
};
|
|
2651
|
+
actionCounter: number;
|
|
2652
|
+
oldCheckpointId: number;
|
|
2653
|
+
newCheckpointId: number;
|
|
2654
|
+
stateBefore: {
|
|
2655
|
+
noteHashTree: {
|
|
2656
|
+
root: string;
|
|
2657
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2658
|
+
};
|
|
2659
|
+
nullifierTree: {
|
|
2660
|
+
root: string;
|
|
2661
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2662
|
+
};
|
|
2663
|
+
publicDataTree: {
|
|
2664
|
+
root: string;
|
|
2665
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2666
|
+
};
|
|
2667
|
+
l1ToL2MessageTree: {
|
|
2668
|
+
root: string;
|
|
2669
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2670
|
+
};
|
|
2671
|
+
};
|
|
2672
|
+
}[];
|
|
1902
2673
|
}>;
|
|
1903
2674
|
publicInputs: z.ZodEffects<z.ZodObject<{
|
|
1904
2675
|
globalVariables: z.ZodEffects<z.ZodObject<{
|
|
@@ -2905,8 +3676,6 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
2905
3676
|
}>;
|
|
2906
3677
|
}, "strip", z.ZodTypeAny, {
|
|
2907
3678
|
publicInputs: import("../avm/avm_circuit_public_inputs.js").AvmCircuitPublicInputs;
|
|
2908
|
-
calldata: import("@aztec/foundation/schemas").Fr[];
|
|
2909
|
-
functionName: string;
|
|
2910
3679
|
hints: import("../avm/avm.js").AvmExecutionHints;
|
|
2911
3680
|
}, {
|
|
2912
3681
|
publicInputs: {
|
|
@@ -3058,10 +3827,22 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3058
3827
|
reverted: boolean;
|
|
3059
3828
|
feePayer?: any;
|
|
3060
3829
|
};
|
|
3061
|
-
calldata: string[];
|
|
3062
|
-
functionName: string;
|
|
3063
3830
|
hints: {
|
|
3064
3831
|
tx: {
|
|
3832
|
+
hash: string;
|
|
3833
|
+
globalVariables: {
|
|
3834
|
+
gasFees: {
|
|
3835
|
+
feePerDaGas: string;
|
|
3836
|
+
feePerL2Gas: string;
|
|
3837
|
+
};
|
|
3838
|
+
chainId?: any;
|
|
3839
|
+
version?: any;
|
|
3840
|
+
blockNumber?: any;
|
|
3841
|
+
slotNumber?: any;
|
|
3842
|
+
timestamp?: any;
|
|
3843
|
+
coinbase?: any;
|
|
3844
|
+
feeRecipient?: any;
|
|
3845
|
+
};
|
|
3065
3846
|
nonRevertibleAccumulatedData: {
|
|
3066
3847
|
noteHashes: string[];
|
|
3067
3848
|
nullifiers: string[];
|
|
@@ -3116,6 +3897,24 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3116
3897
|
classId: string;
|
|
3117
3898
|
commitment: string;
|
|
3118
3899
|
}[];
|
|
3900
|
+
startingTreeRoots: {
|
|
3901
|
+
noteHashTree: {
|
|
3902
|
+
root: string;
|
|
3903
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3904
|
+
};
|
|
3905
|
+
nullifierTree: {
|
|
3906
|
+
root: string;
|
|
3907
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3908
|
+
};
|
|
3909
|
+
publicDataTree: {
|
|
3910
|
+
root: string;
|
|
3911
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3912
|
+
};
|
|
3913
|
+
l1ToL2MessageTree: {
|
|
3914
|
+
root: string;
|
|
3915
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3916
|
+
};
|
|
3917
|
+
};
|
|
3119
3918
|
getSiblingPathHints: {
|
|
3120
3919
|
path: string[];
|
|
3121
3920
|
index: string | number | bigint;
|
|
@@ -3292,6 +4091,69 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3292
4091
|
};
|
|
3293
4092
|
};
|
|
3294
4093
|
}[];
|
|
4094
|
+
appendLeavesHints: {
|
|
4095
|
+
hintKey: {
|
|
4096
|
+
root: string;
|
|
4097
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4098
|
+
};
|
|
4099
|
+
treeId: number;
|
|
4100
|
+
stateAfter: {
|
|
4101
|
+
root: string;
|
|
4102
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4103
|
+
};
|
|
4104
|
+
leaves: string[];
|
|
4105
|
+
}[];
|
|
4106
|
+
createCheckpointHints: {
|
|
4107
|
+
actionCounter: number;
|
|
4108
|
+
oldCheckpointId: number;
|
|
4109
|
+
newCheckpointId: number;
|
|
4110
|
+
}[];
|
|
4111
|
+
commitCheckpointHints: {
|
|
4112
|
+
actionCounter: number;
|
|
4113
|
+
oldCheckpointId: number;
|
|
4114
|
+
newCheckpointId: number;
|
|
4115
|
+
}[];
|
|
4116
|
+
revertCheckpointHints: {
|
|
4117
|
+
stateAfter: {
|
|
4118
|
+
noteHashTree: {
|
|
4119
|
+
root: string;
|
|
4120
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4121
|
+
};
|
|
4122
|
+
nullifierTree: {
|
|
4123
|
+
root: string;
|
|
4124
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4125
|
+
};
|
|
4126
|
+
publicDataTree: {
|
|
4127
|
+
root: string;
|
|
4128
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4129
|
+
};
|
|
4130
|
+
l1ToL2MessageTree: {
|
|
4131
|
+
root: string;
|
|
4132
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4133
|
+
};
|
|
4134
|
+
};
|
|
4135
|
+
actionCounter: number;
|
|
4136
|
+
oldCheckpointId: number;
|
|
4137
|
+
newCheckpointId: number;
|
|
4138
|
+
stateBefore: {
|
|
4139
|
+
noteHashTree: {
|
|
4140
|
+
root: string;
|
|
4141
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4142
|
+
};
|
|
4143
|
+
nullifierTree: {
|
|
4144
|
+
root: string;
|
|
4145
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4146
|
+
};
|
|
4147
|
+
publicDataTree: {
|
|
4148
|
+
root: string;
|
|
4149
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4150
|
+
};
|
|
4151
|
+
l1ToL2MessageTree: {
|
|
4152
|
+
root: string;
|
|
4153
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4154
|
+
};
|
|
4155
|
+
};
|
|
4156
|
+
}[];
|
|
3295
4157
|
};
|
|
3296
4158
|
}>, AvmCircuitInputs, {
|
|
3297
4159
|
publicInputs: {
|
|
@@ -3443,10 +4305,22 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3443
4305
|
reverted: boolean;
|
|
3444
4306
|
feePayer?: any;
|
|
3445
4307
|
};
|
|
3446
|
-
calldata: string[];
|
|
3447
|
-
functionName: string;
|
|
3448
4308
|
hints: {
|
|
3449
4309
|
tx: {
|
|
4310
|
+
hash: string;
|
|
4311
|
+
globalVariables: {
|
|
4312
|
+
gasFees: {
|
|
4313
|
+
feePerDaGas: string;
|
|
4314
|
+
feePerL2Gas: string;
|
|
4315
|
+
};
|
|
4316
|
+
chainId?: any;
|
|
4317
|
+
version?: any;
|
|
4318
|
+
blockNumber?: any;
|
|
4319
|
+
slotNumber?: any;
|
|
4320
|
+
timestamp?: any;
|
|
4321
|
+
coinbase?: any;
|
|
4322
|
+
feeRecipient?: any;
|
|
4323
|
+
};
|
|
3450
4324
|
nonRevertibleAccumulatedData: {
|
|
3451
4325
|
noteHashes: string[];
|
|
3452
4326
|
nullifiers: string[];
|
|
@@ -3501,6 +4375,24 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3501
4375
|
classId: string;
|
|
3502
4376
|
commitment: string;
|
|
3503
4377
|
}[];
|
|
4378
|
+
startingTreeRoots: {
|
|
4379
|
+
noteHashTree: {
|
|
4380
|
+
root: string;
|
|
4381
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4382
|
+
};
|
|
4383
|
+
nullifierTree: {
|
|
4384
|
+
root: string;
|
|
4385
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4386
|
+
};
|
|
4387
|
+
publicDataTree: {
|
|
4388
|
+
root: string;
|
|
4389
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4390
|
+
};
|
|
4391
|
+
l1ToL2MessageTree: {
|
|
4392
|
+
root: string;
|
|
4393
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4394
|
+
};
|
|
4395
|
+
};
|
|
3504
4396
|
getSiblingPathHints: {
|
|
3505
4397
|
path: string[];
|
|
3506
4398
|
index: string | number | bigint;
|
|
@@ -3677,6 +4569,69 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3677
4569
|
};
|
|
3678
4570
|
};
|
|
3679
4571
|
}[];
|
|
4572
|
+
appendLeavesHints: {
|
|
4573
|
+
hintKey: {
|
|
4574
|
+
root: string;
|
|
4575
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4576
|
+
};
|
|
4577
|
+
treeId: number;
|
|
4578
|
+
stateAfter: {
|
|
4579
|
+
root: string;
|
|
4580
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4581
|
+
};
|
|
4582
|
+
leaves: string[];
|
|
4583
|
+
}[];
|
|
4584
|
+
createCheckpointHints: {
|
|
4585
|
+
actionCounter: number;
|
|
4586
|
+
oldCheckpointId: number;
|
|
4587
|
+
newCheckpointId: number;
|
|
4588
|
+
}[];
|
|
4589
|
+
commitCheckpointHints: {
|
|
4590
|
+
actionCounter: number;
|
|
4591
|
+
oldCheckpointId: number;
|
|
4592
|
+
newCheckpointId: number;
|
|
4593
|
+
}[];
|
|
4594
|
+
revertCheckpointHints: {
|
|
4595
|
+
stateAfter: {
|
|
4596
|
+
noteHashTree: {
|
|
4597
|
+
root: string;
|
|
4598
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4599
|
+
};
|
|
4600
|
+
nullifierTree: {
|
|
4601
|
+
root: string;
|
|
4602
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4603
|
+
};
|
|
4604
|
+
publicDataTree: {
|
|
4605
|
+
root: string;
|
|
4606
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4607
|
+
};
|
|
4608
|
+
l1ToL2MessageTree: {
|
|
4609
|
+
root: string;
|
|
4610
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4611
|
+
};
|
|
4612
|
+
};
|
|
4613
|
+
actionCounter: number;
|
|
4614
|
+
oldCheckpointId: number;
|
|
4615
|
+
newCheckpointId: number;
|
|
4616
|
+
stateBefore: {
|
|
4617
|
+
noteHashTree: {
|
|
4618
|
+
root: string;
|
|
4619
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4620
|
+
};
|
|
4621
|
+
nullifierTree: {
|
|
4622
|
+
root: string;
|
|
4623
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4624
|
+
};
|
|
4625
|
+
publicDataTree: {
|
|
4626
|
+
root: string;
|
|
4627
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4628
|
+
};
|
|
4629
|
+
l1ToL2MessageTree: {
|
|
4630
|
+
root: string;
|
|
4631
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4632
|
+
};
|
|
4633
|
+
};
|
|
4634
|
+
}[];
|
|
3680
4635
|
};
|
|
3681
4636
|
}>;
|
|
3682
4637
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3834,10 +4789,22 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3834
4789
|
reverted: boolean;
|
|
3835
4790
|
feePayer?: any;
|
|
3836
4791
|
};
|
|
3837
|
-
calldata: string[];
|
|
3838
|
-
functionName: string;
|
|
3839
4792
|
hints: {
|
|
3840
4793
|
tx: {
|
|
4794
|
+
hash: string;
|
|
4795
|
+
globalVariables: {
|
|
4796
|
+
gasFees: {
|
|
4797
|
+
feePerDaGas: string;
|
|
4798
|
+
feePerL2Gas: string;
|
|
4799
|
+
};
|
|
4800
|
+
chainId?: any;
|
|
4801
|
+
version?: any;
|
|
4802
|
+
blockNumber?: any;
|
|
4803
|
+
slotNumber?: any;
|
|
4804
|
+
timestamp?: any;
|
|
4805
|
+
coinbase?: any;
|
|
4806
|
+
feeRecipient?: any;
|
|
4807
|
+
};
|
|
3841
4808
|
nonRevertibleAccumulatedData: {
|
|
3842
4809
|
noteHashes: string[];
|
|
3843
4810
|
nullifiers: string[];
|
|
@@ -3892,6 +4859,24 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3892
4859
|
classId: string;
|
|
3893
4860
|
commitment: string;
|
|
3894
4861
|
}[];
|
|
4862
|
+
startingTreeRoots: {
|
|
4863
|
+
noteHashTree: {
|
|
4864
|
+
root: string;
|
|
4865
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4866
|
+
};
|
|
4867
|
+
nullifierTree: {
|
|
4868
|
+
root: string;
|
|
4869
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4870
|
+
};
|
|
4871
|
+
publicDataTree: {
|
|
4872
|
+
root: string;
|
|
4873
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4874
|
+
};
|
|
4875
|
+
l1ToL2MessageTree: {
|
|
4876
|
+
root: string;
|
|
4877
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4878
|
+
};
|
|
4879
|
+
};
|
|
3895
4880
|
getSiblingPathHints: {
|
|
3896
4881
|
path: string[];
|
|
3897
4882
|
index: string | number | bigint;
|
|
@@ -4068,6 +5053,69 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4068
5053
|
};
|
|
4069
5054
|
};
|
|
4070
5055
|
}[];
|
|
5056
|
+
appendLeavesHints: {
|
|
5057
|
+
hintKey: {
|
|
5058
|
+
root: string;
|
|
5059
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
5060
|
+
};
|
|
5061
|
+
treeId: number;
|
|
5062
|
+
stateAfter: {
|
|
5063
|
+
root: string;
|
|
5064
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
5065
|
+
};
|
|
5066
|
+
leaves: string[];
|
|
5067
|
+
}[];
|
|
5068
|
+
createCheckpointHints: {
|
|
5069
|
+
actionCounter: number;
|
|
5070
|
+
oldCheckpointId: number;
|
|
5071
|
+
newCheckpointId: number;
|
|
5072
|
+
}[];
|
|
5073
|
+
commitCheckpointHints: {
|
|
5074
|
+
actionCounter: number;
|
|
5075
|
+
oldCheckpointId: number;
|
|
5076
|
+
newCheckpointId: number;
|
|
5077
|
+
}[];
|
|
5078
|
+
revertCheckpointHints: {
|
|
5079
|
+
stateAfter: {
|
|
5080
|
+
noteHashTree: {
|
|
5081
|
+
root: string;
|
|
5082
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
5083
|
+
};
|
|
5084
|
+
nullifierTree: {
|
|
5085
|
+
root: string;
|
|
5086
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
5087
|
+
};
|
|
5088
|
+
publicDataTree: {
|
|
5089
|
+
root: string;
|
|
5090
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
5091
|
+
};
|
|
5092
|
+
l1ToL2MessageTree: {
|
|
5093
|
+
root: string;
|
|
5094
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
5095
|
+
};
|
|
5096
|
+
};
|
|
5097
|
+
actionCounter: number;
|
|
5098
|
+
oldCheckpointId: number;
|
|
5099
|
+
newCheckpointId: number;
|
|
5100
|
+
stateBefore: {
|
|
5101
|
+
noteHashTree: {
|
|
5102
|
+
root: string;
|
|
5103
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
5104
|
+
};
|
|
5105
|
+
nullifierTree: {
|
|
5106
|
+
root: string;
|
|
5107
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
5108
|
+
};
|
|
5109
|
+
publicDataTree: {
|
|
5110
|
+
root: string;
|
|
5111
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
5112
|
+
};
|
|
5113
|
+
l1ToL2MessageTree: {
|
|
5114
|
+
root: string;
|
|
5115
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
5116
|
+
};
|
|
5117
|
+
};
|
|
5118
|
+
}[];
|
|
4071
5119
|
};
|
|
4072
5120
|
};
|
|
4073
5121
|
}>, z.ZodObject<{
|