@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
|
@@ -7,10 +7,64 @@ export type AvmProvingRequest = z.infer<typeof AvmProvingRequestSchema>;
|
|
|
7
7
|
export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
8
8
|
type: z.ZodLiteral<ProvingRequestType.PUBLIC_VM>;
|
|
9
9
|
inputs: z.ZodEffects<z.ZodObject<{
|
|
10
|
-
functionName: z.ZodString;
|
|
11
|
-
calldata: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
12
10
|
hints: z.ZodEffects<z.ZodObject<{
|
|
13
|
-
tx: z.ZodObject<{
|
|
11
|
+
tx: z.ZodEffects<z.ZodObject<{
|
|
12
|
+
hash: z.ZodString;
|
|
13
|
+
globalVariables: z.ZodEffects<z.ZodObject<{
|
|
14
|
+
chainId: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
|
|
15
|
+
version: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
|
|
16
|
+
blockNumber: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
|
|
17
|
+
slotNumber: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
|
|
18
|
+
timestamp: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
|
|
19
|
+
coinbase: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").EthAddress>;
|
|
20
|
+
feeRecipient: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
21
|
+
gasFees: z.ZodEffects<z.ZodObject<{
|
|
22
|
+
feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
23
|
+
feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
feePerDaGas: import("@aztec/foundation/schemas").Fr;
|
|
26
|
+
feePerL2Gas: import("@aztec/foundation/schemas").Fr;
|
|
27
|
+
}, {
|
|
28
|
+
feePerDaGas: string;
|
|
29
|
+
feePerL2Gas: string;
|
|
30
|
+
}>, import("../gas/gas_fees.js").GasFees, {
|
|
31
|
+
feePerDaGas: string;
|
|
32
|
+
feePerL2Gas: string;
|
|
33
|
+
}>;
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
chainId: import("@aztec/foundation/schemas").Fr;
|
|
36
|
+
version: import("@aztec/foundation/schemas").Fr;
|
|
37
|
+
blockNumber: import("@aztec/foundation/schemas").Fr;
|
|
38
|
+
slotNumber: import("@aztec/foundation/schemas").Fr;
|
|
39
|
+
timestamp: import("@aztec/foundation/schemas").Fr;
|
|
40
|
+
coinbase: import("@aztec/foundation/schemas").EthAddress;
|
|
41
|
+
feeRecipient: import("../aztec-address/index.js").AztecAddress;
|
|
42
|
+
gasFees: import("../gas/gas_fees.js").GasFees;
|
|
43
|
+
}, {
|
|
44
|
+
gasFees: {
|
|
45
|
+
feePerDaGas: string;
|
|
46
|
+
feePerL2Gas: string;
|
|
47
|
+
};
|
|
48
|
+
chainId?: any;
|
|
49
|
+
version?: any;
|
|
50
|
+
blockNumber?: any;
|
|
51
|
+
slotNumber?: any;
|
|
52
|
+
timestamp?: any;
|
|
53
|
+
coinbase?: any;
|
|
54
|
+
feeRecipient?: any;
|
|
55
|
+
}>, import("../tx/global_variables.js").GlobalVariables, {
|
|
56
|
+
gasFees: {
|
|
57
|
+
feePerDaGas: string;
|
|
58
|
+
feePerL2Gas: string;
|
|
59
|
+
};
|
|
60
|
+
chainId?: any;
|
|
61
|
+
version?: any;
|
|
62
|
+
blockNumber?: any;
|
|
63
|
+
slotNumber?: any;
|
|
64
|
+
timestamp?: any;
|
|
65
|
+
coinbase?: any;
|
|
66
|
+
feeRecipient?: any;
|
|
67
|
+
}>;
|
|
14
68
|
nonRevertibleAccumulatedData: z.ZodObject<{
|
|
15
69
|
noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
16
70
|
nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
@@ -95,6 +149,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
95
149
|
msgSender?: any;
|
|
96
150
|
}>>;
|
|
97
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
|
+
hash: string;
|
|
153
|
+
globalVariables: import("../tx/global_variables.js").GlobalVariables;
|
|
98
154
|
nonRevertibleAccumulatedData: {
|
|
99
155
|
noteHashes: import("@aztec/foundation/schemas").Fr[];
|
|
100
156
|
nullifiers: import("@aztec/foundation/schemas").Fr[];
|
|
@@ -107,6 +163,61 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
107
163
|
appLogicEnqueuedCalls: import("./avm.js").AvmEnqueuedCallHint[];
|
|
108
164
|
teardownEnqueuedCall: import("./avm.js").AvmEnqueuedCallHint | null;
|
|
109
165
|
}, {
|
|
166
|
+
hash: string;
|
|
167
|
+
globalVariables: {
|
|
168
|
+
gasFees: {
|
|
169
|
+
feePerDaGas: string;
|
|
170
|
+
feePerL2Gas: string;
|
|
171
|
+
};
|
|
172
|
+
chainId?: any;
|
|
173
|
+
version?: any;
|
|
174
|
+
blockNumber?: any;
|
|
175
|
+
slotNumber?: any;
|
|
176
|
+
timestamp?: any;
|
|
177
|
+
coinbase?: any;
|
|
178
|
+
feeRecipient?: any;
|
|
179
|
+
};
|
|
180
|
+
nonRevertibleAccumulatedData: {
|
|
181
|
+
noteHashes: string[];
|
|
182
|
+
nullifiers: string[];
|
|
183
|
+
};
|
|
184
|
+
revertibleAccumulatedData: {
|
|
185
|
+
noteHashes: string[];
|
|
186
|
+
nullifiers: string[];
|
|
187
|
+
};
|
|
188
|
+
setupEnqueuedCalls: {
|
|
189
|
+
isStaticCall: boolean;
|
|
190
|
+
calldata: string[];
|
|
191
|
+
contractAddress?: any;
|
|
192
|
+
msgSender?: any;
|
|
193
|
+
}[];
|
|
194
|
+
appLogicEnqueuedCalls: {
|
|
195
|
+
isStaticCall: boolean;
|
|
196
|
+
calldata: string[];
|
|
197
|
+
contractAddress?: any;
|
|
198
|
+
msgSender?: any;
|
|
199
|
+
}[];
|
|
200
|
+
teardownEnqueuedCall: {
|
|
201
|
+
isStaticCall: boolean;
|
|
202
|
+
calldata: string[];
|
|
203
|
+
contractAddress?: any;
|
|
204
|
+
msgSender?: any;
|
|
205
|
+
} | null;
|
|
206
|
+
}>, import("./avm.js").AvmTxHint, {
|
|
207
|
+
hash: string;
|
|
208
|
+
globalVariables: {
|
|
209
|
+
gasFees: {
|
|
210
|
+
feePerDaGas: string;
|
|
211
|
+
feePerL2Gas: string;
|
|
212
|
+
};
|
|
213
|
+
chainId?: any;
|
|
214
|
+
version?: any;
|
|
215
|
+
blockNumber?: any;
|
|
216
|
+
slotNumber?: any;
|
|
217
|
+
timestamp?: any;
|
|
218
|
+
coinbase?: any;
|
|
219
|
+
feeRecipient?: any;
|
|
220
|
+
};
|
|
110
221
|
nonRevertibleAccumulatedData: {
|
|
111
222
|
noteHashes: string[];
|
|
112
223
|
nullifiers: string[];
|
|
@@ -249,6 +360,99 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
249
360
|
classId: string;
|
|
250
361
|
commitment: string;
|
|
251
362
|
}>, "many">;
|
|
363
|
+
startingTreeRoots: z.ZodEffects<z.ZodObject<{
|
|
364
|
+
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
365
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
366
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
367
|
+
}, "strip", z.ZodTypeAny, {
|
|
368
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
369
|
+
nextAvailableLeafIndex: number;
|
|
370
|
+
}, {
|
|
371
|
+
root: string;
|
|
372
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
373
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
374
|
+
root: string;
|
|
375
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
376
|
+
}>;
|
|
377
|
+
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
378
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
379
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
380
|
+
}, "strip", z.ZodTypeAny, {
|
|
381
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
382
|
+
nextAvailableLeafIndex: number;
|
|
383
|
+
}, {
|
|
384
|
+
root: string;
|
|
385
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
386
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
387
|
+
root: string;
|
|
388
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
389
|
+
}>;
|
|
390
|
+
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
391
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
392
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
393
|
+
}, "strip", z.ZodTypeAny, {
|
|
394
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
395
|
+
nextAvailableLeafIndex: number;
|
|
396
|
+
}, {
|
|
397
|
+
root: string;
|
|
398
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
399
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
400
|
+
root: string;
|
|
401
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
402
|
+
}>;
|
|
403
|
+
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
404
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
405
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
406
|
+
}, "strip", z.ZodTypeAny, {
|
|
407
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
408
|
+
nextAvailableLeafIndex: number;
|
|
409
|
+
}, {
|
|
410
|
+
root: string;
|
|
411
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
412
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
413
|
+
root: string;
|
|
414
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
415
|
+
}>;
|
|
416
|
+
}, "strip", z.ZodTypeAny, {
|
|
417
|
+
noteHashTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
418
|
+
nullifierTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
419
|
+
publicDataTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
420
|
+
l1ToL2MessageTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
421
|
+
}, {
|
|
422
|
+
noteHashTree: {
|
|
423
|
+
root: string;
|
|
424
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
425
|
+
};
|
|
426
|
+
nullifierTree: {
|
|
427
|
+
root: string;
|
|
428
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
429
|
+
};
|
|
430
|
+
publicDataTree: {
|
|
431
|
+
root: string;
|
|
432
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
433
|
+
};
|
|
434
|
+
l1ToL2MessageTree: {
|
|
435
|
+
root: string;
|
|
436
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
437
|
+
};
|
|
438
|
+
}>, import("../tx/tree_snapshots.js").TreeSnapshots, {
|
|
439
|
+
noteHashTree: {
|
|
440
|
+
root: string;
|
|
441
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
442
|
+
};
|
|
443
|
+
nullifierTree: {
|
|
444
|
+
root: string;
|
|
445
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
446
|
+
};
|
|
447
|
+
publicDataTree: {
|
|
448
|
+
root: string;
|
|
449
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
450
|
+
};
|
|
451
|
+
l1ToL2MessageTree: {
|
|
452
|
+
root: string;
|
|
453
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
454
|
+
};
|
|
455
|
+
}>;
|
|
252
456
|
getSiblingPathHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
253
457
|
hintKey: z.ZodEffects<z.ZodObject<{
|
|
254
458
|
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
@@ -1344,23 +1548,388 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1344
1548
|
};
|
|
1345
1549
|
};
|
|
1346
1550
|
}>, "many">;
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1551
|
+
appendLeavesHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1552
|
+
hintKey: z.ZodEffects<z.ZodObject<{
|
|
1553
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1554
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1555
|
+
}, "strip", z.ZodTypeAny, {
|
|
1556
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
1557
|
+
nextAvailableLeafIndex: number;
|
|
1558
|
+
}, {
|
|
1559
|
+
root: string;
|
|
1560
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1561
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
1562
|
+
root: string;
|
|
1563
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1564
|
+
}>;
|
|
1565
|
+
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
1566
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1567
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1568
|
+
}, "strip", z.ZodTypeAny, {
|
|
1569
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
1570
|
+
nextAvailableLeafIndex: number;
|
|
1571
|
+
}, {
|
|
1572
|
+
root: string;
|
|
1573
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1574
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
1575
|
+
root: string;
|
|
1576
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1577
|
+
}>;
|
|
1578
|
+
treeId: z.ZodNumber;
|
|
1579
|
+
leaves: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
1580
|
+
}, "strip", z.ZodTypeAny, {
|
|
1581
|
+
hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1582
|
+
treeId: number;
|
|
1583
|
+
stateAfter: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1584
|
+
leaves: import("@aztec/foundation/schemas").Fr[];
|
|
1585
|
+
}, {
|
|
1586
|
+
hintKey: {
|
|
1587
|
+
root: string;
|
|
1588
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1352
1589
|
};
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1590
|
+
treeId: number;
|
|
1591
|
+
stateAfter: {
|
|
1592
|
+
root: string;
|
|
1593
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1356
1594
|
};
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1595
|
+
leaves: string[];
|
|
1596
|
+
}>, import("./avm.js").AvmAppendLeavesHint, {
|
|
1597
|
+
hintKey: {
|
|
1598
|
+
root: string;
|
|
1599
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1600
|
+
};
|
|
1601
|
+
treeId: number;
|
|
1602
|
+
stateAfter: {
|
|
1603
|
+
root: string;
|
|
1604
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1605
|
+
};
|
|
1606
|
+
leaves: string[];
|
|
1607
|
+
}>, "many">;
|
|
1608
|
+
createCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1609
|
+
actionCounter: z.ZodNumber;
|
|
1610
|
+
oldCheckpointId: z.ZodNumber;
|
|
1611
|
+
newCheckpointId: z.ZodNumber;
|
|
1612
|
+
}, "strip", z.ZodTypeAny, {
|
|
1613
|
+
actionCounter: number;
|
|
1614
|
+
oldCheckpointId: number;
|
|
1615
|
+
newCheckpointId: number;
|
|
1616
|
+
}, {
|
|
1617
|
+
actionCounter: number;
|
|
1618
|
+
oldCheckpointId: number;
|
|
1619
|
+
newCheckpointId: number;
|
|
1620
|
+
}>, {
|
|
1621
|
+
readonly actionCounter: number;
|
|
1622
|
+
readonly oldCheckpointId: number;
|
|
1623
|
+
readonly newCheckpointId: number;
|
|
1624
|
+
}, {
|
|
1625
|
+
actionCounter: number;
|
|
1626
|
+
oldCheckpointId: number;
|
|
1627
|
+
newCheckpointId: number;
|
|
1628
|
+
}>, "many">;
|
|
1629
|
+
commitCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1630
|
+
actionCounter: z.ZodNumber;
|
|
1631
|
+
oldCheckpointId: z.ZodNumber;
|
|
1632
|
+
newCheckpointId: z.ZodNumber;
|
|
1633
|
+
}, "strip", z.ZodTypeAny, {
|
|
1634
|
+
actionCounter: number;
|
|
1635
|
+
oldCheckpointId: number;
|
|
1636
|
+
newCheckpointId: number;
|
|
1637
|
+
}, {
|
|
1638
|
+
actionCounter: number;
|
|
1639
|
+
oldCheckpointId: number;
|
|
1640
|
+
newCheckpointId: number;
|
|
1641
|
+
}>, {
|
|
1642
|
+
readonly actionCounter: number;
|
|
1643
|
+
readonly oldCheckpointId: number;
|
|
1644
|
+
readonly newCheckpointId: number;
|
|
1645
|
+
}, {
|
|
1646
|
+
actionCounter: number;
|
|
1647
|
+
oldCheckpointId: number;
|
|
1648
|
+
newCheckpointId: number;
|
|
1649
|
+
}>, "many">;
|
|
1650
|
+
revertCheckpointHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1651
|
+
actionCounter: z.ZodNumber;
|
|
1652
|
+
oldCheckpointId: z.ZodNumber;
|
|
1653
|
+
newCheckpointId: z.ZodNumber;
|
|
1654
|
+
stateBefore: z.ZodEffects<z.ZodObject<{
|
|
1655
|
+
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
1656
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1657
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1658
|
+
}, "strip", z.ZodTypeAny, {
|
|
1659
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
1660
|
+
nextAvailableLeafIndex: number;
|
|
1661
|
+
}, {
|
|
1662
|
+
root: string;
|
|
1663
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1664
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
1665
|
+
root: string;
|
|
1666
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1667
|
+
}>;
|
|
1668
|
+
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
1669
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1670
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1671
|
+
}, "strip", z.ZodTypeAny, {
|
|
1672
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
1673
|
+
nextAvailableLeafIndex: number;
|
|
1674
|
+
}, {
|
|
1675
|
+
root: string;
|
|
1676
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1677
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
1678
|
+
root: string;
|
|
1679
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1680
|
+
}>;
|
|
1681
|
+
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
1682
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1683
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1684
|
+
}, "strip", z.ZodTypeAny, {
|
|
1685
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
1686
|
+
nextAvailableLeafIndex: number;
|
|
1687
|
+
}, {
|
|
1688
|
+
root: string;
|
|
1689
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1690
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
1691
|
+
root: string;
|
|
1692
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1693
|
+
}>;
|
|
1694
|
+
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
1695
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1696
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1697
|
+
}, "strip", z.ZodTypeAny, {
|
|
1698
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
1699
|
+
nextAvailableLeafIndex: number;
|
|
1700
|
+
}, {
|
|
1701
|
+
root: string;
|
|
1702
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1703
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
1704
|
+
root: string;
|
|
1705
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1706
|
+
}>;
|
|
1707
|
+
}, "strip", z.ZodTypeAny, {
|
|
1708
|
+
noteHashTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1709
|
+
nullifierTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1710
|
+
publicDataTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1711
|
+
l1ToL2MessageTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1712
|
+
}, {
|
|
1713
|
+
noteHashTree: {
|
|
1714
|
+
root: string;
|
|
1715
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1716
|
+
};
|
|
1717
|
+
nullifierTree: {
|
|
1718
|
+
root: string;
|
|
1719
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1720
|
+
};
|
|
1721
|
+
publicDataTree: {
|
|
1722
|
+
root: string;
|
|
1723
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1724
|
+
};
|
|
1725
|
+
l1ToL2MessageTree: {
|
|
1726
|
+
root: string;
|
|
1727
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1728
|
+
};
|
|
1729
|
+
}>, import("../tx/tree_snapshots.js").TreeSnapshots, {
|
|
1730
|
+
noteHashTree: {
|
|
1731
|
+
root: string;
|
|
1732
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1733
|
+
};
|
|
1734
|
+
nullifierTree: {
|
|
1735
|
+
root: string;
|
|
1736
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1737
|
+
};
|
|
1738
|
+
publicDataTree: {
|
|
1739
|
+
root: string;
|
|
1740
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1741
|
+
};
|
|
1742
|
+
l1ToL2MessageTree: {
|
|
1743
|
+
root: string;
|
|
1744
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1745
|
+
};
|
|
1746
|
+
}>;
|
|
1747
|
+
stateAfter: z.ZodEffects<z.ZodObject<{
|
|
1748
|
+
l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
|
|
1749
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1750
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1751
|
+
}, "strip", z.ZodTypeAny, {
|
|
1752
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
1753
|
+
nextAvailableLeafIndex: number;
|
|
1754
|
+
}, {
|
|
1755
|
+
root: string;
|
|
1756
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1757
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
1758
|
+
root: string;
|
|
1759
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1760
|
+
}>;
|
|
1761
|
+
noteHashTree: z.ZodEffects<z.ZodObject<{
|
|
1762
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1763
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1764
|
+
}, "strip", z.ZodTypeAny, {
|
|
1765
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
1766
|
+
nextAvailableLeafIndex: number;
|
|
1767
|
+
}, {
|
|
1768
|
+
root: string;
|
|
1769
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1770
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
1771
|
+
root: string;
|
|
1772
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1773
|
+
}>;
|
|
1774
|
+
nullifierTree: z.ZodEffects<z.ZodObject<{
|
|
1775
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1776
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1777
|
+
}, "strip", z.ZodTypeAny, {
|
|
1778
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
1779
|
+
nextAvailableLeafIndex: number;
|
|
1780
|
+
}, {
|
|
1781
|
+
root: string;
|
|
1782
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1783
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
1784
|
+
root: string;
|
|
1785
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1786
|
+
}>;
|
|
1787
|
+
publicDataTree: z.ZodEffects<z.ZodObject<{
|
|
1788
|
+
root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
1789
|
+
nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1790
|
+
}, "strip", z.ZodTypeAny, {
|
|
1791
|
+
root: import("@aztec/foundation/schemas").Fr;
|
|
1792
|
+
nextAvailableLeafIndex: number;
|
|
1793
|
+
}, {
|
|
1794
|
+
root: string;
|
|
1795
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1796
|
+
}>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
|
|
1797
|
+
root: string;
|
|
1798
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1799
|
+
}>;
|
|
1800
|
+
}, "strip", z.ZodTypeAny, {
|
|
1801
|
+
noteHashTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1802
|
+
nullifierTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1803
|
+
publicDataTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1804
|
+
l1ToL2MessageTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
1805
|
+
}, {
|
|
1806
|
+
noteHashTree: {
|
|
1807
|
+
root: string;
|
|
1808
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1809
|
+
};
|
|
1810
|
+
nullifierTree: {
|
|
1811
|
+
root: string;
|
|
1812
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1813
|
+
};
|
|
1814
|
+
publicDataTree: {
|
|
1815
|
+
root: string;
|
|
1816
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1817
|
+
};
|
|
1818
|
+
l1ToL2MessageTree: {
|
|
1819
|
+
root: string;
|
|
1820
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1821
|
+
};
|
|
1822
|
+
}>, import("../tx/tree_snapshots.js").TreeSnapshots, {
|
|
1823
|
+
noteHashTree: {
|
|
1824
|
+
root: string;
|
|
1825
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1826
|
+
};
|
|
1827
|
+
nullifierTree: {
|
|
1828
|
+
root: string;
|
|
1829
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1830
|
+
};
|
|
1831
|
+
publicDataTree: {
|
|
1832
|
+
root: string;
|
|
1833
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1834
|
+
};
|
|
1835
|
+
l1ToL2MessageTree: {
|
|
1836
|
+
root: string;
|
|
1837
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1838
|
+
};
|
|
1839
|
+
}>;
|
|
1840
|
+
}, "strip", z.ZodTypeAny, {
|
|
1841
|
+
stateAfter: import("../tx/tree_snapshots.js").TreeSnapshots;
|
|
1842
|
+
actionCounter: number;
|
|
1843
|
+
oldCheckpointId: number;
|
|
1844
|
+
newCheckpointId: number;
|
|
1845
|
+
stateBefore: import("../tx/tree_snapshots.js").TreeSnapshots;
|
|
1846
|
+
}, {
|
|
1847
|
+
stateAfter: {
|
|
1848
|
+
noteHashTree: {
|
|
1849
|
+
root: string;
|
|
1850
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1851
|
+
};
|
|
1852
|
+
nullifierTree: {
|
|
1853
|
+
root: string;
|
|
1854
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1855
|
+
};
|
|
1856
|
+
publicDataTree: {
|
|
1857
|
+
root: string;
|
|
1858
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1859
|
+
};
|
|
1860
|
+
l1ToL2MessageTree: {
|
|
1861
|
+
root: string;
|
|
1862
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1863
|
+
};
|
|
1864
|
+
};
|
|
1865
|
+
actionCounter: number;
|
|
1866
|
+
oldCheckpointId: number;
|
|
1867
|
+
newCheckpointId: number;
|
|
1868
|
+
stateBefore: {
|
|
1869
|
+
noteHashTree: {
|
|
1870
|
+
root: string;
|
|
1871
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1872
|
+
};
|
|
1873
|
+
nullifierTree: {
|
|
1874
|
+
root: string;
|
|
1875
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1876
|
+
};
|
|
1877
|
+
publicDataTree: {
|
|
1878
|
+
root: string;
|
|
1879
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1880
|
+
};
|
|
1881
|
+
l1ToL2MessageTree: {
|
|
1882
|
+
root: string;
|
|
1883
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1884
|
+
};
|
|
1885
|
+
};
|
|
1886
|
+
}>, import("./avm.js").AvmRevertCheckpointHint, {
|
|
1887
|
+
stateAfter: {
|
|
1888
|
+
noteHashTree: {
|
|
1889
|
+
root: string;
|
|
1890
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1891
|
+
};
|
|
1892
|
+
nullifierTree: {
|
|
1893
|
+
root: string;
|
|
1894
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1895
|
+
};
|
|
1896
|
+
publicDataTree: {
|
|
1897
|
+
root: string;
|
|
1898
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1899
|
+
};
|
|
1900
|
+
l1ToL2MessageTree: {
|
|
1901
|
+
root: string;
|
|
1902
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1903
|
+
};
|
|
1904
|
+
};
|
|
1905
|
+
actionCounter: number;
|
|
1906
|
+
oldCheckpointId: number;
|
|
1907
|
+
newCheckpointId: number;
|
|
1908
|
+
stateBefore: {
|
|
1909
|
+
noteHashTree: {
|
|
1910
|
+
root: string;
|
|
1911
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1912
|
+
};
|
|
1913
|
+
nullifierTree: {
|
|
1914
|
+
root: string;
|
|
1915
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1916
|
+
};
|
|
1917
|
+
publicDataTree: {
|
|
1918
|
+
root: string;
|
|
1919
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1920
|
+
};
|
|
1921
|
+
l1ToL2MessageTree: {
|
|
1922
|
+
root: string;
|
|
1923
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1924
|
+
};
|
|
1925
|
+
};
|
|
1926
|
+
}>, "many">;
|
|
1927
|
+
}, "strip", z.ZodTypeAny, {
|
|
1928
|
+
tx: import("./avm.js").AvmTxHint;
|
|
1361
1929
|
contractInstances: import("./avm.js").AvmContractInstanceHint[];
|
|
1362
1930
|
contractClasses: import("./avm.js").AvmContractClassHint[];
|
|
1363
1931
|
bytecodeCommitments: import("./avm.js").AvmBytecodeCommitmentHint[];
|
|
1932
|
+
startingTreeRoots: import("../tx/tree_snapshots.js").TreeSnapshots;
|
|
1364
1933
|
getSiblingPathHints: import("./avm.js").AvmGetSiblingPathHint[];
|
|
1365
1934
|
getPreviousValueIndexHints: import("./avm.js").AvmGetPreviousValueIndexHint[];
|
|
1366
1935
|
getLeafPreimageHintsPublicDataTree: {
|
|
@@ -1406,8 +1975,34 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1406
1975
|
path: import("@aztec/foundation/schemas").Fr[];
|
|
1407
1976
|
};
|
|
1408
1977
|
}[];
|
|
1978
|
+
appendLeavesHints: import("./avm.js").AvmAppendLeavesHint[];
|
|
1979
|
+
createCheckpointHints: {
|
|
1980
|
+
readonly actionCounter: number;
|
|
1981
|
+
readonly oldCheckpointId: number;
|
|
1982
|
+
readonly newCheckpointId: number;
|
|
1983
|
+
}[];
|
|
1984
|
+
commitCheckpointHints: {
|
|
1985
|
+
readonly actionCounter: number;
|
|
1986
|
+
readonly oldCheckpointId: number;
|
|
1987
|
+
readonly newCheckpointId: number;
|
|
1988
|
+
}[];
|
|
1989
|
+
revertCheckpointHints: import("./avm.js").AvmRevertCheckpointHint[];
|
|
1409
1990
|
}, {
|
|
1410
1991
|
tx: {
|
|
1992
|
+
hash: string;
|
|
1993
|
+
globalVariables: {
|
|
1994
|
+
gasFees: {
|
|
1995
|
+
feePerDaGas: string;
|
|
1996
|
+
feePerL2Gas: string;
|
|
1997
|
+
};
|
|
1998
|
+
chainId?: any;
|
|
1999
|
+
version?: any;
|
|
2000
|
+
blockNumber?: any;
|
|
2001
|
+
slotNumber?: any;
|
|
2002
|
+
timestamp?: any;
|
|
2003
|
+
coinbase?: any;
|
|
2004
|
+
feeRecipient?: any;
|
|
2005
|
+
};
|
|
1411
2006
|
nonRevertibleAccumulatedData: {
|
|
1412
2007
|
noteHashes: string[];
|
|
1413
2008
|
nullifiers: string[];
|
|
@@ -1462,6 +2057,24 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1462
2057
|
classId: string;
|
|
1463
2058
|
commitment: string;
|
|
1464
2059
|
}[];
|
|
2060
|
+
startingTreeRoots: {
|
|
2061
|
+
noteHashTree: {
|
|
2062
|
+
root: string;
|
|
2063
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2064
|
+
};
|
|
2065
|
+
nullifierTree: {
|
|
2066
|
+
root: string;
|
|
2067
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2068
|
+
};
|
|
2069
|
+
publicDataTree: {
|
|
2070
|
+
root: string;
|
|
2071
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2072
|
+
};
|
|
2073
|
+
l1ToL2MessageTree: {
|
|
2074
|
+
root: string;
|
|
2075
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2076
|
+
};
|
|
2077
|
+
};
|
|
1465
2078
|
getSiblingPathHints: {
|
|
1466
2079
|
path: string[];
|
|
1467
2080
|
index: string | number | bigint;
|
|
@@ -1638,8 +2251,85 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1638
2251
|
};
|
|
1639
2252
|
};
|
|
1640
2253
|
}[];
|
|
2254
|
+
appendLeavesHints: {
|
|
2255
|
+
hintKey: {
|
|
2256
|
+
root: string;
|
|
2257
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2258
|
+
};
|
|
2259
|
+
treeId: number;
|
|
2260
|
+
stateAfter: {
|
|
2261
|
+
root: string;
|
|
2262
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2263
|
+
};
|
|
2264
|
+
leaves: string[];
|
|
2265
|
+
}[];
|
|
2266
|
+
createCheckpointHints: {
|
|
2267
|
+
actionCounter: number;
|
|
2268
|
+
oldCheckpointId: number;
|
|
2269
|
+
newCheckpointId: number;
|
|
2270
|
+
}[];
|
|
2271
|
+
commitCheckpointHints: {
|
|
2272
|
+
actionCounter: number;
|
|
2273
|
+
oldCheckpointId: number;
|
|
2274
|
+
newCheckpointId: number;
|
|
2275
|
+
}[];
|
|
2276
|
+
revertCheckpointHints: {
|
|
2277
|
+
stateAfter: {
|
|
2278
|
+
noteHashTree: {
|
|
2279
|
+
root: string;
|
|
2280
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2281
|
+
};
|
|
2282
|
+
nullifierTree: {
|
|
2283
|
+
root: string;
|
|
2284
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2285
|
+
};
|
|
2286
|
+
publicDataTree: {
|
|
2287
|
+
root: string;
|
|
2288
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2289
|
+
};
|
|
2290
|
+
l1ToL2MessageTree: {
|
|
2291
|
+
root: string;
|
|
2292
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2293
|
+
};
|
|
2294
|
+
};
|
|
2295
|
+
actionCounter: number;
|
|
2296
|
+
oldCheckpointId: number;
|
|
2297
|
+
newCheckpointId: number;
|
|
2298
|
+
stateBefore: {
|
|
2299
|
+
noteHashTree: {
|
|
2300
|
+
root: string;
|
|
2301
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2302
|
+
};
|
|
2303
|
+
nullifierTree: {
|
|
2304
|
+
root: string;
|
|
2305
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2306
|
+
};
|
|
2307
|
+
publicDataTree: {
|
|
2308
|
+
root: string;
|
|
2309
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2310
|
+
};
|
|
2311
|
+
l1ToL2MessageTree: {
|
|
2312
|
+
root: string;
|
|
2313
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2314
|
+
};
|
|
2315
|
+
};
|
|
2316
|
+
}[];
|
|
1641
2317
|
}>, import("./avm.js").AvmExecutionHints, {
|
|
1642
2318
|
tx: {
|
|
2319
|
+
hash: string;
|
|
2320
|
+
globalVariables: {
|
|
2321
|
+
gasFees: {
|
|
2322
|
+
feePerDaGas: string;
|
|
2323
|
+
feePerL2Gas: string;
|
|
2324
|
+
};
|
|
2325
|
+
chainId?: any;
|
|
2326
|
+
version?: any;
|
|
2327
|
+
blockNumber?: any;
|
|
2328
|
+
slotNumber?: any;
|
|
2329
|
+
timestamp?: any;
|
|
2330
|
+
coinbase?: any;
|
|
2331
|
+
feeRecipient?: any;
|
|
2332
|
+
};
|
|
1643
2333
|
nonRevertibleAccumulatedData: {
|
|
1644
2334
|
noteHashes: string[];
|
|
1645
2335
|
nullifiers: string[];
|
|
@@ -1694,6 +2384,24 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1694
2384
|
classId: string;
|
|
1695
2385
|
commitment: string;
|
|
1696
2386
|
}[];
|
|
2387
|
+
startingTreeRoots: {
|
|
2388
|
+
noteHashTree: {
|
|
2389
|
+
root: string;
|
|
2390
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2391
|
+
};
|
|
2392
|
+
nullifierTree: {
|
|
2393
|
+
root: string;
|
|
2394
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2395
|
+
};
|
|
2396
|
+
publicDataTree: {
|
|
2397
|
+
root: string;
|
|
2398
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2399
|
+
};
|
|
2400
|
+
l1ToL2MessageTree: {
|
|
2401
|
+
root: string;
|
|
2402
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2403
|
+
};
|
|
2404
|
+
};
|
|
1697
2405
|
getSiblingPathHints: {
|
|
1698
2406
|
path: string[];
|
|
1699
2407
|
index: string | number | bigint;
|
|
@@ -1870,6 +2578,69 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1870
2578
|
};
|
|
1871
2579
|
};
|
|
1872
2580
|
}[];
|
|
2581
|
+
appendLeavesHints: {
|
|
2582
|
+
hintKey: {
|
|
2583
|
+
root: string;
|
|
2584
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2585
|
+
};
|
|
2586
|
+
treeId: number;
|
|
2587
|
+
stateAfter: {
|
|
2588
|
+
root: string;
|
|
2589
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2590
|
+
};
|
|
2591
|
+
leaves: string[];
|
|
2592
|
+
}[];
|
|
2593
|
+
createCheckpointHints: {
|
|
2594
|
+
actionCounter: number;
|
|
2595
|
+
oldCheckpointId: number;
|
|
2596
|
+
newCheckpointId: number;
|
|
2597
|
+
}[];
|
|
2598
|
+
commitCheckpointHints: {
|
|
2599
|
+
actionCounter: number;
|
|
2600
|
+
oldCheckpointId: number;
|
|
2601
|
+
newCheckpointId: number;
|
|
2602
|
+
}[];
|
|
2603
|
+
revertCheckpointHints: {
|
|
2604
|
+
stateAfter: {
|
|
2605
|
+
noteHashTree: {
|
|
2606
|
+
root: string;
|
|
2607
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2608
|
+
};
|
|
2609
|
+
nullifierTree: {
|
|
2610
|
+
root: string;
|
|
2611
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2612
|
+
};
|
|
2613
|
+
publicDataTree: {
|
|
2614
|
+
root: string;
|
|
2615
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2616
|
+
};
|
|
2617
|
+
l1ToL2MessageTree: {
|
|
2618
|
+
root: string;
|
|
2619
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2620
|
+
};
|
|
2621
|
+
};
|
|
2622
|
+
actionCounter: number;
|
|
2623
|
+
oldCheckpointId: number;
|
|
2624
|
+
newCheckpointId: number;
|
|
2625
|
+
stateBefore: {
|
|
2626
|
+
noteHashTree: {
|
|
2627
|
+
root: string;
|
|
2628
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2629
|
+
};
|
|
2630
|
+
nullifierTree: {
|
|
2631
|
+
root: string;
|
|
2632
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2633
|
+
};
|
|
2634
|
+
publicDataTree: {
|
|
2635
|
+
root: string;
|
|
2636
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2637
|
+
};
|
|
2638
|
+
l1ToL2MessageTree: {
|
|
2639
|
+
root: string;
|
|
2640
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
2641
|
+
};
|
|
2642
|
+
};
|
|
2643
|
+
}[];
|
|
1873
2644
|
}>;
|
|
1874
2645
|
publicInputs: z.ZodEffects<z.ZodObject<{
|
|
1875
2646
|
globalVariables: z.ZodEffects<z.ZodObject<{
|
|
@@ -2876,8 +3647,6 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2876
3647
|
}>;
|
|
2877
3648
|
}, "strip", z.ZodTypeAny, {
|
|
2878
3649
|
publicInputs: import("./avm_circuit_public_inputs.js").AvmCircuitPublicInputs;
|
|
2879
|
-
calldata: import("@aztec/foundation/schemas").Fr[];
|
|
2880
|
-
functionName: string;
|
|
2881
3650
|
hints: import("./avm.js").AvmExecutionHints;
|
|
2882
3651
|
}, {
|
|
2883
3652
|
publicInputs: {
|
|
@@ -3029,10 +3798,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3029
3798
|
reverted: boolean;
|
|
3030
3799
|
feePayer?: any;
|
|
3031
3800
|
};
|
|
3032
|
-
calldata: string[];
|
|
3033
|
-
functionName: string;
|
|
3034
3801
|
hints: {
|
|
3035
3802
|
tx: {
|
|
3803
|
+
hash: string;
|
|
3804
|
+
globalVariables: {
|
|
3805
|
+
gasFees: {
|
|
3806
|
+
feePerDaGas: string;
|
|
3807
|
+
feePerL2Gas: string;
|
|
3808
|
+
};
|
|
3809
|
+
chainId?: any;
|
|
3810
|
+
version?: any;
|
|
3811
|
+
blockNumber?: any;
|
|
3812
|
+
slotNumber?: any;
|
|
3813
|
+
timestamp?: any;
|
|
3814
|
+
coinbase?: any;
|
|
3815
|
+
feeRecipient?: any;
|
|
3816
|
+
};
|
|
3036
3817
|
nonRevertibleAccumulatedData: {
|
|
3037
3818
|
noteHashes: string[];
|
|
3038
3819
|
nullifiers: string[];
|
|
@@ -3087,6 +3868,24 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3087
3868
|
classId: string;
|
|
3088
3869
|
commitment: string;
|
|
3089
3870
|
}[];
|
|
3871
|
+
startingTreeRoots: {
|
|
3872
|
+
noteHashTree: {
|
|
3873
|
+
root: string;
|
|
3874
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3875
|
+
};
|
|
3876
|
+
nullifierTree: {
|
|
3877
|
+
root: string;
|
|
3878
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3879
|
+
};
|
|
3880
|
+
publicDataTree: {
|
|
3881
|
+
root: string;
|
|
3882
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3883
|
+
};
|
|
3884
|
+
l1ToL2MessageTree: {
|
|
3885
|
+
root: string;
|
|
3886
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
3887
|
+
};
|
|
3888
|
+
};
|
|
3090
3889
|
getSiblingPathHints: {
|
|
3091
3890
|
path: string[];
|
|
3092
3891
|
index: string | number | bigint;
|
|
@@ -3263,6 +4062,69 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3263
4062
|
};
|
|
3264
4063
|
};
|
|
3265
4064
|
}[];
|
|
4065
|
+
appendLeavesHints: {
|
|
4066
|
+
hintKey: {
|
|
4067
|
+
root: string;
|
|
4068
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4069
|
+
};
|
|
4070
|
+
treeId: number;
|
|
4071
|
+
stateAfter: {
|
|
4072
|
+
root: string;
|
|
4073
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4074
|
+
};
|
|
4075
|
+
leaves: string[];
|
|
4076
|
+
}[];
|
|
4077
|
+
createCheckpointHints: {
|
|
4078
|
+
actionCounter: number;
|
|
4079
|
+
oldCheckpointId: number;
|
|
4080
|
+
newCheckpointId: number;
|
|
4081
|
+
}[];
|
|
4082
|
+
commitCheckpointHints: {
|
|
4083
|
+
actionCounter: number;
|
|
4084
|
+
oldCheckpointId: number;
|
|
4085
|
+
newCheckpointId: number;
|
|
4086
|
+
}[];
|
|
4087
|
+
revertCheckpointHints: {
|
|
4088
|
+
stateAfter: {
|
|
4089
|
+
noteHashTree: {
|
|
4090
|
+
root: string;
|
|
4091
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4092
|
+
};
|
|
4093
|
+
nullifierTree: {
|
|
4094
|
+
root: string;
|
|
4095
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4096
|
+
};
|
|
4097
|
+
publicDataTree: {
|
|
4098
|
+
root: string;
|
|
4099
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4100
|
+
};
|
|
4101
|
+
l1ToL2MessageTree: {
|
|
4102
|
+
root: string;
|
|
4103
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4104
|
+
};
|
|
4105
|
+
};
|
|
4106
|
+
actionCounter: number;
|
|
4107
|
+
oldCheckpointId: number;
|
|
4108
|
+
newCheckpointId: number;
|
|
4109
|
+
stateBefore: {
|
|
4110
|
+
noteHashTree: {
|
|
4111
|
+
root: string;
|
|
4112
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4113
|
+
};
|
|
4114
|
+
nullifierTree: {
|
|
4115
|
+
root: string;
|
|
4116
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4117
|
+
};
|
|
4118
|
+
publicDataTree: {
|
|
4119
|
+
root: string;
|
|
4120
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4121
|
+
};
|
|
4122
|
+
l1ToL2MessageTree: {
|
|
4123
|
+
root: string;
|
|
4124
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4125
|
+
};
|
|
4126
|
+
};
|
|
4127
|
+
}[];
|
|
3266
4128
|
};
|
|
3267
4129
|
}>, AvmCircuitInputs, {
|
|
3268
4130
|
publicInputs: {
|
|
@@ -3414,10 +4276,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3414
4276
|
reverted: boolean;
|
|
3415
4277
|
feePayer?: any;
|
|
3416
4278
|
};
|
|
3417
|
-
calldata: string[];
|
|
3418
|
-
functionName: string;
|
|
3419
4279
|
hints: {
|
|
3420
4280
|
tx: {
|
|
4281
|
+
hash: string;
|
|
4282
|
+
globalVariables: {
|
|
4283
|
+
gasFees: {
|
|
4284
|
+
feePerDaGas: string;
|
|
4285
|
+
feePerL2Gas: string;
|
|
4286
|
+
};
|
|
4287
|
+
chainId?: any;
|
|
4288
|
+
version?: any;
|
|
4289
|
+
blockNumber?: any;
|
|
4290
|
+
slotNumber?: any;
|
|
4291
|
+
timestamp?: any;
|
|
4292
|
+
coinbase?: any;
|
|
4293
|
+
feeRecipient?: any;
|
|
4294
|
+
};
|
|
3421
4295
|
nonRevertibleAccumulatedData: {
|
|
3422
4296
|
noteHashes: string[];
|
|
3423
4297
|
nullifiers: string[];
|
|
@@ -3472,6 +4346,24 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3472
4346
|
classId: string;
|
|
3473
4347
|
commitment: string;
|
|
3474
4348
|
}[];
|
|
4349
|
+
startingTreeRoots: {
|
|
4350
|
+
noteHashTree: {
|
|
4351
|
+
root: string;
|
|
4352
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4353
|
+
};
|
|
4354
|
+
nullifierTree: {
|
|
4355
|
+
root: string;
|
|
4356
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4357
|
+
};
|
|
4358
|
+
publicDataTree: {
|
|
4359
|
+
root: string;
|
|
4360
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4361
|
+
};
|
|
4362
|
+
l1ToL2MessageTree: {
|
|
4363
|
+
root: string;
|
|
4364
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4365
|
+
};
|
|
4366
|
+
};
|
|
3475
4367
|
getSiblingPathHints: {
|
|
3476
4368
|
path: string[];
|
|
3477
4369
|
index: string | number | bigint;
|
|
@@ -3648,6 +4540,69 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3648
4540
|
};
|
|
3649
4541
|
};
|
|
3650
4542
|
}[];
|
|
4543
|
+
appendLeavesHints: {
|
|
4544
|
+
hintKey: {
|
|
4545
|
+
root: string;
|
|
4546
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4547
|
+
};
|
|
4548
|
+
treeId: number;
|
|
4549
|
+
stateAfter: {
|
|
4550
|
+
root: string;
|
|
4551
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4552
|
+
};
|
|
4553
|
+
leaves: string[];
|
|
4554
|
+
}[];
|
|
4555
|
+
createCheckpointHints: {
|
|
4556
|
+
actionCounter: number;
|
|
4557
|
+
oldCheckpointId: number;
|
|
4558
|
+
newCheckpointId: number;
|
|
4559
|
+
}[];
|
|
4560
|
+
commitCheckpointHints: {
|
|
4561
|
+
actionCounter: number;
|
|
4562
|
+
oldCheckpointId: number;
|
|
4563
|
+
newCheckpointId: number;
|
|
4564
|
+
}[];
|
|
4565
|
+
revertCheckpointHints: {
|
|
4566
|
+
stateAfter: {
|
|
4567
|
+
noteHashTree: {
|
|
4568
|
+
root: string;
|
|
4569
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4570
|
+
};
|
|
4571
|
+
nullifierTree: {
|
|
4572
|
+
root: string;
|
|
4573
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4574
|
+
};
|
|
4575
|
+
publicDataTree: {
|
|
4576
|
+
root: string;
|
|
4577
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4578
|
+
};
|
|
4579
|
+
l1ToL2MessageTree: {
|
|
4580
|
+
root: string;
|
|
4581
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4582
|
+
};
|
|
4583
|
+
};
|
|
4584
|
+
actionCounter: number;
|
|
4585
|
+
oldCheckpointId: number;
|
|
4586
|
+
newCheckpointId: number;
|
|
4587
|
+
stateBefore: {
|
|
4588
|
+
noteHashTree: {
|
|
4589
|
+
root: string;
|
|
4590
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4591
|
+
};
|
|
4592
|
+
nullifierTree: {
|
|
4593
|
+
root: string;
|
|
4594
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4595
|
+
};
|
|
4596
|
+
publicDataTree: {
|
|
4597
|
+
root: string;
|
|
4598
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4599
|
+
};
|
|
4600
|
+
l1ToL2MessageTree: {
|
|
4601
|
+
root: string;
|
|
4602
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4603
|
+
};
|
|
4604
|
+
};
|
|
4605
|
+
}[];
|
|
3651
4606
|
};
|
|
3652
4607
|
}>;
|
|
3653
4608
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3805,10 +4760,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3805
4760
|
reverted: boolean;
|
|
3806
4761
|
feePayer?: any;
|
|
3807
4762
|
};
|
|
3808
|
-
calldata: string[];
|
|
3809
|
-
functionName: string;
|
|
3810
4763
|
hints: {
|
|
3811
4764
|
tx: {
|
|
4765
|
+
hash: string;
|
|
4766
|
+
globalVariables: {
|
|
4767
|
+
gasFees: {
|
|
4768
|
+
feePerDaGas: string;
|
|
4769
|
+
feePerL2Gas: string;
|
|
4770
|
+
};
|
|
4771
|
+
chainId?: any;
|
|
4772
|
+
version?: any;
|
|
4773
|
+
blockNumber?: any;
|
|
4774
|
+
slotNumber?: any;
|
|
4775
|
+
timestamp?: any;
|
|
4776
|
+
coinbase?: any;
|
|
4777
|
+
feeRecipient?: any;
|
|
4778
|
+
};
|
|
3812
4779
|
nonRevertibleAccumulatedData: {
|
|
3813
4780
|
noteHashes: string[];
|
|
3814
4781
|
nullifiers: string[];
|
|
@@ -3863,6 +4830,24 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3863
4830
|
classId: string;
|
|
3864
4831
|
commitment: string;
|
|
3865
4832
|
}[];
|
|
4833
|
+
startingTreeRoots: {
|
|
4834
|
+
noteHashTree: {
|
|
4835
|
+
root: string;
|
|
4836
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4837
|
+
};
|
|
4838
|
+
nullifierTree: {
|
|
4839
|
+
root: string;
|
|
4840
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4841
|
+
};
|
|
4842
|
+
publicDataTree: {
|
|
4843
|
+
root: string;
|
|
4844
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4845
|
+
};
|
|
4846
|
+
l1ToL2MessageTree: {
|
|
4847
|
+
root: string;
|
|
4848
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
4849
|
+
};
|
|
4850
|
+
};
|
|
3866
4851
|
getSiblingPathHints: {
|
|
3867
4852
|
path: string[];
|
|
3868
4853
|
index: string | number | bigint;
|
|
@@ -4039,6 +5024,69 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4039
5024
|
};
|
|
4040
5025
|
};
|
|
4041
5026
|
}[];
|
|
5027
|
+
appendLeavesHints: {
|
|
5028
|
+
hintKey: {
|
|
5029
|
+
root: string;
|
|
5030
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
5031
|
+
};
|
|
5032
|
+
treeId: number;
|
|
5033
|
+
stateAfter: {
|
|
5034
|
+
root: string;
|
|
5035
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
5036
|
+
};
|
|
5037
|
+
leaves: string[];
|
|
5038
|
+
}[];
|
|
5039
|
+
createCheckpointHints: {
|
|
5040
|
+
actionCounter: number;
|
|
5041
|
+
oldCheckpointId: number;
|
|
5042
|
+
newCheckpointId: number;
|
|
5043
|
+
}[];
|
|
5044
|
+
commitCheckpointHints: {
|
|
5045
|
+
actionCounter: number;
|
|
5046
|
+
oldCheckpointId: number;
|
|
5047
|
+
newCheckpointId: number;
|
|
5048
|
+
}[];
|
|
5049
|
+
revertCheckpointHints: {
|
|
5050
|
+
stateAfter: {
|
|
5051
|
+
noteHashTree: {
|
|
5052
|
+
root: string;
|
|
5053
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
5054
|
+
};
|
|
5055
|
+
nullifierTree: {
|
|
5056
|
+
root: string;
|
|
5057
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
5058
|
+
};
|
|
5059
|
+
publicDataTree: {
|
|
5060
|
+
root: string;
|
|
5061
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
5062
|
+
};
|
|
5063
|
+
l1ToL2MessageTree: {
|
|
5064
|
+
root: string;
|
|
5065
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
5066
|
+
};
|
|
5067
|
+
};
|
|
5068
|
+
actionCounter: number;
|
|
5069
|
+
oldCheckpointId: number;
|
|
5070
|
+
newCheckpointId: number;
|
|
5071
|
+
stateBefore: {
|
|
5072
|
+
noteHashTree: {
|
|
5073
|
+
root: string;
|
|
5074
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
5075
|
+
};
|
|
5076
|
+
nullifierTree: {
|
|
5077
|
+
root: string;
|
|
5078
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
5079
|
+
};
|
|
5080
|
+
publicDataTree: {
|
|
5081
|
+
root: string;
|
|
5082
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
5083
|
+
};
|
|
5084
|
+
l1ToL2MessageTree: {
|
|
5085
|
+
root: string;
|
|
5086
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
5087
|
+
};
|
|
5088
|
+
};
|
|
5089
|
+
}[];
|
|
4042
5090
|
};
|
|
4043
5091
|
};
|
|
4044
5092
|
}>;
|