@aztec/stdlib 0.87.1 → 0.87.2-nightly.20250524
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/abi/abi.d.ts +3 -0
- package/dest/abi/abi.d.ts.map +1 -1
- package/dest/abi/abi.js +38 -0
- package/dest/avm/avm.d.ts +696 -12
- package/dest/avm/avm.d.ts.map +1 -1
- package/dest/avm/avm.js +16 -8
- package/dest/avm/avm_accumulated_data.d.ts +77 -0
- package/dest/avm/avm_accumulated_data.d.ts.map +1 -1
- package/dest/avm/avm_accumulated_data.js +67 -0
- package/dest/avm/avm_circuit_public_inputs.d.ts +73 -3
- package/dest/avm/avm_circuit_public_inputs.d.ts.map +1 -1
- package/dest/avm/avm_circuit_public_inputs.js +19 -9
- package/dest/avm/avm_proving_request.d.ts +366 -0
- package/dest/avm/avm_proving_request.d.ts.map +1 -1
- package/dest/block/body.d.ts +1 -1
- package/dest/block/body.d.ts.map +1 -1
- package/dest/block/body.js +2 -2
- package/dest/block/l2_block.d.ts +1 -1
- package/dest/block/l2_block.d.ts.map +1 -1
- package/dest/block/l2_block.js +2 -2
- package/dest/block/l2_block_source.d.ts +9 -4
- package/dest/block/l2_block_source.d.ts.map +1 -1
- package/dest/block/l2_block_source.js +1 -0
- package/dest/interfaces/proving-job.d.ts +370 -4
- package/dest/interfaces/proving-job.d.ts.map +1 -1
- package/dest/interfaces/proving-job.js +2 -2
- package/dest/interfaces/server_circuit_prover.d.ts +3 -2
- package/dest/interfaces/server_circuit_prover.d.ts.map +1 -1
- package/dest/kernel/index.d.ts +1 -0
- package/dest/kernel/index.d.ts.map +1 -1
- package/dest/kernel/index.js +1 -0
- package/dest/kernel/padded_side_effects.d.ts +26 -0
- package/dest/kernel/padded_side_effects.d.ts.map +1 -0
- package/dest/kernel/padded_side_effects.js +51 -0
- package/dest/kernel/private_kernel_data.d.ts +6 -25
- package/dest/kernel/private_kernel_data.d.ts.map +1 -1
- package/dest/kernel/private_kernel_data.js +8 -19
- package/dest/kernel/private_kernel_reset_circuit_private_inputs.d.ts +5 -2
- package/dest/kernel/private_kernel_reset_circuit_private_inputs.d.ts.map +1 -1
- package/dest/kernel/private_kernel_reset_circuit_private_inputs.js +9 -5
- package/dest/kernel/private_kernel_tail_circuit_private_inputs.d.ts +10 -1
- package/dest/kernel/private_kernel_tail_circuit_private_inputs.d.ts.map +1 -1
- package/dest/kernel/private_kernel_tail_circuit_private_inputs.js +8 -3
- package/dest/kernel/public_call_request.d.ts +54 -0
- package/dest/kernel/public_call_request.d.ts.map +1 -1
- package/dest/kernel/public_call_request.js +58 -0
- package/dest/logs/pending_tagged_log.d.ts +1 -1
- package/dest/logs/pending_tagged_log.js +1 -1
- package/dest/rollup/avm_proof_data.d.ts +7 -5
- package/dest/rollup/avm_proof_data.d.ts.map +1 -1
- package/dest/rollup/avm_proof_data.js +12 -4
- package/dest/rollup/previous_rollup_block_data.d.ts +6 -15
- package/dest/rollup/previous_rollup_block_data.d.ts.map +1 -1
- package/dest/rollup/previous_rollup_block_data.js +8 -13
- package/dest/rollup/previous_rollup_data.d.ts +6 -15
- package/dest/rollup/previous_rollup_data.d.ts.map +1 -1
- package/dest/rollup/previous_rollup_data.js +8 -13
- package/dest/rollup/private_tube_data.d.ts +3 -3
- package/dest/rollup/private_tube_data.d.ts.map +1 -1
- package/dest/rollup/private_tube_data.js +3 -3
- package/dest/rollup/public_tube_data.d.ts +3 -3
- package/dest/rollup/public_tube_data.d.ts.map +1 -1
- package/dest/rollup/public_tube_data.js +3 -3
- package/dest/rollup/root_rollup.d.ts +9 -10
- package/dest/rollup/root_rollup.d.ts.map +1 -1
- package/dest/rollup/root_rollup.js +9 -20
- package/dest/tests/factories.d.ts +2 -1
- package/dest/tests/factories.d.ts.map +1 -1
- package/dest/tests/factories.js +21 -15
- package/dest/tx/tx_effect.d.ts +1 -1
- package/dest/tx/tx_effect.d.ts.map +1 -1
- package/dest/tx/tx_effect.js +2 -2
- package/dest/tx/validator/error_texts.d.ts +1 -1
- package/dest/tx/validator/error_texts.d.ts.map +1 -1
- package/dest/tx/validator/error_texts.js +1 -1
- package/dest/validators/types.d.ts +4 -0
- package/dest/validators/types.d.ts.map +1 -1
- package/dest/vks/index.d.ts +1 -1
- package/dest/vks/index.d.ts.map +1 -1
- package/dest/vks/index.js +1 -1
- package/dest/vks/{vk_witness_data.d.ts → vk_data.d.ts} +8 -8
- package/dest/vks/vk_data.d.ts.map +1 -0
- package/dest/vks/{vk_witness_data.js → vk_data.js} +10 -10
- package/package.json +7 -7
- package/src/abi/abi.ts +37 -0
- package/src/avm/avm.ts +14 -0
- package/src/avm/avm_accumulated_data.ts +93 -0
- package/src/avm/avm_circuit_public_inputs.ts +22 -2
- package/src/block/body.ts +7 -2
- package/src/block/l2_block.ts +2 -1
- package/src/block/l2_block_source.ts +9 -3
- package/src/interfaces/proving-job.ts +3 -3
- package/src/interfaces/server_circuit_prover.ts +3 -2
- package/src/kernel/index.ts +1 -0
- package/src/kernel/padded_side_effects.ts +73 -0
- package/src/kernel/private_kernel_data.ts +7 -29
- package/src/kernel/private_kernel_reset_circuit_private_inputs.ts +6 -3
- package/src/kernel/private_kernel_tail_circuit_private_inputs.ts +10 -2
- package/src/kernel/public_call_request.ts +66 -0
- package/src/logs/pending_tagged_log.ts +1 -1
- package/src/rollup/avm_proof_data.ts +14 -7
- package/src/rollup/previous_rollup_block_data.ts +6 -12
- package/src/rollup/previous_rollup_data.ts +6 -12
- package/src/rollup/private_tube_data.ts +4 -4
- package/src/rollup/public_tube_data.ts +4 -4
- package/src/rollup/root_rollup.ts +6 -19
- package/src/tests/factories.ts +32 -20
- package/src/tx/tx_effect.ts +23 -5
- package/src/tx/validator/error_texts.ts +1 -1
- package/src/validators/types.ts +2 -0
- package/src/vks/index.ts +1 -1
- package/src/vks/{vk_witness_data.ts → vk_data.ts} +6 -6
- package/dest/vks/vk_witness_data.d.ts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { EthAddress } from '@aztec/foundation/eth-address';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TypedEventEmitter } from '@aztec/foundation/types';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import type { L1RollupConstants } from '../epoch-helpers/index.js';
|
|
5
5
|
import type { BlockHeader } from '../tx/block_header.js';
|
|
@@ -106,7 +106,11 @@ export interface L2BlockSource {
|
|
|
106
106
|
* L2BlockSource that emits events upon pending / proven chain changes.
|
|
107
107
|
* see L2BlockSourceEvents for the events emitted.
|
|
108
108
|
*/
|
|
109
|
-
export
|
|
109
|
+
export type ArchiverEmitter = TypedEventEmitter<{
|
|
110
|
+
[L2BlockSourceEvents.L2PruneDetected]: (args: L2BlockSourceEvent) => void;
|
|
111
|
+
[L2BlockSourceEvents.L2BlockProven]: (args: L2BlockSourceEvent) => void;
|
|
112
|
+
}>;
|
|
113
|
+
export interface L2BlockSourceEventEmitter extends L2BlockSource, ArchiverEmitter {
|
|
110
114
|
}
|
|
111
115
|
/**
|
|
112
116
|
* Identifier for L2 block tags.
|
|
@@ -244,10 +248,11 @@ export declare const L2TipsSchema: z.ZodObject<{
|
|
|
244
248
|
};
|
|
245
249
|
}>;
|
|
246
250
|
export declare enum L2BlockSourceEvents {
|
|
247
|
-
L2PruneDetected = "l2PruneDetected"
|
|
251
|
+
L2PruneDetected = "l2PruneDetected",
|
|
252
|
+
L2BlockProven = "l2BlockProven"
|
|
248
253
|
}
|
|
249
254
|
export type L2BlockSourceEvent = {
|
|
250
|
-
type: 'l2PruneDetected';
|
|
255
|
+
type: 'l2PruneDetected' | 'l2BlockProven';
|
|
251
256
|
blockNumber: bigint;
|
|
252
257
|
slotNumber: bigint;
|
|
253
258
|
epochNumber: bigint;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"l2_block_source.d.ts","sourceRoot":"","sources":["../../src/block/l2_block_source.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"l2_block_source.d.ts","sourceRoot":"","sources":["../../src/block/l2_block_source.ts"],"names":[],"mappings":"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"}
|
|
@@ -26,5 +26,6 @@ export const L2TipsSchema = z.object({
|
|
|
26
26
|
});
|
|
27
27
|
export var L2BlockSourceEvents = /*#__PURE__*/ function(L2BlockSourceEvents) {
|
|
28
28
|
L2BlockSourceEvents["L2PruneDetected"] = "l2PruneDetected";
|
|
29
|
+
L2BlockSourceEvents["L2BlockProven"] = "l2BlockProven";
|
|
29
30
|
return L2BlockSourceEvents;
|
|
30
31
|
}({});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AVM_V2_PROOF_LENGTH_IN_FIELDS_PADDED, NESTED_RECURSIVE_PROOF_LENGTH, NESTED_RECURSIVE_ROLLUP_HONK_PROOF_LENGTH, RECURSIVE_PROOF_LENGTH, TUBE_PROOF_LENGTH } from '@aztec/constants';
|
|
2
2
|
import type { ZodFor } from '@aztec/foundation/schemas';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { AvmCircuitInputs } from '../avm/avm.js';
|
|
@@ -92,6 +92,99 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
92
92
|
coinbase?: any;
|
|
93
93
|
feeRecipient?: any;
|
|
94
94
|
}>;
|
|
95
|
+
gasSettings: z.ZodEffects<z.ZodObject<{
|
|
96
|
+
gasLimits: z.ZodEffects<z.ZodObject<{
|
|
97
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
98
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
99
|
+
}, "strip", z.ZodTypeAny, {
|
|
100
|
+
daGas: number;
|
|
101
|
+
l2Gas: number;
|
|
102
|
+
}, {
|
|
103
|
+
daGas: string | number | bigint;
|
|
104
|
+
l2Gas: string | number | bigint;
|
|
105
|
+
}>, import("../gas/gas.js").Gas, {
|
|
106
|
+
daGas: string | number | bigint;
|
|
107
|
+
l2Gas: string | number | bigint;
|
|
108
|
+
}>;
|
|
109
|
+
teardownGasLimits: z.ZodEffects<z.ZodObject<{
|
|
110
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
111
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
112
|
+
}, "strip", z.ZodTypeAny, {
|
|
113
|
+
daGas: number;
|
|
114
|
+
l2Gas: number;
|
|
115
|
+
}, {
|
|
116
|
+
daGas: string | number | bigint;
|
|
117
|
+
l2Gas: string | number | bigint;
|
|
118
|
+
}>, import("../gas/gas.js").Gas, {
|
|
119
|
+
daGas: string | number | bigint;
|
|
120
|
+
l2Gas: string | number | bigint;
|
|
121
|
+
}>;
|
|
122
|
+
maxFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
123
|
+
feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
124
|
+
feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
|
126
|
+
feePerDaGas: import("@aztec/foundation/schemas").Fr;
|
|
127
|
+
feePerL2Gas: import("@aztec/foundation/schemas").Fr;
|
|
128
|
+
}, {
|
|
129
|
+
feePerDaGas: string;
|
|
130
|
+
feePerL2Gas: string;
|
|
131
|
+
}>, import("../gas/gas_fees.js").GasFees, {
|
|
132
|
+
feePerDaGas: string;
|
|
133
|
+
feePerL2Gas: string;
|
|
134
|
+
}>;
|
|
135
|
+
maxPriorityFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
136
|
+
feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
137
|
+
feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
138
|
+
}, "strip", z.ZodTypeAny, {
|
|
139
|
+
feePerDaGas: import("@aztec/foundation/schemas").Fr;
|
|
140
|
+
feePerL2Gas: import("@aztec/foundation/schemas").Fr;
|
|
141
|
+
}, {
|
|
142
|
+
feePerDaGas: string;
|
|
143
|
+
feePerL2Gas: string;
|
|
144
|
+
}>, import("../gas/gas_fees.js").GasFees, {
|
|
145
|
+
feePerDaGas: string;
|
|
146
|
+
feePerL2Gas: string;
|
|
147
|
+
}>;
|
|
148
|
+
}, "strip", z.ZodTypeAny, {
|
|
149
|
+
gasLimits: import("../gas/gas.js").Gas;
|
|
150
|
+
teardownGasLimits: import("../gas/gas.js").Gas;
|
|
151
|
+
maxFeesPerGas: import("../gas/gas_fees.js").GasFees;
|
|
152
|
+
maxPriorityFeesPerGas: import("../gas/gas_fees.js").GasFees;
|
|
153
|
+
}, {
|
|
154
|
+
gasLimits: {
|
|
155
|
+
daGas: string | number | bigint;
|
|
156
|
+
l2Gas: string | number | bigint;
|
|
157
|
+
};
|
|
158
|
+
teardownGasLimits: {
|
|
159
|
+
daGas: string | number | bigint;
|
|
160
|
+
l2Gas: string | number | bigint;
|
|
161
|
+
};
|
|
162
|
+
maxFeesPerGas: {
|
|
163
|
+
feePerDaGas: string;
|
|
164
|
+
feePerL2Gas: string;
|
|
165
|
+
};
|
|
166
|
+
maxPriorityFeesPerGas: {
|
|
167
|
+
feePerDaGas: string;
|
|
168
|
+
feePerL2Gas: string;
|
|
169
|
+
};
|
|
170
|
+
}>, import("../gas/gas_settings.js").GasSettings, {
|
|
171
|
+
gasLimits: {
|
|
172
|
+
daGas: string | number | bigint;
|
|
173
|
+
l2Gas: string | number | bigint;
|
|
174
|
+
};
|
|
175
|
+
teardownGasLimits: {
|
|
176
|
+
daGas: string | number | bigint;
|
|
177
|
+
l2Gas: string | number | bigint;
|
|
178
|
+
};
|
|
179
|
+
maxFeesPerGas: {
|
|
180
|
+
feePerDaGas: string;
|
|
181
|
+
feePerL2Gas: string;
|
|
182
|
+
};
|
|
183
|
+
maxPriorityFeesPerGas: {
|
|
184
|
+
feePerDaGas: string;
|
|
185
|
+
feePerL2Gas: string;
|
|
186
|
+
};
|
|
187
|
+
}>;
|
|
95
188
|
nonRevertibleAccumulatedData: z.ZodObject<{
|
|
96
189
|
noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
97
190
|
nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
@@ -175,9 +268,23 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
175
268
|
contractAddress?: any;
|
|
176
269
|
msgSender?: any;
|
|
177
270
|
}>>;
|
|
271
|
+
gasUsedByPrivate: z.ZodEffects<z.ZodObject<{
|
|
272
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
273
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
274
|
+
}, "strip", z.ZodTypeAny, {
|
|
275
|
+
daGas: number;
|
|
276
|
+
l2Gas: number;
|
|
277
|
+
}, {
|
|
278
|
+
daGas: string | number | bigint;
|
|
279
|
+
l2Gas: string | number | bigint;
|
|
280
|
+
}>, import("../gas/gas.js").Gas, {
|
|
281
|
+
daGas: string | number | bigint;
|
|
282
|
+
l2Gas: string | number | bigint;
|
|
283
|
+
}>;
|
|
178
284
|
}, "strip", z.ZodTypeAny, {
|
|
179
285
|
hash: string;
|
|
180
286
|
globalVariables: import("../tx/global_variables.js").GlobalVariables;
|
|
287
|
+
gasSettings: import("../gas/gas_settings.js").GasSettings;
|
|
181
288
|
nonRevertibleAccumulatedData: {
|
|
182
289
|
noteHashes: import("@aztec/foundation/schemas").Fr[];
|
|
183
290
|
nullifiers: import("@aztec/foundation/schemas").Fr[];
|
|
@@ -189,6 +296,7 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
189
296
|
setupEnqueuedCalls: import("../avm/avm.js").AvmEnqueuedCallHint[];
|
|
190
297
|
appLogicEnqueuedCalls: import("../avm/avm.js").AvmEnqueuedCallHint[];
|
|
191
298
|
teardownEnqueuedCall: import("../avm/avm.js").AvmEnqueuedCallHint | null;
|
|
299
|
+
gasUsedByPrivate: import("../gas/gas.js").Gas;
|
|
192
300
|
}, {
|
|
193
301
|
hash: string;
|
|
194
302
|
globalVariables: {
|
|
@@ -204,6 +312,24 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
204
312
|
coinbase?: any;
|
|
205
313
|
feeRecipient?: any;
|
|
206
314
|
};
|
|
315
|
+
gasSettings: {
|
|
316
|
+
gasLimits: {
|
|
317
|
+
daGas: string | number | bigint;
|
|
318
|
+
l2Gas: string | number | bigint;
|
|
319
|
+
};
|
|
320
|
+
teardownGasLimits: {
|
|
321
|
+
daGas: string | number | bigint;
|
|
322
|
+
l2Gas: string | number | bigint;
|
|
323
|
+
};
|
|
324
|
+
maxFeesPerGas: {
|
|
325
|
+
feePerDaGas: string;
|
|
326
|
+
feePerL2Gas: string;
|
|
327
|
+
};
|
|
328
|
+
maxPriorityFeesPerGas: {
|
|
329
|
+
feePerDaGas: string;
|
|
330
|
+
feePerL2Gas: string;
|
|
331
|
+
};
|
|
332
|
+
};
|
|
207
333
|
nonRevertibleAccumulatedData: {
|
|
208
334
|
noteHashes: string[];
|
|
209
335
|
nullifiers: string[];
|
|
@@ -230,6 +356,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
230
356
|
contractAddress?: any;
|
|
231
357
|
msgSender?: any;
|
|
232
358
|
} | null;
|
|
359
|
+
gasUsedByPrivate: {
|
|
360
|
+
daGas: string | number | bigint;
|
|
361
|
+
l2Gas: string | number | bigint;
|
|
362
|
+
};
|
|
233
363
|
}>, import("../avm/avm.js").AvmTxHint, {
|
|
234
364
|
hash: string;
|
|
235
365
|
globalVariables: {
|
|
@@ -245,6 +375,24 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
245
375
|
coinbase?: any;
|
|
246
376
|
feeRecipient?: any;
|
|
247
377
|
};
|
|
378
|
+
gasSettings: {
|
|
379
|
+
gasLimits: {
|
|
380
|
+
daGas: string | number | bigint;
|
|
381
|
+
l2Gas: string | number | bigint;
|
|
382
|
+
};
|
|
383
|
+
teardownGasLimits: {
|
|
384
|
+
daGas: string | number | bigint;
|
|
385
|
+
l2Gas: string | number | bigint;
|
|
386
|
+
};
|
|
387
|
+
maxFeesPerGas: {
|
|
388
|
+
feePerDaGas: string;
|
|
389
|
+
feePerL2Gas: string;
|
|
390
|
+
};
|
|
391
|
+
maxPriorityFeesPerGas: {
|
|
392
|
+
feePerDaGas: string;
|
|
393
|
+
feePerL2Gas: string;
|
|
394
|
+
};
|
|
395
|
+
};
|
|
248
396
|
nonRevertibleAccumulatedData: {
|
|
249
397
|
noteHashes: string[];
|
|
250
398
|
nullifiers: string[];
|
|
@@ -271,6 +419,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
271
419
|
contractAddress?: any;
|
|
272
420
|
msgSender?: any;
|
|
273
421
|
} | null;
|
|
422
|
+
gasUsedByPrivate: {
|
|
423
|
+
daGas: string | number | bigint;
|
|
424
|
+
l2Gas: string | number | bigint;
|
|
425
|
+
};
|
|
274
426
|
}>;
|
|
275
427
|
contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
276
428
|
address: ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
@@ -2030,6 +2182,24 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
2030
2182
|
coinbase?: any;
|
|
2031
2183
|
feeRecipient?: any;
|
|
2032
2184
|
};
|
|
2185
|
+
gasSettings: {
|
|
2186
|
+
gasLimits: {
|
|
2187
|
+
daGas: string | number | bigint;
|
|
2188
|
+
l2Gas: string | number | bigint;
|
|
2189
|
+
};
|
|
2190
|
+
teardownGasLimits: {
|
|
2191
|
+
daGas: string | number | bigint;
|
|
2192
|
+
l2Gas: string | number | bigint;
|
|
2193
|
+
};
|
|
2194
|
+
maxFeesPerGas: {
|
|
2195
|
+
feePerDaGas: string;
|
|
2196
|
+
feePerL2Gas: string;
|
|
2197
|
+
};
|
|
2198
|
+
maxPriorityFeesPerGas: {
|
|
2199
|
+
feePerDaGas: string;
|
|
2200
|
+
feePerL2Gas: string;
|
|
2201
|
+
};
|
|
2202
|
+
};
|
|
2033
2203
|
nonRevertibleAccumulatedData: {
|
|
2034
2204
|
noteHashes: string[];
|
|
2035
2205
|
nullifiers: string[];
|
|
@@ -2056,6 +2226,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
2056
2226
|
contractAddress?: any;
|
|
2057
2227
|
msgSender?: any;
|
|
2058
2228
|
} | null;
|
|
2229
|
+
gasUsedByPrivate: {
|
|
2230
|
+
daGas: string | number | bigint;
|
|
2231
|
+
l2Gas: string | number | bigint;
|
|
2232
|
+
};
|
|
2059
2233
|
};
|
|
2060
2234
|
contractInstances: {
|
|
2061
2235
|
salt: string;
|
|
@@ -2357,6 +2531,24 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
2357
2531
|
coinbase?: any;
|
|
2358
2532
|
feeRecipient?: any;
|
|
2359
2533
|
};
|
|
2534
|
+
gasSettings: {
|
|
2535
|
+
gasLimits: {
|
|
2536
|
+
daGas: string | number | bigint;
|
|
2537
|
+
l2Gas: string | number | bigint;
|
|
2538
|
+
};
|
|
2539
|
+
teardownGasLimits: {
|
|
2540
|
+
daGas: string | number | bigint;
|
|
2541
|
+
l2Gas: string | number | bigint;
|
|
2542
|
+
};
|
|
2543
|
+
maxFeesPerGas: {
|
|
2544
|
+
feePerDaGas: string;
|
|
2545
|
+
feePerL2Gas: string;
|
|
2546
|
+
};
|
|
2547
|
+
maxPriorityFeesPerGas: {
|
|
2548
|
+
feePerDaGas: string;
|
|
2549
|
+
feePerL2Gas: string;
|
|
2550
|
+
};
|
|
2551
|
+
};
|
|
2360
2552
|
nonRevertibleAccumulatedData: {
|
|
2361
2553
|
noteHashes: string[];
|
|
2362
2554
|
nullifiers: string[];
|
|
@@ -2383,6 +2575,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
2383
2575
|
contractAddress?: any;
|
|
2384
2576
|
msgSender?: any;
|
|
2385
2577
|
} | null;
|
|
2578
|
+
gasUsedByPrivate: {
|
|
2579
|
+
daGas: string | number | bigint;
|
|
2580
|
+
l2Gas: string | number | bigint;
|
|
2581
|
+
};
|
|
2386
2582
|
};
|
|
2387
2583
|
contractInstances: {
|
|
2388
2584
|
salt: string;
|
|
@@ -2925,6 +3121,23 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
2925
3121
|
};
|
|
2926
3122
|
}>;
|
|
2927
3123
|
feePayer: ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
3124
|
+
publicCallRequestArrayLengths: z.ZodEffects<z.ZodObject<{
|
|
3125
|
+
setupCalls: z.ZodNumber;
|
|
3126
|
+
appLogicCalls: z.ZodNumber;
|
|
3127
|
+
teardownCall: z.ZodBoolean;
|
|
3128
|
+
}, "strip", z.ZodTypeAny, {
|
|
3129
|
+
setupCalls: number;
|
|
3130
|
+
appLogicCalls: number;
|
|
3131
|
+
teardownCall: boolean;
|
|
3132
|
+
}, {
|
|
3133
|
+
setupCalls: number;
|
|
3134
|
+
appLogicCalls: number;
|
|
3135
|
+
teardownCall: boolean;
|
|
3136
|
+
}>, import("../kernel/public_call_request.js").PublicCallRequestArrayLengths, {
|
|
3137
|
+
setupCalls: number;
|
|
3138
|
+
appLogicCalls: number;
|
|
3139
|
+
teardownCall: boolean;
|
|
3140
|
+
}>;
|
|
2928
3141
|
publicSetupCallRequests: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2929
3142
|
msgSender: ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
2930
3143
|
contractAddress: ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
@@ -3262,6 +3475,31 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3262
3475
|
daGas: string | number | bigint;
|
|
3263
3476
|
l2Gas: string | number | bigint;
|
|
3264
3477
|
}>;
|
|
3478
|
+
accumulatedDataArrayLengths: z.ZodEffects<z.ZodObject<{
|
|
3479
|
+
noteHashes: z.ZodNumber;
|
|
3480
|
+
nullifiers: z.ZodNumber;
|
|
3481
|
+
l2ToL1Msgs: z.ZodNumber;
|
|
3482
|
+
publicLogs: z.ZodNumber;
|
|
3483
|
+
publicDataWrites: z.ZodNumber;
|
|
3484
|
+
}, "strip", z.ZodTypeAny, {
|
|
3485
|
+
noteHashes: number;
|
|
3486
|
+
nullifiers: number;
|
|
3487
|
+
l2ToL1Msgs: number;
|
|
3488
|
+
publicLogs: number;
|
|
3489
|
+
publicDataWrites: number;
|
|
3490
|
+
}, {
|
|
3491
|
+
noteHashes: number;
|
|
3492
|
+
nullifiers: number;
|
|
3493
|
+
l2ToL1Msgs: number;
|
|
3494
|
+
publicLogs: number;
|
|
3495
|
+
publicDataWrites: number;
|
|
3496
|
+
}>, import("../avm/avm_accumulated_data.js").AvmAccumulatedDataArrayLengths, {
|
|
3497
|
+
noteHashes: number;
|
|
3498
|
+
nullifiers: number;
|
|
3499
|
+
l2ToL1Msgs: number;
|
|
3500
|
+
publicLogs: number;
|
|
3501
|
+
publicDataWrites: number;
|
|
3502
|
+
}>;
|
|
3265
3503
|
accumulatedData: z.ZodEffects<z.ZodObject<{
|
|
3266
3504
|
noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
3267
3505
|
nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
@@ -3365,6 +3603,7 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3365
3603
|
feePayer: import("../aztec-address/index.js").AztecAddress;
|
|
3366
3604
|
startTreeSnapshots: import("../tx/tree_snapshots.js").TreeSnapshots;
|
|
3367
3605
|
startGasUsed: import("../gas/gas.js").Gas;
|
|
3606
|
+
publicCallRequestArrayLengths: import("../kernel/public_call_request.js").PublicCallRequestArrayLengths;
|
|
3368
3607
|
publicSetupCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
|
|
3369
3608
|
publicAppLogicCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
|
|
3370
3609
|
previousNonRevertibleAccumulatedDataArrayLengths: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedDataArrayLengths;
|
|
@@ -3373,6 +3612,7 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3373
3612
|
previousRevertibleAccumulatedData: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData;
|
|
3374
3613
|
endTreeSnapshots: import("../tx/tree_snapshots.js").TreeSnapshots;
|
|
3375
3614
|
endGasUsed: import("../gas/gas.js").Gas;
|
|
3615
|
+
accumulatedDataArrayLengths: import("../avm/avm_accumulated_data.js").AvmAccumulatedDataArrayLengths;
|
|
3376
3616
|
accumulatedData: import("../avm/avm_accumulated_data.js").AvmAccumulatedData;
|
|
3377
3617
|
reverted: boolean;
|
|
3378
3618
|
}, {
|
|
@@ -3436,6 +3676,11 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3436
3676
|
daGas: string | number | bigint;
|
|
3437
3677
|
l2Gas: string | number | bigint;
|
|
3438
3678
|
};
|
|
3679
|
+
publicCallRequestArrayLengths: {
|
|
3680
|
+
setupCalls: number;
|
|
3681
|
+
appLogicCalls: number;
|
|
3682
|
+
teardownCall: boolean;
|
|
3683
|
+
};
|
|
3439
3684
|
publicSetupCallRequests: {
|
|
3440
3685
|
isStaticCall: boolean;
|
|
3441
3686
|
calldataHash: string;
|
|
@@ -3504,6 +3749,13 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3504
3749
|
daGas: string | number | bigint;
|
|
3505
3750
|
l2Gas: string | number | bigint;
|
|
3506
3751
|
};
|
|
3752
|
+
accumulatedDataArrayLengths: {
|
|
3753
|
+
noteHashes: number;
|
|
3754
|
+
nullifiers: number;
|
|
3755
|
+
l2ToL1Msgs: number;
|
|
3756
|
+
publicLogs: number;
|
|
3757
|
+
publicDataWrites: number;
|
|
3758
|
+
};
|
|
3507
3759
|
accumulatedData: {
|
|
3508
3760
|
noteHashes: string[];
|
|
3509
3761
|
nullifiers: string[];
|
|
@@ -3584,6 +3836,11 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3584
3836
|
daGas: string | number | bigint;
|
|
3585
3837
|
l2Gas: string | number | bigint;
|
|
3586
3838
|
};
|
|
3839
|
+
publicCallRequestArrayLengths: {
|
|
3840
|
+
setupCalls: number;
|
|
3841
|
+
appLogicCalls: number;
|
|
3842
|
+
teardownCall: boolean;
|
|
3843
|
+
};
|
|
3587
3844
|
publicSetupCallRequests: {
|
|
3588
3845
|
isStaticCall: boolean;
|
|
3589
3846
|
calldataHash: string;
|
|
@@ -3652,6 +3909,13 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3652
3909
|
daGas: string | number | bigint;
|
|
3653
3910
|
l2Gas: string | number | bigint;
|
|
3654
3911
|
};
|
|
3912
|
+
accumulatedDataArrayLengths: {
|
|
3913
|
+
noteHashes: number;
|
|
3914
|
+
nullifiers: number;
|
|
3915
|
+
l2ToL1Msgs: number;
|
|
3916
|
+
publicLogs: number;
|
|
3917
|
+
publicDataWrites: number;
|
|
3918
|
+
};
|
|
3655
3919
|
accumulatedData: {
|
|
3656
3920
|
noteHashes: string[];
|
|
3657
3921
|
nullifiers: string[];
|
|
@@ -3737,6 +4001,11 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3737
4001
|
daGas: string | number | bigint;
|
|
3738
4002
|
l2Gas: string | number | bigint;
|
|
3739
4003
|
};
|
|
4004
|
+
publicCallRequestArrayLengths: {
|
|
4005
|
+
setupCalls: number;
|
|
4006
|
+
appLogicCalls: number;
|
|
4007
|
+
teardownCall: boolean;
|
|
4008
|
+
};
|
|
3740
4009
|
publicSetupCallRequests: {
|
|
3741
4010
|
isStaticCall: boolean;
|
|
3742
4011
|
calldataHash: string;
|
|
@@ -3805,6 +4074,13 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3805
4074
|
daGas: string | number | bigint;
|
|
3806
4075
|
l2Gas: string | number | bigint;
|
|
3807
4076
|
};
|
|
4077
|
+
accumulatedDataArrayLengths: {
|
|
4078
|
+
noteHashes: number;
|
|
4079
|
+
nullifiers: number;
|
|
4080
|
+
l2ToL1Msgs: number;
|
|
4081
|
+
publicLogs: number;
|
|
4082
|
+
publicDataWrites: number;
|
|
4083
|
+
};
|
|
3808
4084
|
accumulatedData: {
|
|
3809
4085
|
noteHashes: string[];
|
|
3810
4086
|
nullifiers: string[];
|
|
@@ -3841,6 +4117,24 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3841
4117
|
coinbase?: any;
|
|
3842
4118
|
feeRecipient?: any;
|
|
3843
4119
|
};
|
|
4120
|
+
gasSettings: {
|
|
4121
|
+
gasLimits: {
|
|
4122
|
+
daGas: string | number | bigint;
|
|
4123
|
+
l2Gas: string | number | bigint;
|
|
4124
|
+
};
|
|
4125
|
+
teardownGasLimits: {
|
|
4126
|
+
daGas: string | number | bigint;
|
|
4127
|
+
l2Gas: string | number | bigint;
|
|
4128
|
+
};
|
|
4129
|
+
maxFeesPerGas: {
|
|
4130
|
+
feePerDaGas: string;
|
|
4131
|
+
feePerL2Gas: string;
|
|
4132
|
+
};
|
|
4133
|
+
maxPriorityFeesPerGas: {
|
|
4134
|
+
feePerDaGas: string;
|
|
4135
|
+
feePerL2Gas: string;
|
|
4136
|
+
};
|
|
4137
|
+
};
|
|
3844
4138
|
nonRevertibleAccumulatedData: {
|
|
3845
4139
|
noteHashes: string[];
|
|
3846
4140
|
nullifiers: string[];
|
|
@@ -3867,6 +4161,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3867
4161
|
contractAddress?: any;
|
|
3868
4162
|
msgSender?: any;
|
|
3869
4163
|
} | null;
|
|
4164
|
+
gasUsedByPrivate: {
|
|
4165
|
+
daGas: string | number | bigint;
|
|
4166
|
+
l2Gas: string | number | bigint;
|
|
4167
|
+
};
|
|
3870
4168
|
};
|
|
3871
4169
|
contractInstances: {
|
|
3872
4170
|
salt: string;
|
|
@@ -4215,6 +4513,11 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4215
4513
|
daGas: string | number | bigint;
|
|
4216
4514
|
l2Gas: string | number | bigint;
|
|
4217
4515
|
};
|
|
4516
|
+
publicCallRequestArrayLengths: {
|
|
4517
|
+
setupCalls: number;
|
|
4518
|
+
appLogicCalls: number;
|
|
4519
|
+
teardownCall: boolean;
|
|
4520
|
+
};
|
|
4218
4521
|
publicSetupCallRequests: {
|
|
4219
4522
|
isStaticCall: boolean;
|
|
4220
4523
|
calldataHash: string;
|
|
@@ -4283,6 +4586,13 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4283
4586
|
daGas: string | number | bigint;
|
|
4284
4587
|
l2Gas: string | number | bigint;
|
|
4285
4588
|
};
|
|
4589
|
+
accumulatedDataArrayLengths: {
|
|
4590
|
+
noteHashes: number;
|
|
4591
|
+
nullifiers: number;
|
|
4592
|
+
l2ToL1Msgs: number;
|
|
4593
|
+
publicLogs: number;
|
|
4594
|
+
publicDataWrites: number;
|
|
4595
|
+
};
|
|
4286
4596
|
accumulatedData: {
|
|
4287
4597
|
noteHashes: string[];
|
|
4288
4598
|
nullifiers: string[];
|
|
@@ -4319,6 +4629,24 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4319
4629
|
coinbase?: any;
|
|
4320
4630
|
feeRecipient?: any;
|
|
4321
4631
|
};
|
|
4632
|
+
gasSettings: {
|
|
4633
|
+
gasLimits: {
|
|
4634
|
+
daGas: string | number | bigint;
|
|
4635
|
+
l2Gas: string | number | bigint;
|
|
4636
|
+
};
|
|
4637
|
+
teardownGasLimits: {
|
|
4638
|
+
daGas: string | number | bigint;
|
|
4639
|
+
l2Gas: string | number | bigint;
|
|
4640
|
+
};
|
|
4641
|
+
maxFeesPerGas: {
|
|
4642
|
+
feePerDaGas: string;
|
|
4643
|
+
feePerL2Gas: string;
|
|
4644
|
+
};
|
|
4645
|
+
maxPriorityFeesPerGas: {
|
|
4646
|
+
feePerDaGas: string;
|
|
4647
|
+
feePerL2Gas: string;
|
|
4648
|
+
};
|
|
4649
|
+
};
|
|
4322
4650
|
nonRevertibleAccumulatedData: {
|
|
4323
4651
|
noteHashes: string[];
|
|
4324
4652
|
nullifiers: string[];
|
|
@@ -4345,6 +4673,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4345
4673
|
contractAddress?: any;
|
|
4346
4674
|
msgSender?: any;
|
|
4347
4675
|
} | null;
|
|
4676
|
+
gasUsedByPrivate: {
|
|
4677
|
+
daGas: string | number | bigint;
|
|
4678
|
+
l2Gas: string | number | bigint;
|
|
4679
|
+
};
|
|
4348
4680
|
};
|
|
4349
4681
|
contractInstances: {
|
|
4350
4682
|
salt: string;
|
|
@@ -4699,6 +5031,11 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4699
5031
|
daGas: string | number | bigint;
|
|
4700
5032
|
l2Gas: string | number | bigint;
|
|
4701
5033
|
};
|
|
5034
|
+
publicCallRequestArrayLengths: {
|
|
5035
|
+
setupCalls: number;
|
|
5036
|
+
appLogicCalls: number;
|
|
5037
|
+
teardownCall: boolean;
|
|
5038
|
+
};
|
|
4702
5039
|
publicSetupCallRequests: {
|
|
4703
5040
|
isStaticCall: boolean;
|
|
4704
5041
|
calldataHash: string;
|
|
@@ -4767,6 +5104,13 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4767
5104
|
daGas: string | number | bigint;
|
|
4768
5105
|
l2Gas: string | number | bigint;
|
|
4769
5106
|
};
|
|
5107
|
+
accumulatedDataArrayLengths: {
|
|
5108
|
+
noteHashes: number;
|
|
5109
|
+
nullifiers: number;
|
|
5110
|
+
l2ToL1Msgs: number;
|
|
5111
|
+
publicLogs: number;
|
|
5112
|
+
publicDataWrites: number;
|
|
5113
|
+
};
|
|
4770
5114
|
accumulatedData: {
|
|
4771
5115
|
noteHashes: string[];
|
|
4772
5116
|
nullifiers: string[];
|
|
@@ -4803,6 +5147,24 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4803
5147
|
coinbase?: any;
|
|
4804
5148
|
feeRecipient?: any;
|
|
4805
5149
|
};
|
|
5150
|
+
gasSettings: {
|
|
5151
|
+
gasLimits: {
|
|
5152
|
+
daGas: string | number | bigint;
|
|
5153
|
+
l2Gas: string | number | bigint;
|
|
5154
|
+
};
|
|
5155
|
+
teardownGasLimits: {
|
|
5156
|
+
daGas: string | number | bigint;
|
|
5157
|
+
l2Gas: string | number | bigint;
|
|
5158
|
+
};
|
|
5159
|
+
maxFeesPerGas: {
|
|
5160
|
+
feePerDaGas: string;
|
|
5161
|
+
feePerL2Gas: string;
|
|
5162
|
+
};
|
|
5163
|
+
maxPriorityFeesPerGas: {
|
|
5164
|
+
feePerDaGas: string;
|
|
5165
|
+
feePerL2Gas: string;
|
|
5166
|
+
};
|
|
5167
|
+
};
|
|
4806
5168
|
nonRevertibleAccumulatedData: {
|
|
4807
5169
|
noteHashes: string[];
|
|
4808
5170
|
nullifiers: string[];
|
|
@@ -4829,6 +5191,10 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
4829
5191
|
contractAddress?: any;
|
|
4830
5192
|
msgSender?: any;
|
|
4831
5193
|
} | null;
|
|
5194
|
+
gasUsedByPrivate: {
|
|
5195
|
+
daGas: string | number | bigint;
|
|
5196
|
+
l2Gas: string | number | bigint;
|
|
5197
|
+
};
|
|
4832
5198
|
};
|
|
4833
5199
|
contractInstances: {
|
|
4834
5200
|
salt: string;
|
|
@@ -5234,10 +5600,10 @@ export type ProvingJobInputsMap = {
|
|
|
5234
5600
|
};
|
|
5235
5601
|
export declare const ProvingJobResult: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5236
5602
|
type: z.ZodLiteral<ProvingRequestType.PUBLIC_VM>;
|
|
5237
|
-
result: ZodFor<ProofAndVerificationKey<
|
|
5603
|
+
result: ZodFor<ProofAndVerificationKey<20000>>;
|
|
5238
5604
|
}, "strip", z.ZodTypeAny, {
|
|
5239
5605
|
type: ProvingRequestType.PUBLIC_VM;
|
|
5240
|
-
result: ProofAndVerificationKey<
|
|
5606
|
+
result: ProofAndVerificationKey<20000>;
|
|
5241
5607
|
}, {
|
|
5242
5608
|
type: ProvingRequestType.PUBLIC_VM;
|
|
5243
5609
|
result?: any;
|
|
@@ -5343,7 +5709,7 @@ export declare const ProvingJobResult: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
5343
5709
|
}>]>;
|
|
5344
5710
|
export type ProvingJobResult = z.infer<typeof ProvingJobResult>;
|
|
5345
5711
|
export type ProvingJobResultsMap = {
|
|
5346
|
-
[ProvingRequestType.PUBLIC_VM]: ProofAndVerificationKey<typeof
|
|
5712
|
+
[ProvingRequestType.PUBLIC_VM]: ProofAndVerificationKey<typeof AVM_V2_PROOF_LENGTH_IN_FIELDS_PADDED>;
|
|
5347
5713
|
[ProvingRequestType.PRIVATE_BASE_ROLLUP]: PublicInputsAndRecursiveProof<BaseOrMergeRollupPublicInputs, typeof NESTED_RECURSIVE_ROLLUP_HONK_PROOF_LENGTH>;
|
|
5348
5714
|
[ProvingRequestType.PUBLIC_BASE_ROLLUP]: PublicInputsAndRecursiveProof<BaseOrMergeRollupPublicInputs, typeof NESTED_RECURSIVE_ROLLUP_HONK_PROOF_LENGTH>;
|
|
5349
5715
|
[ProvingRequestType.MERGE_ROLLUP]: PublicInputsAndRecursiveProof<BaseOrMergeRollupPublicInputs, typeof NESTED_RECURSIVE_ROLLUP_HONK_PROOF_LENGTH>;
|