@aztec/stdlib 0.80.0 → 0.82.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/abi/abi.d.ts +5 -1
- package/dest/abi/abi.d.ts.map +1 -1
- package/dest/abi/abi.js +2 -1
- package/dest/abi/contract_artifact.d.ts.map +1 -1
- package/dest/abi/contract_artifact.js +11 -0
- package/dest/auth_witness/auth_witness.d.ts +21 -0
- package/dest/auth_witness/auth_witness.d.ts.map +1 -1
- package/dest/auth_witness/auth_witness.js +29 -0
- package/dest/avm/avm.d.ts +173 -405
- package/dest/avm/avm.d.ts.map +1 -1
- package/dest/avm/avm.js +34 -27
- package/dest/avm/avm_proving_request.d.ts +84 -186
- package/dest/avm/avm_proving_request.d.ts.map +1 -1
- package/dest/avm/public_data_write.d.ts +1 -0
- package/dest/avm/public_data_write.d.ts.map +1 -1
- package/dest/avm/public_data_write.js +3 -0
- package/dest/block/body.d.ts +1 -0
- package/dest/block/body.d.ts.map +1 -1
- package/dest/block/body.js +3 -0
- 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.d.ts +2 -1
- package/dest/block/l2_block.d.ts.map +1 -1
- package/dest/block/l2_block.js +3 -0
- package/dest/block/l2_block_downloader/l2_block_stream.d.ts +3 -3
- package/dest/block/l2_block_downloader/l2_block_stream.d.ts.map +1 -1
- package/dest/block/l2_block_downloader/l2_block_stream.js +2 -4
- package/dest/block/l2_block_source.d.ts +9 -0
- package/dest/block/l2_block_source.d.ts.map +1 -1
- package/dest/block/published_l2_block.d.ts +89 -0
- package/dest/block/published_l2_block.d.ts.map +1 -0
- package/dest/block/published_l2_block.js +32 -0
- package/dest/contract/interfaces/contract_data_source.d.ts +3 -14
- package/dest/contract/interfaces/contract_data_source.d.ts.map +1 -1
- package/dest/database-version/version_manager.d.ts +5 -0
- package/dest/database-version/version_manager.d.ts.map +1 -1
- package/dest/database-version/version_manager.js +8 -1
- package/dest/interfaces/archiver.d.ts +1 -2
- package/dest/interfaces/archiver.d.ts.map +1 -1
- package/dest/interfaces/archiver.js +5 -6
- package/dest/interfaces/aztec-node-admin.d.ts +20 -0
- package/dest/interfaces/aztec-node-admin.d.ts.map +1 -0
- package/dest/interfaces/aztec-node-admin.js +16 -0
- package/dest/interfaces/aztec-node.d.ts +9 -39
- package/dest/interfaces/aztec-node.d.ts.map +1 -1
- package/dest/interfaces/aztec-node.js +6 -12
- package/dest/interfaces/client.d.ts +1 -0
- package/dest/interfaces/client.d.ts.map +1 -1
- package/dest/interfaces/client.js +1 -0
- package/dest/interfaces/private_kernel_prover.d.ts +2 -3
- package/dest/interfaces/private_kernel_prover.d.ts.map +1 -1
- package/dest/interfaces/prover-node.d.ts +1 -2
- package/dest/interfaces/prover-node.d.ts.map +1 -1
- package/dest/interfaces/prover-node.js +5 -4
- package/dest/interfaces/proving-job.d.ts +106 -208
- package/dest/interfaces/proving-job.d.ts.map +1 -1
- package/dest/interfaces/pxe.d.ts +21 -39
- package/dest/interfaces/pxe.d.ts.map +1 -1
- package/dest/interfaces/pxe.js +10 -9
- package/dest/kernel/index.d.ts +1 -1
- package/dest/kernel/index.d.ts.map +1 -1
- package/dest/kernel/index.js +1 -1
- package/dest/kernel/private_kernel_prover_output.d.ts +49 -0
- package/dest/kernel/private_kernel_prover_output.d.ts.map +1 -0
- package/dest/kernel/private_kernel_prover_output.js +8 -0
- package/dest/kernel/private_kernel_simulated_output.d.ts +3 -7
- package/dest/kernel/private_kernel_simulated_output.d.ts.map +1 -1
- package/dest/logs/contract_class_log.d.ts +1 -0
- package/dest/logs/contract_class_log.d.ts.map +1 -1
- package/dest/logs/contract_class_log.js +3 -0
- package/dest/logs/l1_payload/index.d.ts +1 -1
- package/dest/logs/l1_payload/index.d.ts.map +1 -1
- package/dest/logs/l1_payload/index.js +1 -1
- package/dest/logs/log_with_tx_data.js +2 -2
- package/dest/logs/private_log.d.ts +2 -1
- package/dest/logs/private_log.d.ts.map +1 -1
- package/dest/logs/private_log.js +14 -3
- package/dest/logs/public_log.d.ts.map +1 -1
- package/dest/logs/public_log.js +4 -1
- package/dest/logs/tx_scoped_l2_log.d.ts +16 -28
- package/dest/logs/tx_scoped_l2_log.d.ts.map +1 -1
- package/dest/logs/tx_scoped_l2_log.js +28 -19
- package/dest/noir/index.d.ts +5 -1
- package/dest/noir/index.d.ts.map +1 -1
- package/dest/note/extended_note.d.ts +10 -21
- package/dest/note/extended_note.d.ts.map +1 -1
- package/dest/note/extended_note.js +19 -28
- package/dest/note/notes_filter.d.ts +2 -2
- package/dest/note/notes_filter.d.ts.map +1 -1
- package/dest/note/notes_filter.js +1 -1
- package/dest/p2p/consensus_payload.d.ts +3 -1
- package/dest/p2p/consensus_payload.d.ts.map +1 -1
- package/dest/p2p/consensus_payload.js +3 -0
- package/dest/proofs/client_ivc_proof.d.ts +1 -2
- package/dest/proofs/client_ivc_proof.d.ts.map +1 -1
- package/dest/proofs/client_ivc_proof.js +6 -9
- package/dest/proofs/proof.d.ts +0 -1
- package/dest/proofs/proof.d.ts.map +1 -1
- package/dest/proofs/proof.js +2 -7
- package/dest/rollup/block_root_rollup.d.ts +1 -1
- package/dest/rollup/tube_inputs.d.ts +7 -2
- package/dest/rollup/tube_inputs.d.ts.map +1 -1
- package/dest/rollup/tube_inputs.js +10 -4
- package/dest/tests/factories.d.ts +3 -2
- package/dest/tests/factories.d.ts.map +1 -1
- package/dest/tests/factories.js +14 -8
- package/dest/tests/mocks.d.ts +2 -2
- package/dest/tests/mocks.d.ts.map +1 -1
- package/dest/tests/mocks.js +4 -5
- package/dest/trees/nullifier_membership_witness.d.ts +11 -7
- package/dest/trees/nullifier_membership_witness.d.ts.map +1 -1
- package/dest/trees/nullifier_membership_witness.js +10 -0
- package/dest/trees/public_data_witness.d.ts +12 -12
- package/dest/trees/public_data_witness.d.ts.map +1 -1
- package/dest/trees/public_data_witness.js +13 -0
- package/dest/tx/capsule.d.ts +2 -0
- package/dest/tx/capsule.d.ts.map +1 -1
- package/dest/tx/capsule.js +2 -0
- 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/private_execution_result.d.ts +4 -0
- package/dest/tx/private_execution_result.d.ts.map +1 -1
- package/dest/tx/private_execution_result.js +5 -0
- package/dest/tx/profiled_tx.d.ts +9 -0
- package/dest/tx/profiled_tx.d.ts.map +1 -0
- package/dest/tx/profiled_tx.js +27 -0
- package/dest/tx/proven_tx.d.ts +33 -0
- package/dest/tx/proven_tx.d.ts.map +1 -0
- package/dest/tx/proven_tx.js +35 -0
- package/dest/tx/simulated_tx.d.ts +8 -44
- package/dest/tx/simulated_tx.d.ts.map +1 -1
- package/dest/tx/simulated_tx.js +17 -40
- package/dest/tx/tx_effect.d.ts +1 -0
- package/dest/tx/tx_effect.d.ts.map +1 -1
- package/dest/tx/tx_effect.js +4 -1
- package/dest/tx/tx_receipt.d.ts +1 -30
- package/dest/tx/tx_receipt.d.ts.map +1 -1
- package/dest/tx/tx_receipt.js +3 -13
- package/package.json +6 -7
- package/src/abi/abi.ts +7 -2
- package/src/abi/contract_artifact.ts +11 -0
- package/src/auth_witness/auth_witness.ts +29 -0
- package/src/avm/avm.ts +42 -39
- package/src/avm/public_data_write.ts +4 -0
- package/src/block/body.ts +6 -0
- package/src/block/index.ts +1 -1
- package/src/block/l2_block.ts +4 -0
- package/src/block/l2_block_downloader/l2_block_stream.ts +5 -7
- package/src/block/l2_block_source.ts +11 -0
- package/src/block/published_l2_block.ts +45 -0
- package/src/contract/interfaces/contract_data_source.ts +3 -16
- package/src/database-version/version_manager.ts +11 -1
- package/src/interfaces/archiver.ts +11 -14
- package/src/interfaces/aztec-node-admin.ts +39 -0
- package/src/interfaces/aztec-node.ts +13 -72
- package/src/interfaces/client.ts +1 -0
- package/src/interfaces/private_kernel_prover.ts +2 -3
- package/src/interfaces/prover-node.ts +2 -4
- package/src/interfaces/pxe.ts +34 -56
- package/src/kernel/index.ts +1 -1
- package/src/kernel/private_kernel_prover_output.ts +44 -0
- package/src/kernel/private_kernel_simulated_output.ts +4 -13
- package/src/logs/contract_class_log.ts +8 -0
- package/src/logs/l1_payload/index.ts +1 -1
- package/src/logs/log_with_tx_data.ts +2 -2
- package/src/logs/private_log.ts +13 -3
- package/src/logs/public_log.ts +11 -1
- package/src/logs/tx_scoped_l2_log.ts +28 -25
- package/src/noir/index.ts +6 -1
- package/src/note/extended_note.ts +17 -36
- package/src/note/notes_filter.ts +3 -3
- package/src/p2p/consensus_payload.ts +9 -0
- package/src/proofs/client_ivc_proof.ts +5 -15
- package/src/proofs/proof.ts +2 -8
- package/src/rollup/tube_inputs.ts +8 -4
- package/src/tests/factories.ts +15 -14
- package/src/tests/mocks.ts +4 -9
- package/src/trees/nullifier_membership_witness.ts +12 -0
- package/src/trees/public_data_witness.ts +15 -0
- package/src/tx/capsule.ts +2 -0
- package/src/tx/index.ts +2 -0
- package/src/tx/private_execution_result.ts +7 -0
- package/src/tx/profiled_tx.ts +27 -0
- package/src/tx/proven_tx.ts +58 -0
- package/src/tx/simulated_tx.ts +11 -63
- package/src/tx/tx_effect.ts +23 -1
- package/src/tx/tx_receipt.ts +0 -36
- package/dest/block/nullifier_with_block_source.d.ts +0 -6
- package/dest/block/nullifier_with_block_source.d.ts.map +0 -1
- package/dest/block/nullifier_with_block_source.js +0 -1
- package/dest/kernel/private_kernel_prover_profile_result.d.ts +0 -25
- package/dest/kernel/private_kernel_prover_profile_result.d.ts.map +0 -1
- package/dest/kernel/private_kernel_prover_profile_result.js +0 -7
- package/dest/logs/l1_payload/l1_note_payload.d.ts +0 -82
- package/dest/logs/l1_payload/l1_note_payload.d.ts.map +0 -1
- package/dest/logs/l1_payload/l1_note_payload.js +0 -129
- package/src/block/nullifier_with_block_source.ts +0 -7
- package/src/kernel/private_kernel_prover_profile_result.ts +0 -7
- package/src/logs/l1_payload/l1_note_payload.ts +0 -182
|
@@ -40,21 +40,28 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
40
40
|
calldata: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
41
41
|
hints: z.ZodEffects<z.ZodObject<{
|
|
42
42
|
enqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
43
|
+
msgSender: ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
43
44
|
contractAddress: ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
44
45
|
calldata: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
46
|
+
isStaticCall: z.ZodBoolean;
|
|
45
47
|
}, "strip", z.ZodTypeAny, {
|
|
46
48
|
contractAddress: import("../aztec-address/index.js").AztecAddress;
|
|
49
|
+
msgSender: import("../aztec-address/index.js").AztecAddress;
|
|
50
|
+
isStaticCall: boolean;
|
|
47
51
|
calldata: import("@aztec/foundation/schemas").Fr[];
|
|
48
52
|
}, {
|
|
53
|
+
isStaticCall: boolean;
|
|
49
54
|
calldata: string[];
|
|
50
55
|
contractAddress?: any;
|
|
56
|
+
msgSender?: any;
|
|
51
57
|
}>, import("../avm/avm.js").AvmEnqueuedCallHint, {
|
|
58
|
+
isStaticCall: boolean;
|
|
52
59
|
calldata: string[];
|
|
53
60
|
contractAddress?: any;
|
|
61
|
+
msgSender?: any;
|
|
54
62
|
}>, "many">;
|
|
55
63
|
contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
56
64
|
address: ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
57
|
-
exists: z.ZodBoolean;
|
|
58
65
|
salt: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
59
66
|
deployer: ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
60
67
|
currentContractClassId: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
@@ -81,56 +88,7 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
81
88
|
masterOutgoingViewingPublicKey: string;
|
|
82
89
|
masterTaggingPublicKey: string;
|
|
83
90
|
}>;
|
|
84
|
-
updateMembershipHint: z.ZodEffects<z.ZodObject<{
|
|
85
|
-
leafPreimage: z.ZodEffects<z.ZodObject<{
|
|
86
|
-
slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
87
|
-
value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
88
|
-
nextSlot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
89
|
-
nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
90
|
-
}, "strip", z.ZodTypeAny, {
|
|
91
|
-
value: import("@aztec/foundation/schemas").Fr;
|
|
92
|
-
slot: import("@aztec/foundation/schemas").Fr;
|
|
93
|
-
nextIndex: bigint;
|
|
94
|
-
nextSlot: import("@aztec/foundation/schemas").Fr;
|
|
95
|
-
}, {
|
|
96
|
-
value: string;
|
|
97
|
-
slot: string;
|
|
98
|
-
nextIndex: string | number | bigint;
|
|
99
|
-
nextSlot: string;
|
|
100
|
-
}>, import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
|
|
101
|
-
value: string;
|
|
102
|
-
slot: string;
|
|
103
|
-
nextIndex: string | number | bigint;
|
|
104
|
-
nextSlot: string;
|
|
105
|
-
}>;
|
|
106
|
-
leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
107
|
-
siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
108
|
-
}, "strip", z.ZodTypeAny, {
|
|
109
|
-
leafPreimage: import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
110
|
-
leafIndex: import("@aztec/foundation/schemas").Fr;
|
|
111
|
-
siblingPath: import("@aztec/foundation/schemas").Fr[];
|
|
112
|
-
}, {
|
|
113
|
-
leafPreimage: {
|
|
114
|
-
value: string;
|
|
115
|
-
slot: string;
|
|
116
|
-
nextIndex: string | number | bigint;
|
|
117
|
-
nextSlot: string;
|
|
118
|
-
};
|
|
119
|
-
leafIndex: string;
|
|
120
|
-
siblingPath: string[];
|
|
121
|
-
}>, import("../avm/avm.js").AvmPublicDataReadTreeHint, {
|
|
122
|
-
leafPreimage: {
|
|
123
|
-
value: string;
|
|
124
|
-
slot: string;
|
|
125
|
-
nextIndex: string | number | bigint;
|
|
126
|
-
nextSlot: string;
|
|
127
|
-
};
|
|
128
|
-
leafIndex: string;
|
|
129
|
-
siblingPath: string[];
|
|
130
|
-
}>;
|
|
131
|
-
updatePreimage: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
132
91
|
}, "strip", z.ZodTypeAny, {
|
|
133
|
-
exists: boolean;
|
|
134
92
|
address: import("../aztec-address/index.js").AztecAddress;
|
|
135
93
|
salt: import("@aztec/foundation/schemas").Fr;
|
|
136
94
|
deployer: import("../aztec-address/index.js").AztecAddress;
|
|
@@ -138,10 +96,7 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
138
96
|
originalContractClassId: import("@aztec/foundation/schemas").Fr;
|
|
139
97
|
initializationHash: import("@aztec/foundation/schemas").Fr;
|
|
140
98
|
publicKeys: import("../keys/public_keys.js").PublicKeys;
|
|
141
|
-
updateMembershipHint: import("../avm/avm.js").AvmPublicDataReadTreeHint;
|
|
142
|
-
updatePreimage: import("@aztec/foundation/schemas").Fr[];
|
|
143
99
|
}, {
|
|
144
|
-
exists: boolean;
|
|
145
100
|
salt: string;
|
|
146
101
|
currentContractClassId: string;
|
|
147
102
|
originalContractClassId: string;
|
|
@@ -152,21 +107,9 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
152
107
|
masterOutgoingViewingPublicKey: string;
|
|
153
108
|
masterTaggingPublicKey: string;
|
|
154
109
|
};
|
|
155
|
-
updateMembershipHint: {
|
|
156
|
-
leafPreimage: {
|
|
157
|
-
value: string;
|
|
158
|
-
slot: string;
|
|
159
|
-
nextIndex: string | number | bigint;
|
|
160
|
-
nextSlot: string;
|
|
161
|
-
};
|
|
162
|
-
leafIndex: string;
|
|
163
|
-
siblingPath: string[];
|
|
164
|
-
};
|
|
165
|
-
updatePreimage: string[];
|
|
166
110
|
address?: any;
|
|
167
111
|
deployer?: any;
|
|
168
112
|
}>, import("../avm/avm.js").AvmContractInstanceHint, {
|
|
169
|
-
exists: boolean;
|
|
170
113
|
salt: string;
|
|
171
114
|
currentContractClassId: string;
|
|
172
115
|
originalContractClassId: string;
|
|
@@ -177,26 +120,13 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
177
120
|
masterOutgoingViewingPublicKey: string;
|
|
178
121
|
masterTaggingPublicKey: string;
|
|
179
122
|
};
|
|
180
|
-
updateMembershipHint: {
|
|
181
|
-
leafPreimage: {
|
|
182
|
-
value: string;
|
|
183
|
-
slot: string;
|
|
184
|
-
nextIndex: string | number | bigint;
|
|
185
|
-
nextSlot: string;
|
|
186
|
-
};
|
|
187
|
-
leafIndex: string;
|
|
188
|
-
siblingPath: string[];
|
|
189
|
-
};
|
|
190
|
-
updatePreimage: string[];
|
|
191
123
|
address?: any;
|
|
192
124
|
deployer?: any;
|
|
193
125
|
}>, "many">;
|
|
194
126
|
contractClasses: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
195
127
|
classId: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
196
|
-
exists: z.ZodBoolean;
|
|
197
128
|
artifactHash: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
198
129
|
privateFunctionsRoot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
199
|
-
publicBytecodeCommitment: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
200
130
|
packedBytecode: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Buffer, string>, z.ZodEffects<z.ZodObject<{
|
|
201
131
|
type: z.ZodLiteral<"Buffer">;
|
|
202
132
|
data: z.ZodArray<z.ZodNumber, "many">;
|
|
@@ -212,32 +142,39 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
212
142
|
}>]>;
|
|
213
143
|
}, "strip", z.ZodTypeAny, {
|
|
214
144
|
classId: import("@aztec/foundation/schemas").Fr;
|
|
215
|
-
exists: boolean;
|
|
216
145
|
artifactHash: import("@aztec/foundation/schemas").Fr;
|
|
217
146
|
privateFunctionsRoot: import("@aztec/foundation/schemas").Fr;
|
|
218
|
-
publicBytecodeCommitment: import("@aztec/foundation/schemas").Fr;
|
|
219
147
|
packedBytecode: Buffer;
|
|
220
148
|
}, {
|
|
221
149
|
classId: string;
|
|
222
|
-
exists: boolean;
|
|
223
150
|
artifactHash: string;
|
|
224
151
|
privateFunctionsRoot: string;
|
|
225
|
-
publicBytecodeCommitment: string;
|
|
226
152
|
packedBytecode: string | {
|
|
227
153
|
type: "Buffer";
|
|
228
154
|
data: number[];
|
|
229
155
|
};
|
|
230
156
|
}>, import("../avm/avm.js").AvmContractClassHint, {
|
|
231
157
|
classId: string;
|
|
232
|
-
exists: boolean;
|
|
233
158
|
artifactHash: string;
|
|
234
159
|
privateFunctionsRoot: string;
|
|
235
|
-
publicBytecodeCommitment: string;
|
|
236
160
|
packedBytecode: string | {
|
|
237
161
|
type: "Buffer";
|
|
238
162
|
data: number[];
|
|
239
163
|
};
|
|
240
164
|
}>, "many">;
|
|
165
|
+
bytecodeCommitments: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
166
|
+
classId: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
167
|
+
commitment: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
168
|
+
}, "strip", z.ZodTypeAny, {
|
|
169
|
+
classId: import("@aztec/foundation/schemas").Fr;
|
|
170
|
+
commitment: import("@aztec/foundation/schemas").Fr;
|
|
171
|
+
}, {
|
|
172
|
+
classId: string;
|
|
173
|
+
commitment: string;
|
|
174
|
+
}>, import("../avm/avm.js").AvmBytecodeCommitmentHint, {
|
|
175
|
+
classId: string;
|
|
176
|
+
commitment: string;
|
|
177
|
+
}>, "many">;
|
|
241
178
|
publicDataReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
242
179
|
leafPreimage: z.ZodEffects<z.ZodObject<{
|
|
243
180
|
slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
@@ -263,27 +200,27 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
263
200
|
leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
264
201
|
siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
265
202
|
}, "strip", z.ZodTypeAny, {
|
|
266
|
-
leafPreimage: import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
267
203
|
leafIndex: import("@aztec/foundation/schemas").Fr;
|
|
268
204
|
siblingPath: import("@aztec/foundation/schemas").Fr[];
|
|
205
|
+
leafPreimage: import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
269
206
|
}, {
|
|
207
|
+
leafIndex: string;
|
|
208
|
+
siblingPath: string[];
|
|
270
209
|
leafPreimage: {
|
|
271
210
|
value: string;
|
|
272
211
|
slot: string;
|
|
273
212
|
nextIndex: string | number | bigint;
|
|
274
213
|
nextSlot: string;
|
|
275
214
|
};
|
|
215
|
+
}>, import("../avm/avm.js").AvmPublicDataReadTreeHint, {
|
|
276
216
|
leafIndex: string;
|
|
277
217
|
siblingPath: string[];
|
|
278
|
-
}>, import("../avm/avm.js").AvmPublicDataReadTreeHint, {
|
|
279
218
|
leafPreimage: {
|
|
280
219
|
value: string;
|
|
281
220
|
slot: string;
|
|
282
221
|
nextIndex: string | number | bigint;
|
|
283
222
|
nextSlot: string;
|
|
284
223
|
};
|
|
285
|
-
leafIndex: string;
|
|
286
|
-
siblingPath: string[];
|
|
287
224
|
}>, "many">;
|
|
288
225
|
publicDataWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
289
226
|
lowLeafRead: z.ZodEffects<z.ZodObject<{
|
|
@@ -311,27 +248,27 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
311
248
|
leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
312
249
|
siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
313
250
|
}, "strip", z.ZodTypeAny, {
|
|
314
|
-
leafPreimage: import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
315
251
|
leafIndex: import("@aztec/foundation/schemas").Fr;
|
|
316
252
|
siblingPath: import("@aztec/foundation/schemas").Fr[];
|
|
253
|
+
leafPreimage: import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
317
254
|
}, {
|
|
255
|
+
leafIndex: string;
|
|
256
|
+
siblingPath: string[];
|
|
318
257
|
leafPreimage: {
|
|
319
258
|
value: string;
|
|
320
259
|
slot: string;
|
|
321
260
|
nextIndex: string | number | bigint;
|
|
322
261
|
nextSlot: string;
|
|
323
262
|
};
|
|
263
|
+
}>, import("../avm/avm.js").AvmPublicDataReadTreeHint, {
|
|
324
264
|
leafIndex: string;
|
|
325
265
|
siblingPath: string[];
|
|
326
|
-
}>, import("../avm/avm.js").AvmPublicDataReadTreeHint, {
|
|
327
266
|
leafPreimage: {
|
|
328
267
|
value: string;
|
|
329
268
|
slot: string;
|
|
330
269
|
nextIndex: string | number | bigint;
|
|
331
270
|
nextSlot: string;
|
|
332
271
|
};
|
|
333
|
-
leafIndex: string;
|
|
334
|
-
siblingPath: string[];
|
|
335
272
|
}>;
|
|
336
273
|
newLeafPreimage: z.ZodEffects<z.ZodObject<{
|
|
337
274
|
slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
@@ -361,14 +298,14 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
361
298
|
newLeafPreimage: import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
|
|
362
299
|
}, {
|
|
363
300
|
lowLeafRead: {
|
|
301
|
+
leafIndex: string;
|
|
302
|
+
siblingPath: string[];
|
|
364
303
|
leafPreimage: {
|
|
365
304
|
value: string;
|
|
366
305
|
slot: string;
|
|
367
306
|
nextIndex: string | number | bigint;
|
|
368
307
|
nextSlot: string;
|
|
369
308
|
};
|
|
370
|
-
leafIndex: string;
|
|
371
|
-
siblingPath: string[];
|
|
372
309
|
};
|
|
373
310
|
insertionPath: string[];
|
|
374
311
|
newLeafPreimage: {
|
|
@@ -379,14 +316,14 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
379
316
|
};
|
|
380
317
|
}>, import("../avm/avm.js").AvmPublicDataWriteTreeHint, {
|
|
381
318
|
lowLeafRead: {
|
|
319
|
+
leafIndex: string;
|
|
320
|
+
siblingPath: string[];
|
|
382
321
|
leafPreimage: {
|
|
383
322
|
value: string;
|
|
384
323
|
slot: string;
|
|
385
324
|
nextIndex: string | number | bigint;
|
|
386
325
|
nextSlot: string;
|
|
387
326
|
};
|
|
388
|
-
leafIndex: string;
|
|
389
|
-
siblingPath: string[];
|
|
390
327
|
};
|
|
391
328
|
insertionPath: string[];
|
|
392
329
|
newLeafPreimage: {
|
|
@@ -562,6 +499,7 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
562
499
|
enqueuedCalls: import("../avm/avm.js").AvmEnqueuedCallHint[];
|
|
563
500
|
contractInstances: import("../avm/avm.js").AvmContractInstanceHint[];
|
|
564
501
|
contractClasses: import("../avm/avm.js").AvmContractClassHint[];
|
|
502
|
+
bytecodeCommitments: import("../avm/avm.js").AvmBytecodeCommitmentHint[];
|
|
565
503
|
publicDataReads: import("../avm/avm.js").AvmPublicDataReadTreeHint[];
|
|
566
504
|
nullifierReads: import("../avm/avm.js").AvmNullifierReadTreeHint[];
|
|
567
505
|
nullifierWrites: import("../avm/avm.js").AvmNullifierWriteTreeHint[];
|
|
@@ -571,14 +509,14 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
571
509
|
}, {
|
|
572
510
|
publicDataWrites: {
|
|
573
511
|
lowLeafRead: {
|
|
512
|
+
leafIndex: string;
|
|
513
|
+
siblingPath: string[];
|
|
574
514
|
leafPreimage: {
|
|
575
515
|
value: string;
|
|
576
516
|
slot: string;
|
|
577
517
|
nextIndex: string | number | bigint;
|
|
578
518
|
nextSlot: string;
|
|
579
519
|
};
|
|
580
|
-
leafIndex: string;
|
|
581
|
-
siblingPath: string[];
|
|
582
520
|
};
|
|
583
521
|
insertionPath: string[];
|
|
584
522
|
newLeafPreimage: {
|
|
@@ -589,11 +527,12 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
589
527
|
};
|
|
590
528
|
}[];
|
|
591
529
|
enqueuedCalls: {
|
|
530
|
+
isStaticCall: boolean;
|
|
592
531
|
calldata: string[];
|
|
593
532
|
contractAddress?: any;
|
|
533
|
+
msgSender?: any;
|
|
594
534
|
}[];
|
|
595
535
|
contractInstances: {
|
|
596
|
-
exists: boolean;
|
|
597
536
|
salt: string;
|
|
598
537
|
currentContractClassId: string;
|
|
599
538
|
originalContractClassId: string;
|
|
@@ -604,40 +543,31 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
604
543
|
masterOutgoingViewingPublicKey: string;
|
|
605
544
|
masterTaggingPublicKey: string;
|
|
606
545
|
};
|
|
607
|
-
updateMembershipHint: {
|
|
608
|
-
leafPreimage: {
|
|
609
|
-
value: string;
|
|
610
|
-
slot: string;
|
|
611
|
-
nextIndex: string | number | bigint;
|
|
612
|
-
nextSlot: string;
|
|
613
|
-
};
|
|
614
|
-
leafIndex: string;
|
|
615
|
-
siblingPath: string[];
|
|
616
|
-
};
|
|
617
|
-
updatePreimage: string[];
|
|
618
546
|
address?: any;
|
|
619
547
|
deployer?: any;
|
|
620
548
|
}[];
|
|
621
549
|
contractClasses: {
|
|
622
550
|
classId: string;
|
|
623
|
-
exists: boolean;
|
|
624
551
|
artifactHash: string;
|
|
625
552
|
privateFunctionsRoot: string;
|
|
626
|
-
publicBytecodeCommitment: string;
|
|
627
553
|
packedBytecode: string | {
|
|
628
554
|
type: "Buffer";
|
|
629
555
|
data: number[];
|
|
630
556
|
};
|
|
631
557
|
}[];
|
|
558
|
+
bytecodeCommitments: {
|
|
559
|
+
classId: string;
|
|
560
|
+
commitment: string;
|
|
561
|
+
}[];
|
|
632
562
|
publicDataReads: {
|
|
563
|
+
leafIndex: string;
|
|
564
|
+
siblingPath: string[];
|
|
633
565
|
leafPreimage: {
|
|
634
566
|
value: string;
|
|
635
567
|
slot: string;
|
|
636
568
|
nextIndex: string | number | bigint;
|
|
637
569
|
nextSlot: string;
|
|
638
570
|
};
|
|
639
|
-
leafIndex: string;
|
|
640
|
-
siblingPath: string[];
|
|
641
571
|
}[];
|
|
642
572
|
nullifierReads: {
|
|
643
573
|
lowLeafPreimage: {
|
|
@@ -678,14 +608,14 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
678
608
|
}>, import("../avm/avm.js").AvmExecutionHints, {
|
|
679
609
|
publicDataWrites: {
|
|
680
610
|
lowLeafRead: {
|
|
611
|
+
leafIndex: string;
|
|
612
|
+
siblingPath: string[];
|
|
681
613
|
leafPreimage: {
|
|
682
614
|
value: string;
|
|
683
615
|
slot: string;
|
|
684
616
|
nextIndex: string | number | bigint;
|
|
685
617
|
nextSlot: string;
|
|
686
618
|
};
|
|
687
|
-
leafIndex: string;
|
|
688
|
-
siblingPath: string[];
|
|
689
619
|
};
|
|
690
620
|
insertionPath: string[];
|
|
691
621
|
newLeafPreimage: {
|
|
@@ -696,11 +626,12 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
696
626
|
};
|
|
697
627
|
}[];
|
|
698
628
|
enqueuedCalls: {
|
|
629
|
+
isStaticCall: boolean;
|
|
699
630
|
calldata: string[];
|
|
700
631
|
contractAddress?: any;
|
|
632
|
+
msgSender?: any;
|
|
701
633
|
}[];
|
|
702
634
|
contractInstances: {
|
|
703
|
-
exists: boolean;
|
|
704
635
|
salt: string;
|
|
705
636
|
currentContractClassId: string;
|
|
706
637
|
originalContractClassId: string;
|
|
@@ -711,40 +642,31 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
711
642
|
masterOutgoingViewingPublicKey: string;
|
|
712
643
|
masterTaggingPublicKey: string;
|
|
713
644
|
};
|
|
714
|
-
updateMembershipHint: {
|
|
715
|
-
leafPreimage: {
|
|
716
|
-
value: string;
|
|
717
|
-
slot: string;
|
|
718
|
-
nextIndex: string | number | bigint;
|
|
719
|
-
nextSlot: string;
|
|
720
|
-
};
|
|
721
|
-
leafIndex: string;
|
|
722
|
-
siblingPath: string[];
|
|
723
|
-
};
|
|
724
|
-
updatePreimage: string[];
|
|
725
645
|
address?: any;
|
|
726
646
|
deployer?: any;
|
|
727
647
|
}[];
|
|
728
648
|
contractClasses: {
|
|
729
649
|
classId: string;
|
|
730
|
-
exists: boolean;
|
|
731
650
|
artifactHash: string;
|
|
732
651
|
privateFunctionsRoot: string;
|
|
733
|
-
publicBytecodeCommitment: string;
|
|
734
652
|
packedBytecode: string | {
|
|
735
653
|
type: "Buffer";
|
|
736
654
|
data: number[];
|
|
737
655
|
};
|
|
738
656
|
}[];
|
|
657
|
+
bytecodeCommitments: {
|
|
658
|
+
classId: string;
|
|
659
|
+
commitment: string;
|
|
660
|
+
}[];
|
|
739
661
|
publicDataReads: {
|
|
662
|
+
leafIndex: string;
|
|
663
|
+
siblingPath: string[];
|
|
740
664
|
leafPreimage: {
|
|
741
665
|
value: string;
|
|
742
666
|
slot: string;
|
|
743
667
|
nextIndex: string | number | bigint;
|
|
744
668
|
nextSlot: string;
|
|
745
669
|
};
|
|
746
|
-
leafIndex: string;
|
|
747
|
-
siblingPath: string[];
|
|
748
670
|
}[];
|
|
749
671
|
nullifierReads: {
|
|
750
672
|
lowLeafPreimage: {
|
|
@@ -1815,14 +1737,14 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
1815
1737
|
hints: {
|
|
1816
1738
|
publicDataWrites: {
|
|
1817
1739
|
lowLeafRead: {
|
|
1740
|
+
leafIndex: string;
|
|
1741
|
+
siblingPath: string[];
|
|
1818
1742
|
leafPreimage: {
|
|
1819
1743
|
value: string;
|
|
1820
1744
|
slot: string;
|
|
1821
1745
|
nextIndex: string | number | bigint;
|
|
1822
1746
|
nextSlot: string;
|
|
1823
1747
|
};
|
|
1824
|
-
leafIndex: string;
|
|
1825
|
-
siblingPath: string[];
|
|
1826
1748
|
};
|
|
1827
1749
|
insertionPath: string[];
|
|
1828
1750
|
newLeafPreimage: {
|
|
@@ -1833,11 +1755,12 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
1833
1755
|
};
|
|
1834
1756
|
}[];
|
|
1835
1757
|
enqueuedCalls: {
|
|
1758
|
+
isStaticCall: boolean;
|
|
1836
1759
|
calldata: string[];
|
|
1837
1760
|
contractAddress?: any;
|
|
1761
|
+
msgSender?: any;
|
|
1838
1762
|
}[];
|
|
1839
1763
|
contractInstances: {
|
|
1840
|
-
exists: boolean;
|
|
1841
1764
|
salt: string;
|
|
1842
1765
|
currentContractClassId: string;
|
|
1843
1766
|
originalContractClassId: string;
|
|
@@ -1848,40 +1771,31 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
1848
1771
|
masterOutgoingViewingPublicKey: string;
|
|
1849
1772
|
masterTaggingPublicKey: string;
|
|
1850
1773
|
};
|
|
1851
|
-
updateMembershipHint: {
|
|
1852
|
-
leafPreimage: {
|
|
1853
|
-
value: string;
|
|
1854
|
-
slot: string;
|
|
1855
|
-
nextIndex: string | number | bigint;
|
|
1856
|
-
nextSlot: string;
|
|
1857
|
-
};
|
|
1858
|
-
leafIndex: string;
|
|
1859
|
-
siblingPath: string[];
|
|
1860
|
-
};
|
|
1861
|
-
updatePreimage: string[];
|
|
1862
1774
|
address?: any;
|
|
1863
1775
|
deployer?: any;
|
|
1864
1776
|
}[];
|
|
1865
1777
|
contractClasses: {
|
|
1866
1778
|
classId: string;
|
|
1867
|
-
exists: boolean;
|
|
1868
1779
|
artifactHash: string;
|
|
1869
1780
|
privateFunctionsRoot: string;
|
|
1870
|
-
publicBytecodeCommitment: string;
|
|
1871
1781
|
packedBytecode: string | {
|
|
1872
1782
|
type: "Buffer";
|
|
1873
1783
|
data: number[];
|
|
1874
1784
|
};
|
|
1875
1785
|
}[];
|
|
1786
|
+
bytecodeCommitments: {
|
|
1787
|
+
classId: string;
|
|
1788
|
+
commitment: string;
|
|
1789
|
+
}[];
|
|
1876
1790
|
publicDataReads: {
|
|
1791
|
+
leafIndex: string;
|
|
1792
|
+
siblingPath: string[];
|
|
1877
1793
|
leafPreimage: {
|
|
1878
1794
|
value: string;
|
|
1879
1795
|
slot: string;
|
|
1880
1796
|
nextIndex: string | number | bigint;
|
|
1881
1797
|
nextSlot: string;
|
|
1882
1798
|
};
|
|
1883
|
-
leafIndex: string;
|
|
1884
|
-
siblingPath: string[];
|
|
1885
1799
|
}[];
|
|
1886
1800
|
nullifierReads: {
|
|
1887
1801
|
lowLeafPreimage: {
|
|
@@ -2078,14 +1992,14 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
2078
1992
|
hints: {
|
|
2079
1993
|
publicDataWrites: {
|
|
2080
1994
|
lowLeafRead: {
|
|
1995
|
+
leafIndex: string;
|
|
1996
|
+
siblingPath: string[];
|
|
2081
1997
|
leafPreimage: {
|
|
2082
1998
|
value: string;
|
|
2083
1999
|
slot: string;
|
|
2084
2000
|
nextIndex: string | number | bigint;
|
|
2085
2001
|
nextSlot: string;
|
|
2086
2002
|
};
|
|
2087
|
-
leafIndex: string;
|
|
2088
|
-
siblingPath: string[];
|
|
2089
2003
|
};
|
|
2090
2004
|
insertionPath: string[];
|
|
2091
2005
|
newLeafPreimage: {
|
|
@@ -2096,11 +2010,12 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
2096
2010
|
};
|
|
2097
2011
|
}[];
|
|
2098
2012
|
enqueuedCalls: {
|
|
2013
|
+
isStaticCall: boolean;
|
|
2099
2014
|
calldata: string[];
|
|
2100
2015
|
contractAddress?: any;
|
|
2016
|
+
msgSender?: any;
|
|
2101
2017
|
}[];
|
|
2102
2018
|
contractInstances: {
|
|
2103
|
-
exists: boolean;
|
|
2104
2019
|
salt: string;
|
|
2105
2020
|
currentContractClassId: string;
|
|
2106
2021
|
originalContractClassId: string;
|
|
@@ -2111,40 +2026,31 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
2111
2026
|
masterOutgoingViewingPublicKey: string;
|
|
2112
2027
|
masterTaggingPublicKey: string;
|
|
2113
2028
|
};
|
|
2114
|
-
updateMembershipHint: {
|
|
2115
|
-
leafPreimage: {
|
|
2116
|
-
value: string;
|
|
2117
|
-
slot: string;
|
|
2118
|
-
nextIndex: string | number | bigint;
|
|
2119
|
-
nextSlot: string;
|
|
2120
|
-
};
|
|
2121
|
-
leafIndex: string;
|
|
2122
|
-
siblingPath: string[];
|
|
2123
|
-
};
|
|
2124
|
-
updatePreimage: string[];
|
|
2125
2029
|
address?: any;
|
|
2126
2030
|
deployer?: any;
|
|
2127
2031
|
}[];
|
|
2128
2032
|
contractClasses: {
|
|
2129
2033
|
classId: string;
|
|
2130
|
-
exists: boolean;
|
|
2131
2034
|
artifactHash: string;
|
|
2132
2035
|
privateFunctionsRoot: string;
|
|
2133
|
-
publicBytecodeCommitment: string;
|
|
2134
2036
|
packedBytecode: string | {
|
|
2135
2037
|
type: "Buffer";
|
|
2136
2038
|
data: number[];
|
|
2137
2039
|
};
|
|
2138
2040
|
}[];
|
|
2041
|
+
bytecodeCommitments: {
|
|
2042
|
+
classId: string;
|
|
2043
|
+
commitment: string;
|
|
2044
|
+
}[];
|
|
2139
2045
|
publicDataReads: {
|
|
2046
|
+
leafIndex: string;
|
|
2047
|
+
siblingPath: string[];
|
|
2140
2048
|
leafPreimage: {
|
|
2141
2049
|
value: string;
|
|
2142
2050
|
slot: string;
|
|
2143
2051
|
nextIndex: string | number | bigint;
|
|
2144
2052
|
nextSlot: string;
|
|
2145
2053
|
};
|
|
2146
|
-
leafIndex: string;
|
|
2147
|
-
siblingPath: string[];
|
|
2148
2054
|
}[];
|
|
2149
2055
|
nullifierReads: {
|
|
2150
2056
|
lowLeafPreimage: {
|
|
@@ -2347,14 +2253,14 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
2347
2253
|
hints: {
|
|
2348
2254
|
publicDataWrites: {
|
|
2349
2255
|
lowLeafRead: {
|
|
2256
|
+
leafIndex: string;
|
|
2257
|
+
siblingPath: string[];
|
|
2350
2258
|
leafPreimage: {
|
|
2351
2259
|
value: string;
|
|
2352
2260
|
slot: string;
|
|
2353
2261
|
nextIndex: string | number | bigint;
|
|
2354
2262
|
nextSlot: string;
|
|
2355
2263
|
};
|
|
2356
|
-
leafIndex: string;
|
|
2357
|
-
siblingPath: string[];
|
|
2358
2264
|
};
|
|
2359
2265
|
insertionPath: string[];
|
|
2360
2266
|
newLeafPreimage: {
|
|
@@ -2365,11 +2271,12 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
2365
2271
|
};
|
|
2366
2272
|
}[];
|
|
2367
2273
|
enqueuedCalls: {
|
|
2274
|
+
isStaticCall: boolean;
|
|
2368
2275
|
calldata: string[];
|
|
2369
2276
|
contractAddress?: any;
|
|
2277
|
+
msgSender?: any;
|
|
2370
2278
|
}[];
|
|
2371
2279
|
contractInstances: {
|
|
2372
|
-
exists: boolean;
|
|
2373
2280
|
salt: string;
|
|
2374
2281
|
currentContractClassId: string;
|
|
2375
2282
|
originalContractClassId: string;
|
|
@@ -2380,40 +2287,31 @@ export declare const ProvingJobInputs: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
2380
2287
|
masterOutgoingViewingPublicKey: string;
|
|
2381
2288
|
masterTaggingPublicKey: string;
|
|
2382
2289
|
};
|
|
2383
|
-
updateMembershipHint: {
|
|
2384
|
-
leafPreimage: {
|
|
2385
|
-
value: string;
|
|
2386
|
-
slot: string;
|
|
2387
|
-
nextIndex: string | number | bigint;
|
|
2388
|
-
nextSlot: string;
|
|
2389
|
-
};
|
|
2390
|
-
leafIndex: string;
|
|
2391
|
-
siblingPath: string[];
|
|
2392
|
-
};
|
|
2393
|
-
updatePreimage: string[];
|
|
2394
2290
|
address?: any;
|
|
2395
2291
|
deployer?: any;
|
|
2396
2292
|
}[];
|
|
2397
2293
|
contractClasses: {
|
|
2398
2294
|
classId: string;
|
|
2399
|
-
exists: boolean;
|
|
2400
2295
|
artifactHash: string;
|
|
2401
2296
|
privateFunctionsRoot: string;
|
|
2402
|
-
publicBytecodeCommitment: string;
|
|
2403
2297
|
packedBytecode: string | {
|
|
2404
2298
|
type: "Buffer";
|
|
2405
2299
|
data: number[];
|
|
2406
2300
|
};
|
|
2407
2301
|
}[];
|
|
2302
|
+
bytecodeCommitments: {
|
|
2303
|
+
classId: string;
|
|
2304
|
+
commitment: string;
|
|
2305
|
+
}[];
|
|
2408
2306
|
publicDataReads: {
|
|
2307
|
+
leafIndex: string;
|
|
2308
|
+
siblingPath: string[];
|
|
2409
2309
|
leafPreimage: {
|
|
2410
2310
|
value: string;
|
|
2411
2311
|
slot: string;
|
|
2412
2312
|
nextIndex: string | number | bigint;
|
|
2413
2313
|
nextSlot: string;
|
|
2414
2314
|
};
|
|
2415
|
-
leafIndex: string;
|
|
2416
|
-
siblingPath: string[];
|
|
2417
2315
|
}[];
|
|
2418
2316
|
nullifierReads: {
|
|
2419
2317
|
lowLeafPreimage: {
|
|
@@ -2732,100 +2630,100 @@ export declare const ProvingJobResult: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
2732
2630
|
result?: any;
|
|
2733
2631
|
}>, z.ZodObject<{
|
|
2734
2632
|
type: z.ZodLiteral<ProvingRequestType.PRIVATE_BASE_ROLLUP>;
|
|
2735
|
-
result: ZodFor<PublicInputsAndRecursiveProof<BaseOrMergeRollupPublicInputs,
|
|
2633
|
+
result: ZodFor<PublicInputsAndRecursiveProof<BaseOrMergeRollupPublicInputs, 535>>;
|
|
2736
2634
|
}, "strip", z.ZodTypeAny, {
|
|
2737
2635
|
type: ProvingRequestType.PRIVATE_BASE_ROLLUP;
|
|
2738
|
-
result: PublicInputsAndRecursiveProof<BaseOrMergeRollupPublicInputs,
|
|
2636
|
+
result: PublicInputsAndRecursiveProof<BaseOrMergeRollupPublicInputs, 535>;
|
|
2739
2637
|
}, {
|
|
2740
2638
|
type: ProvingRequestType.PRIVATE_BASE_ROLLUP;
|
|
2741
2639
|
result?: any;
|
|
2742
2640
|
}>, z.ZodObject<{
|
|
2743
2641
|
type: z.ZodLiteral<ProvingRequestType.PUBLIC_BASE_ROLLUP>;
|
|
2744
|
-
result: ZodFor<PublicInputsAndRecursiveProof<BaseOrMergeRollupPublicInputs,
|
|
2642
|
+
result: ZodFor<PublicInputsAndRecursiveProof<BaseOrMergeRollupPublicInputs, 535>>;
|
|
2745
2643
|
}, "strip", z.ZodTypeAny, {
|
|
2746
2644
|
type: ProvingRequestType.PUBLIC_BASE_ROLLUP;
|
|
2747
|
-
result: PublicInputsAndRecursiveProof<BaseOrMergeRollupPublicInputs,
|
|
2645
|
+
result: PublicInputsAndRecursiveProof<BaseOrMergeRollupPublicInputs, 535>;
|
|
2748
2646
|
}, {
|
|
2749
2647
|
type: ProvingRequestType.PUBLIC_BASE_ROLLUP;
|
|
2750
2648
|
result?: any;
|
|
2751
2649
|
}>, z.ZodObject<{
|
|
2752
2650
|
type: z.ZodLiteral<ProvingRequestType.MERGE_ROLLUP>;
|
|
2753
|
-
result: ZodFor<PublicInputsAndRecursiveProof<BaseOrMergeRollupPublicInputs,
|
|
2651
|
+
result: ZodFor<PublicInputsAndRecursiveProof<BaseOrMergeRollupPublicInputs, 535>>;
|
|
2754
2652
|
}, "strip", z.ZodTypeAny, {
|
|
2755
2653
|
type: ProvingRequestType.MERGE_ROLLUP;
|
|
2756
|
-
result: PublicInputsAndRecursiveProof<BaseOrMergeRollupPublicInputs,
|
|
2654
|
+
result: PublicInputsAndRecursiveProof<BaseOrMergeRollupPublicInputs, 535>;
|
|
2757
2655
|
}, {
|
|
2758
2656
|
type: ProvingRequestType.MERGE_ROLLUP;
|
|
2759
2657
|
result?: any;
|
|
2760
2658
|
}>, z.ZodObject<{
|
|
2761
2659
|
type: z.ZodLiteral<ProvingRequestType.EMPTY_BLOCK_ROOT_ROLLUP>;
|
|
2762
|
-
result: ZodFor<PublicInputsAndRecursiveProof<BlockRootOrBlockMergePublicInputs,
|
|
2660
|
+
result: ZodFor<PublicInputsAndRecursiveProof<BlockRootOrBlockMergePublicInputs, 535>>;
|
|
2763
2661
|
}, "strip", z.ZodTypeAny, {
|
|
2764
2662
|
type: ProvingRequestType.EMPTY_BLOCK_ROOT_ROLLUP;
|
|
2765
|
-
result: PublicInputsAndRecursiveProof<BlockRootOrBlockMergePublicInputs,
|
|
2663
|
+
result: PublicInputsAndRecursiveProof<BlockRootOrBlockMergePublicInputs, 535>;
|
|
2766
2664
|
}, {
|
|
2767
2665
|
type: ProvingRequestType.EMPTY_BLOCK_ROOT_ROLLUP;
|
|
2768
2666
|
result?: any;
|
|
2769
2667
|
}>, z.ZodObject<{
|
|
2770
2668
|
type: z.ZodLiteral<ProvingRequestType.BLOCK_ROOT_ROLLUP>;
|
|
2771
|
-
result: ZodFor<PublicInputsAndRecursiveProof<BlockRootOrBlockMergePublicInputs,
|
|
2669
|
+
result: ZodFor<PublicInputsAndRecursiveProof<BlockRootOrBlockMergePublicInputs, 535>>;
|
|
2772
2670
|
}, "strip", z.ZodTypeAny, {
|
|
2773
2671
|
type: ProvingRequestType.BLOCK_ROOT_ROLLUP;
|
|
2774
|
-
result: PublicInputsAndRecursiveProof<BlockRootOrBlockMergePublicInputs,
|
|
2672
|
+
result: PublicInputsAndRecursiveProof<BlockRootOrBlockMergePublicInputs, 535>;
|
|
2775
2673
|
}, {
|
|
2776
2674
|
type: ProvingRequestType.BLOCK_ROOT_ROLLUP;
|
|
2777
2675
|
result?: any;
|
|
2778
2676
|
}>, z.ZodObject<{
|
|
2779
2677
|
type: z.ZodLiteral<ProvingRequestType.SINGLE_TX_BLOCK_ROOT_ROLLUP>;
|
|
2780
|
-
result: ZodFor<PublicInputsAndRecursiveProof<BlockRootOrBlockMergePublicInputs,
|
|
2678
|
+
result: ZodFor<PublicInputsAndRecursiveProof<BlockRootOrBlockMergePublicInputs, 535>>;
|
|
2781
2679
|
}, "strip", z.ZodTypeAny, {
|
|
2782
2680
|
type: ProvingRequestType.SINGLE_TX_BLOCK_ROOT_ROLLUP;
|
|
2783
|
-
result: PublicInputsAndRecursiveProof<BlockRootOrBlockMergePublicInputs,
|
|
2681
|
+
result: PublicInputsAndRecursiveProof<BlockRootOrBlockMergePublicInputs, 535>;
|
|
2784
2682
|
}, {
|
|
2785
2683
|
type: ProvingRequestType.SINGLE_TX_BLOCK_ROOT_ROLLUP;
|
|
2786
2684
|
result?: any;
|
|
2787
2685
|
}>, z.ZodObject<{
|
|
2788
2686
|
type: z.ZodLiteral<ProvingRequestType.BLOCK_MERGE_ROLLUP>;
|
|
2789
|
-
result: ZodFor<PublicInputsAndRecursiveProof<BlockRootOrBlockMergePublicInputs,
|
|
2687
|
+
result: ZodFor<PublicInputsAndRecursiveProof<BlockRootOrBlockMergePublicInputs, 535>>;
|
|
2790
2688
|
}, "strip", z.ZodTypeAny, {
|
|
2791
2689
|
type: ProvingRequestType.BLOCK_MERGE_ROLLUP;
|
|
2792
|
-
result: PublicInputsAndRecursiveProof<BlockRootOrBlockMergePublicInputs,
|
|
2690
|
+
result: PublicInputsAndRecursiveProof<BlockRootOrBlockMergePublicInputs, 535>;
|
|
2793
2691
|
}, {
|
|
2794
2692
|
type: ProvingRequestType.BLOCK_MERGE_ROLLUP;
|
|
2795
2693
|
result?: any;
|
|
2796
2694
|
}>, z.ZodObject<{
|
|
2797
2695
|
type: z.ZodLiteral<ProvingRequestType.ROOT_ROLLUP>;
|
|
2798
|
-
result: ZodFor<PublicInputsAndRecursiveProof<RootRollupPublicInputs,
|
|
2696
|
+
result: ZodFor<PublicInputsAndRecursiveProof<RootRollupPublicInputs, 456>>;
|
|
2799
2697
|
}, "strip", z.ZodTypeAny, {
|
|
2800
2698
|
type: ProvingRequestType.ROOT_ROLLUP;
|
|
2801
|
-
result: PublicInputsAndRecursiveProof<RootRollupPublicInputs,
|
|
2699
|
+
result: PublicInputsAndRecursiveProof<RootRollupPublicInputs, 456>;
|
|
2802
2700
|
}, {
|
|
2803
2701
|
type: ProvingRequestType.ROOT_ROLLUP;
|
|
2804
2702
|
result?: any;
|
|
2805
2703
|
}>, z.ZodObject<{
|
|
2806
2704
|
type: z.ZodLiteral<ProvingRequestType.BASE_PARITY>;
|
|
2807
|
-
result: ZodFor<PublicInputsAndRecursiveProof<ParityPublicInputs,
|
|
2705
|
+
result: ZodFor<PublicInputsAndRecursiveProof<ParityPublicInputs, 456>>;
|
|
2808
2706
|
}, "strip", z.ZodTypeAny, {
|
|
2809
2707
|
type: ProvingRequestType.BASE_PARITY;
|
|
2810
|
-
result: PublicInputsAndRecursiveProof<ParityPublicInputs,
|
|
2708
|
+
result: PublicInputsAndRecursiveProof<ParityPublicInputs, 456>;
|
|
2811
2709
|
}, {
|
|
2812
2710
|
type: ProvingRequestType.BASE_PARITY;
|
|
2813
2711
|
result?: any;
|
|
2814
2712
|
}>, z.ZodObject<{
|
|
2815
2713
|
type: z.ZodLiteral<ProvingRequestType.ROOT_PARITY>;
|
|
2816
|
-
result: ZodFor<PublicInputsAndRecursiveProof<ParityPublicInputs,
|
|
2714
|
+
result: ZodFor<PublicInputsAndRecursiveProof<ParityPublicInputs, 456>>;
|
|
2817
2715
|
}, "strip", z.ZodTypeAny, {
|
|
2818
2716
|
type: ProvingRequestType.ROOT_PARITY;
|
|
2819
|
-
result: PublicInputsAndRecursiveProof<ParityPublicInputs,
|
|
2717
|
+
result: PublicInputsAndRecursiveProof<ParityPublicInputs, 456>;
|
|
2820
2718
|
}, {
|
|
2821
2719
|
type: ProvingRequestType.ROOT_PARITY;
|
|
2822
2720
|
result?: any;
|
|
2823
2721
|
}>, z.ZodObject<{
|
|
2824
2722
|
type: z.ZodLiteral<ProvingRequestType.TUBE_PROOF>;
|
|
2825
|
-
result: ZodFor<ProofAndVerificationKey<
|
|
2723
|
+
result: ZodFor<ProofAndVerificationKey<535>>;
|
|
2826
2724
|
}, "strip", z.ZodTypeAny, {
|
|
2827
2725
|
type: ProvingRequestType.TUBE_PROOF;
|
|
2828
|
-
result: ProofAndVerificationKey<
|
|
2726
|
+
result: ProofAndVerificationKey<535>;
|
|
2829
2727
|
}, {
|
|
2830
2728
|
type: ProvingRequestType.TUBE_PROOF;
|
|
2831
2729
|
result?: any;
|