@aztec/stdlib 0.87.7 → 1.0.0-nightly.20250604
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 +1188 -25
- package/dest/avm/avm.d.ts.map +1 -1
- package/dest/avm/avm.js +31 -14
- 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 +572 -0
- package/dest/avm/avm_proving_request.d.ts.map +1 -1
- package/dest/avm/gas.d.ts +7 -0
- package/dest/avm/gas.d.ts.map +1 -0
- package/dest/avm/gas.js +13 -0
- package/dest/avm/index.d.ts +1 -0
- package/dest/avm/index.d.ts.map +1 -1
- package/dest/avm/index.js +1 -0
- 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/index.d.ts +1 -0
- package/dest/block/index.d.ts.map +1 -1
- package/dest/block/index.js +1 -0
- package/dest/block/l2_block.d.ts +3 -2
- package/dest/block/l2_block.d.ts.map +1 -1
- package/dest/block/l2_block.js +10 -5
- 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/block/proposal/committee_attestation.d.ts +34 -0
- package/dest/block/proposal/committee_attestation.d.ts.map +1 -0
- package/dest/block/proposal/committee_attestation.js +59 -0
- package/dest/block/proposal/index.d.ts +2 -0
- package/dest/block/proposal/index.d.ts.map +1 -0
- package/dest/block/proposal/index.js +1 -0
- package/dest/block/published_l2_block.d.ts +99 -69
- package/dest/block/published_l2_block.d.ts.map +1 -1
- package/dest/block/published_l2_block.js +38 -12
- package/dest/block/test/l2_tips_store_test_suite.js +1 -1
- package/dest/interfaces/archiver.js +2 -2
- package/dest/interfaces/aztec-node.d.ts +3 -8
- package/dest/interfaces/aztec-node.d.ts.map +1 -1
- package/dest/interfaces/aztec-node.js +3 -6
- package/dest/interfaces/block-builder.d.ts +41 -2
- package/dest/interfaces/block-builder.d.ts.map +1 -1
- package/dest/interfaces/block-builder.js +1 -1
- package/dest/interfaces/epoch-prover.d.ts +2 -2
- package/dest/interfaces/epoch-prover.d.ts.map +1 -1
- package/dest/interfaces/merkle_tree_operations.d.ts +14 -0
- package/dest/interfaces/merkle_tree_operations.d.ts.map +1 -1
- package/dest/interfaces/p2p.d.ts +6 -3
- package/dest/interfaces/p2p.d.ts.map +1 -1
- package/dest/interfaces/p2p.js +1 -2
- package/dest/interfaces/proving-job.d.ts +576 -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/hints/find_private_kernel_reset_dimensions.js +1 -1
- package/dest/kernel/hints/key_validation_hint.d.ts +2 -6
- package/dest/kernel/hints/key_validation_hint.d.ts.map +1 -1
- package/dest/kernel/hints/key_validation_hint.js +5 -7
- package/dest/kernel/hints/private_kernel_reset_hints.d.ts +7 -7
- package/dest/kernel/hints/private_kernel_reset_hints.d.ts.map +1 -1
- package/dest/kernel/hints/private_kernel_reset_hints.js +8 -4
- package/dest/kernel/hints/read_request_hints.d.ts +8 -8
- package/dest/kernel/hints/read_request_hints.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 +7 -4
- package/dest/kernel/private_kernel_reset_circuit_private_inputs.d.ts.map +1 -1
- package/dest/kernel/private_kernel_reset_circuit_private_inputs.js +10 -6
- package/dest/kernel/private_kernel_reset_dimensions.d.ts +10 -10
- package/dest/kernel/private_kernel_reset_dimensions.d.ts.map +1 -1
- package/dest/kernel/private_kernel_reset_dimensions.js +29 -29
- 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/private_to_avm_accumulated_data.d.ts +1 -0
- package/dest/kernel/private_to_avm_accumulated_data.d.ts.map +1 -1
- package/dest/kernel/private_to_avm_accumulated_data.js +4 -0
- 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/contract_class_log.d.ts +0 -4
- package/dest/logs/contract_class_log.d.ts.map +1 -1
- package/dest/logs/contract_class_log.js +0 -33
- package/dest/logs/log_with_tx_data.d.ts +13 -3
- package/dest/logs/log_with_tx_data.d.ts.map +1 -1
- package/dest/logs/log_with_tx_data.js +26 -14
- package/dest/logs/private_log.d.ts +1 -0
- package/dest/logs/private_log.d.ts.map +1 -1
- package/dest/logs/private_log.js +3 -0
- package/dest/logs/public_log.d.ts +1 -0
- package/dest/logs/public_log.d.ts.map +1 -1
- package/dest/logs/public_log.js +3 -0
- package/dest/logs/tx_scoped_l2_log.d.ts.map +1 -1
- package/dest/logs/tx_scoped_l2_log.js +1 -0
- package/dest/messaging/index.d.ts +1 -0
- package/dest/messaging/index.d.ts.map +1 -1
- package/dest/messaging/index.js +1 -0
- package/dest/messaging/l2_to_l1_membership.d.ts +11 -0
- package/dest/messaging/l2_to_l1_membership.d.ts.map +1 -0
- package/dest/messaging/l2_to_l1_membership.js +70 -0
- package/dest/p2p/consensus_payload.d.ts.map +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/base_rollup_hints.d.ts +4 -4
- package/dest/rollup/base_rollup_hints.d.ts.map +1 -1
- package/dest/rollup/base_rollup_hints.js +8 -8
- 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 +53 -28
- package/dest/tests/mocks.d.ts.map +1 -1
- package/dest/tests/mocks.js +4 -3
- package/dest/tx/processed_tx.d.ts.map +1 -1
- package/dest/tx/processed_tx.js +2 -5
- package/dest/tx/tx.d.ts +10 -25
- package/dest/tx/tx.d.ts.map +1 -1
- package/dest/tx/tx.js +25 -50
- 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/tx_hash.d.ts +1 -0
- package/dest/tx/tx_hash.d.ts.map +1 -1
- package/dest/tx/tx_hash.js +3 -0
- 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 +25 -4
- package/src/avm/avm_accumulated_data.ts +93 -0
- package/src/avm/avm_circuit_public_inputs.ts +22 -2
- package/src/avm/gas.ts +26 -0
- package/src/avm/index.ts +1 -0
- package/src/block/body.ts +7 -2
- package/src/block/index.ts +1 -0
- package/src/block/l2_block.ts +8 -3
- package/src/block/l2_block_source.ts +9 -3
- package/src/block/proposal/committee_attestation.ts +70 -0
- package/src/block/proposal/index.ts +1 -0
- package/src/block/published_l2_block.ts +38 -24
- package/src/block/test/l2_tips_store_test_suite.ts +1 -1
- package/src/interfaces/archiver.ts +2 -2
- package/src/interfaces/aztec-node.ts +8 -16
- package/src/interfaces/block-builder.ts +49 -2
- package/src/interfaces/epoch-prover.ts +2 -2
- package/src/interfaces/merkle_tree_operations.ts +20 -0
- package/src/interfaces/p2p.ts +9 -4
- package/src/interfaces/proving-job.ts +3 -3
- package/src/interfaces/server_circuit_prover.ts +3 -2
- package/src/kernel/hints/find_private_kernel_reset_dimensions.ts +3 -3
- package/src/kernel/hints/key_validation_hint.ts +4 -6
- package/src/kernel/hints/private_kernel_reset_hints.ts +34 -43
- package/src/kernel/hints/read_request_hints.ts +27 -15
- 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 +16 -13
- package/src/kernel/private_kernel_reset_dimensions.ts +27 -27
- package/src/kernel/private_kernel_tail_circuit_private_inputs.ts +10 -2
- package/src/kernel/private_to_avm_accumulated_data.ts +9 -0
- package/src/kernel/public_call_request.ts +66 -0
- package/src/logs/contract_class_log.ts +0 -36
- package/src/logs/log_with_tx_data.ts +26 -12
- package/src/logs/private_log.ts +4 -0
- package/src/logs/public_log.ts +4 -0
- package/src/logs/tx_scoped_l2_log.ts +1 -0
- package/src/messaging/index.ts +1 -0
- package/src/messaging/l2_to_l1_membership.ts +113 -0
- package/src/p2p/consensus_payload.ts +3 -1
- package/src/rollup/avm_proof_data.ts +14 -7
- package/src/rollup/base_rollup_hints.ts +4 -4
- 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 +80 -43
- package/src/tests/mocks.ts +6 -3
- package/src/tx/processed_tx.ts +4 -5
- package/src/tx/tx.ts +28 -54
- package/src/tx/tx_effect.ts +23 -5
- package/src/tx/tx_hash.ts +4 -0
- 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
|
@@ -63,25 +63,210 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
63
63
|
coinbase?: any;
|
|
64
64
|
feeRecipient?: any;
|
|
65
65
|
}>;
|
|
66
|
+
gasSettings: z.ZodEffects<z.ZodObject<{
|
|
67
|
+
gasLimits: z.ZodEffects<z.ZodObject<{
|
|
68
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
69
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
70
|
+
}, "strip", z.ZodTypeAny, {
|
|
71
|
+
daGas: number;
|
|
72
|
+
l2Gas: number;
|
|
73
|
+
}, {
|
|
74
|
+
daGas: string | number | bigint;
|
|
75
|
+
l2Gas: string | number | bigint;
|
|
76
|
+
}>, import("../gas/gas.js").Gas, {
|
|
77
|
+
daGas: string | number | bigint;
|
|
78
|
+
l2Gas: string | number | bigint;
|
|
79
|
+
}>;
|
|
80
|
+
teardownGasLimits: z.ZodEffects<z.ZodObject<{
|
|
81
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
82
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
83
|
+
}, "strip", z.ZodTypeAny, {
|
|
84
|
+
daGas: number;
|
|
85
|
+
l2Gas: number;
|
|
86
|
+
}, {
|
|
87
|
+
daGas: string | number | bigint;
|
|
88
|
+
l2Gas: string | number | bigint;
|
|
89
|
+
}>, import("../gas/gas.js").Gas, {
|
|
90
|
+
daGas: string | number | bigint;
|
|
91
|
+
l2Gas: string | number | bigint;
|
|
92
|
+
}>;
|
|
93
|
+
maxFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
94
|
+
feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
95
|
+
feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
96
|
+
}, "strip", z.ZodTypeAny, {
|
|
97
|
+
feePerDaGas: import("@aztec/foundation/schemas").Fr;
|
|
98
|
+
feePerL2Gas: import("@aztec/foundation/schemas").Fr;
|
|
99
|
+
}, {
|
|
100
|
+
feePerDaGas: string;
|
|
101
|
+
feePerL2Gas: string;
|
|
102
|
+
}>, import("../gas/gas_fees.js").GasFees, {
|
|
103
|
+
feePerDaGas: string;
|
|
104
|
+
feePerL2Gas: string;
|
|
105
|
+
}>;
|
|
106
|
+
maxPriorityFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
107
|
+
feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
108
|
+
feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
109
|
+
}, "strip", z.ZodTypeAny, {
|
|
110
|
+
feePerDaGas: import("@aztec/foundation/schemas").Fr;
|
|
111
|
+
feePerL2Gas: import("@aztec/foundation/schemas").Fr;
|
|
112
|
+
}, {
|
|
113
|
+
feePerDaGas: string;
|
|
114
|
+
feePerL2Gas: string;
|
|
115
|
+
}>, import("../gas/gas_fees.js").GasFees, {
|
|
116
|
+
feePerDaGas: string;
|
|
117
|
+
feePerL2Gas: string;
|
|
118
|
+
}>;
|
|
119
|
+
}, "strip", z.ZodTypeAny, {
|
|
120
|
+
gasLimits: import("../gas/gas.js").Gas;
|
|
121
|
+
teardownGasLimits: import("../gas/gas.js").Gas;
|
|
122
|
+
maxFeesPerGas: import("../gas/gas_fees.js").GasFees;
|
|
123
|
+
maxPriorityFeesPerGas: import("../gas/gas_fees.js").GasFees;
|
|
124
|
+
}, {
|
|
125
|
+
gasLimits: {
|
|
126
|
+
daGas: string | number | bigint;
|
|
127
|
+
l2Gas: string | number | bigint;
|
|
128
|
+
};
|
|
129
|
+
teardownGasLimits: {
|
|
130
|
+
daGas: string | number | bigint;
|
|
131
|
+
l2Gas: string | number | bigint;
|
|
132
|
+
};
|
|
133
|
+
maxFeesPerGas: {
|
|
134
|
+
feePerDaGas: string;
|
|
135
|
+
feePerL2Gas: string;
|
|
136
|
+
};
|
|
137
|
+
maxPriorityFeesPerGas: {
|
|
138
|
+
feePerDaGas: string;
|
|
139
|
+
feePerL2Gas: string;
|
|
140
|
+
};
|
|
141
|
+
}>, import("../gas/gas_settings.js").GasSettings, {
|
|
142
|
+
gasLimits: {
|
|
143
|
+
daGas: string | number | bigint;
|
|
144
|
+
l2Gas: string | number | bigint;
|
|
145
|
+
};
|
|
146
|
+
teardownGasLimits: {
|
|
147
|
+
daGas: string | number | bigint;
|
|
148
|
+
l2Gas: string | number | bigint;
|
|
149
|
+
};
|
|
150
|
+
maxFeesPerGas: {
|
|
151
|
+
feePerDaGas: string;
|
|
152
|
+
feePerL2Gas: string;
|
|
153
|
+
};
|
|
154
|
+
maxPriorityFeesPerGas: {
|
|
155
|
+
feePerDaGas: string;
|
|
156
|
+
feePerL2Gas: string;
|
|
157
|
+
};
|
|
158
|
+
}>;
|
|
66
159
|
nonRevertibleAccumulatedData: z.ZodObject<{
|
|
67
160
|
noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
68
161
|
nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
162
|
+
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
163
|
+
message: z.ZodEffects<z.ZodObject<{
|
|
164
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
165
|
+
content: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
166
|
+
counter: z.ZodNumber;
|
|
167
|
+
}, "strip", z.ZodTypeAny, {
|
|
168
|
+
counter: number;
|
|
169
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
170
|
+
content: import("@aztec/foundation/schemas").Fr;
|
|
171
|
+
}, {
|
|
172
|
+
counter: number;
|
|
173
|
+
recipient: string;
|
|
174
|
+
content: string;
|
|
175
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
176
|
+
counter: number;
|
|
177
|
+
recipient: string;
|
|
178
|
+
content: string;
|
|
179
|
+
}>;
|
|
180
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
181
|
+
}, "strip", z.ZodTypeAny, {
|
|
182
|
+
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
183
|
+
contractAddress: import("../aztec-address/index.js").AztecAddress;
|
|
184
|
+
}, {
|
|
185
|
+
message: {
|
|
186
|
+
counter: number;
|
|
187
|
+
recipient: string;
|
|
188
|
+
content: string;
|
|
189
|
+
};
|
|
190
|
+
contractAddress?: any;
|
|
191
|
+
}>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
|
|
192
|
+
message: {
|
|
193
|
+
counter: number;
|
|
194
|
+
recipient: string;
|
|
195
|
+
content: string;
|
|
196
|
+
};
|
|
197
|
+
contractAddress?: any;
|
|
198
|
+
}>, "many">;
|
|
69
199
|
}, "strip", z.ZodTypeAny, {
|
|
70
200
|
noteHashes: import("@aztec/foundation/schemas").Fr[];
|
|
71
201
|
nullifiers: import("@aztec/foundation/schemas").Fr[];
|
|
202
|
+
l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
|
|
72
203
|
}, {
|
|
73
204
|
noteHashes: string[];
|
|
74
205
|
nullifiers: string[];
|
|
206
|
+
l2ToL1Messages: {
|
|
207
|
+
message: {
|
|
208
|
+
counter: number;
|
|
209
|
+
recipient: string;
|
|
210
|
+
content: string;
|
|
211
|
+
};
|
|
212
|
+
contractAddress?: any;
|
|
213
|
+
}[];
|
|
75
214
|
}>;
|
|
76
215
|
revertibleAccumulatedData: z.ZodObject<{
|
|
77
216
|
noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
78
217
|
nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
218
|
+
l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
219
|
+
message: z.ZodEffects<z.ZodObject<{
|
|
220
|
+
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
221
|
+
content: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
|
|
222
|
+
counter: z.ZodNumber;
|
|
223
|
+
}, "strip", z.ZodTypeAny, {
|
|
224
|
+
counter: number;
|
|
225
|
+
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
226
|
+
content: import("@aztec/foundation/schemas").Fr;
|
|
227
|
+
}, {
|
|
228
|
+
counter: number;
|
|
229
|
+
recipient: string;
|
|
230
|
+
content: string;
|
|
231
|
+
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
232
|
+
counter: number;
|
|
233
|
+
recipient: string;
|
|
234
|
+
content: string;
|
|
235
|
+
}>;
|
|
236
|
+
contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
237
|
+
}, "strip", z.ZodTypeAny, {
|
|
238
|
+
message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
|
|
239
|
+
contractAddress: import("../aztec-address/index.js").AztecAddress;
|
|
240
|
+
}, {
|
|
241
|
+
message: {
|
|
242
|
+
counter: number;
|
|
243
|
+
recipient: string;
|
|
244
|
+
content: string;
|
|
245
|
+
};
|
|
246
|
+
contractAddress?: any;
|
|
247
|
+
}>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
|
|
248
|
+
message: {
|
|
249
|
+
counter: number;
|
|
250
|
+
recipient: string;
|
|
251
|
+
content: string;
|
|
252
|
+
};
|
|
253
|
+
contractAddress?: any;
|
|
254
|
+
}>, "many">;
|
|
79
255
|
}, "strip", z.ZodTypeAny, {
|
|
80
256
|
noteHashes: import("@aztec/foundation/schemas").Fr[];
|
|
81
257
|
nullifiers: import("@aztec/foundation/schemas").Fr[];
|
|
258
|
+
l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
|
|
82
259
|
}, {
|
|
83
260
|
noteHashes: string[];
|
|
84
261
|
nullifiers: string[];
|
|
262
|
+
l2ToL1Messages: {
|
|
263
|
+
message: {
|
|
264
|
+
counter: number;
|
|
265
|
+
recipient: string;
|
|
266
|
+
content: string;
|
|
267
|
+
};
|
|
268
|
+
contractAddress?: any;
|
|
269
|
+
}[];
|
|
85
270
|
}>;
|
|
86
271
|
setupEnqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
87
272
|
msgSender: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
@@ -146,20 +331,37 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
146
331
|
contractAddress?: any;
|
|
147
332
|
msgSender?: any;
|
|
148
333
|
}>>;
|
|
334
|
+
gasUsedByPrivate: z.ZodEffects<z.ZodObject<{
|
|
335
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
336
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
337
|
+
}, "strip", z.ZodTypeAny, {
|
|
338
|
+
daGas: number;
|
|
339
|
+
l2Gas: number;
|
|
340
|
+
}, {
|
|
341
|
+
daGas: string | number | bigint;
|
|
342
|
+
l2Gas: string | number | bigint;
|
|
343
|
+
}>, import("../gas/gas.js").Gas, {
|
|
344
|
+
daGas: string | number | bigint;
|
|
345
|
+
l2Gas: string | number | bigint;
|
|
346
|
+
}>;
|
|
149
347
|
}, "strip", z.ZodTypeAny, {
|
|
150
348
|
hash: string;
|
|
151
349
|
globalVariables: import("../tx/global_variables.js").GlobalVariables;
|
|
350
|
+
gasSettings: import("../gas/gas_settings.js").GasSettings;
|
|
152
351
|
nonRevertibleAccumulatedData: {
|
|
153
352
|
noteHashes: import("@aztec/foundation/schemas").Fr[];
|
|
154
353
|
nullifiers: import("@aztec/foundation/schemas").Fr[];
|
|
354
|
+
l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
|
|
155
355
|
};
|
|
156
356
|
revertibleAccumulatedData: {
|
|
157
357
|
noteHashes: import("@aztec/foundation/schemas").Fr[];
|
|
158
358
|
nullifiers: import("@aztec/foundation/schemas").Fr[];
|
|
359
|
+
l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
|
|
159
360
|
};
|
|
160
361
|
setupEnqueuedCalls: import("./avm.js").AvmEnqueuedCallHint[];
|
|
161
362
|
appLogicEnqueuedCalls: import("./avm.js").AvmEnqueuedCallHint[];
|
|
162
363
|
teardownEnqueuedCall: import("./avm.js").AvmEnqueuedCallHint | null;
|
|
364
|
+
gasUsedByPrivate: import("../gas/gas.js").Gas;
|
|
163
365
|
}, {
|
|
164
366
|
hash: string;
|
|
165
367
|
globalVariables: {
|
|
@@ -175,13 +377,47 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
175
377
|
coinbase?: any;
|
|
176
378
|
feeRecipient?: any;
|
|
177
379
|
};
|
|
380
|
+
gasSettings: {
|
|
381
|
+
gasLimits: {
|
|
382
|
+
daGas: string | number | bigint;
|
|
383
|
+
l2Gas: string | number | bigint;
|
|
384
|
+
};
|
|
385
|
+
teardownGasLimits: {
|
|
386
|
+
daGas: string | number | bigint;
|
|
387
|
+
l2Gas: string | number | bigint;
|
|
388
|
+
};
|
|
389
|
+
maxFeesPerGas: {
|
|
390
|
+
feePerDaGas: string;
|
|
391
|
+
feePerL2Gas: string;
|
|
392
|
+
};
|
|
393
|
+
maxPriorityFeesPerGas: {
|
|
394
|
+
feePerDaGas: string;
|
|
395
|
+
feePerL2Gas: string;
|
|
396
|
+
};
|
|
397
|
+
};
|
|
178
398
|
nonRevertibleAccumulatedData: {
|
|
179
399
|
noteHashes: string[];
|
|
180
400
|
nullifiers: string[];
|
|
401
|
+
l2ToL1Messages: {
|
|
402
|
+
message: {
|
|
403
|
+
counter: number;
|
|
404
|
+
recipient: string;
|
|
405
|
+
content: string;
|
|
406
|
+
};
|
|
407
|
+
contractAddress?: any;
|
|
408
|
+
}[];
|
|
181
409
|
};
|
|
182
410
|
revertibleAccumulatedData: {
|
|
183
411
|
noteHashes: string[];
|
|
184
412
|
nullifiers: string[];
|
|
413
|
+
l2ToL1Messages: {
|
|
414
|
+
message: {
|
|
415
|
+
counter: number;
|
|
416
|
+
recipient: string;
|
|
417
|
+
content: string;
|
|
418
|
+
};
|
|
419
|
+
contractAddress?: any;
|
|
420
|
+
}[];
|
|
185
421
|
};
|
|
186
422
|
setupEnqueuedCalls: {
|
|
187
423
|
isStaticCall: boolean;
|
|
@@ -201,6 +437,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
201
437
|
contractAddress?: any;
|
|
202
438
|
msgSender?: any;
|
|
203
439
|
} | null;
|
|
440
|
+
gasUsedByPrivate: {
|
|
441
|
+
daGas: string | number | bigint;
|
|
442
|
+
l2Gas: string | number | bigint;
|
|
443
|
+
};
|
|
204
444
|
}>, import("./avm.js").AvmTxHint, {
|
|
205
445
|
hash: string;
|
|
206
446
|
globalVariables: {
|
|
@@ -216,13 +456,47 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
216
456
|
coinbase?: any;
|
|
217
457
|
feeRecipient?: any;
|
|
218
458
|
};
|
|
459
|
+
gasSettings: {
|
|
460
|
+
gasLimits: {
|
|
461
|
+
daGas: string | number | bigint;
|
|
462
|
+
l2Gas: string | number | bigint;
|
|
463
|
+
};
|
|
464
|
+
teardownGasLimits: {
|
|
465
|
+
daGas: string | number | bigint;
|
|
466
|
+
l2Gas: string | number | bigint;
|
|
467
|
+
};
|
|
468
|
+
maxFeesPerGas: {
|
|
469
|
+
feePerDaGas: string;
|
|
470
|
+
feePerL2Gas: string;
|
|
471
|
+
};
|
|
472
|
+
maxPriorityFeesPerGas: {
|
|
473
|
+
feePerDaGas: string;
|
|
474
|
+
feePerL2Gas: string;
|
|
475
|
+
};
|
|
476
|
+
};
|
|
219
477
|
nonRevertibleAccumulatedData: {
|
|
220
478
|
noteHashes: string[];
|
|
221
479
|
nullifiers: string[];
|
|
480
|
+
l2ToL1Messages: {
|
|
481
|
+
message: {
|
|
482
|
+
counter: number;
|
|
483
|
+
recipient: string;
|
|
484
|
+
content: string;
|
|
485
|
+
};
|
|
486
|
+
contractAddress?: any;
|
|
487
|
+
}[];
|
|
222
488
|
};
|
|
223
489
|
revertibleAccumulatedData: {
|
|
224
490
|
noteHashes: string[];
|
|
225
491
|
nullifiers: string[];
|
|
492
|
+
l2ToL1Messages: {
|
|
493
|
+
message: {
|
|
494
|
+
counter: number;
|
|
495
|
+
recipient: string;
|
|
496
|
+
content: string;
|
|
497
|
+
};
|
|
498
|
+
contractAddress?: any;
|
|
499
|
+
}[];
|
|
226
500
|
};
|
|
227
501
|
setupEnqueuedCalls: {
|
|
228
502
|
isStaticCall: boolean;
|
|
@@ -242,6 +516,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
242
516
|
contractAddress?: any;
|
|
243
517
|
msgSender?: any;
|
|
244
518
|
} | null;
|
|
519
|
+
gasUsedByPrivate: {
|
|
520
|
+
daGas: string | number | bigint;
|
|
521
|
+
l2Gas: string | number | bigint;
|
|
522
|
+
};
|
|
245
523
|
}>;
|
|
246
524
|
contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
247
525
|
address: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
@@ -2001,13 +2279,47 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2001
2279
|
coinbase?: any;
|
|
2002
2280
|
feeRecipient?: any;
|
|
2003
2281
|
};
|
|
2282
|
+
gasSettings: {
|
|
2283
|
+
gasLimits: {
|
|
2284
|
+
daGas: string | number | bigint;
|
|
2285
|
+
l2Gas: string | number | bigint;
|
|
2286
|
+
};
|
|
2287
|
+
teardownGasLimits: {
|
|
2288
|
+
daGas: string | number | bigint;
|
|
2289
|
+
l2Gas: string | number | bigint;
|
|
2290
|
+
};
|
|
2291
|
+
maxFeesPerGas: {
|
|
2292
|
+
feePerDaGas: string;
|
|
2293
|
+
feePerL2Gas: string;
|
|
2294
|
+
};
|
|
2295
|
+
maxPriorityFeesPerGas: {
|
|
2296
|
+
feePerDaGas: string;
|
|
2297
|
+
feePerL2Gas: string;
|
|
2298
|
+
};
|
|
2299
|
+
};
|
|
2004
2300
|
nonRevertibleAccumulatedData: {
|
|
2005
2301
|
noteHashes: string[];
|
|
2006
2302
|
nullifiers: string[];
|
|
2303
|
+
l2ToL1Messages: {
|
|
2304
|
+
message: {
|
|
2305
|
+
counter: number;
|
|
2306
|
+
recipient: string;
|
|
2307
|
+
content: string;
|
|
2308
|
+
};
|
|
2309
|
+
contractAddress?: any;
|
|
2310
|
+
}[];
|
|
2007
2311
|
};
|
|
2008
2312
|
revertibleAccumulatedData: {
|
|
2009
2313
|
noteHashes: string[];
|
|
2010
2314
|
nullifiers: string[];
|
|
2315
|
+
l2ToL1Messages: {
|
|
2316
|
+
message: {
|
|
2317
|
+
counter: number;
|
|
2318
|
+
recipient: string;
|
|
2319
|
+
content: string;
|
|
2320
|
+
};
|
|
2321
|
+
contractAddress?: any;
|
|
2322
|
+
}[];
|
|
2011
2323
|
};
|
|
2012
2324
|
setupEnqueuedCalls: {
|
|
2013
2325
|
isStaticCall: boolean;
|
|
@@ -2027,6 +2339,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2027
2339
|
contractAddress?: any;
|
|
2028
2340
|
msgSender?: any;
|
|
2029
2341
|
} | null;
|
|
2342
|
+
gasUsedByPrivate: {
|
|
2343
|
+
daGas: string | number | bigint;
|
|
2344
|
+
l2Gas: string | number | bigint;
|
|
2345
|
+
};
|
|
2030
2346
|
};
|
|
2031
2347
|
contractInstances: {
|
|
2032
2348
|
salt: string;
|
|
@@ -2328,13 +2644,47 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2328
2644
|
coinbase?: any;
|
|
2329
2645
|
feeRecipient?: any;
|
|
2330
2646
|
};
|
|
2647
|
+
gasSettings: {
|
|
2648
|
+
gasLimits: {
|
|
2649
|
+
daGas: string | number | bigint;
|
|
2650
|
+
l2Gas: string | number | bigint;
|
|
2651
|
+
};
|
|
2652
|
+
teardownGasLimits: {
|
|
2653
|
+
daGas: string | number | bigint;
|
|
2654
|
+
l2Gas: string | number | bigint;
|
|
2655
|
+
};
|
|
2656
|
+
maxFeesPerGas: {
|
|
2657
|
+
feePerDaGas: string;
|
|
2658
|
+
feePerL2Gas: string;
|
|
2659
|
+
};
|
|
2660
|
+
maxPriorityFeesPerGas: {
|
|
2661
|
+
feePerDaGas: string;
|
|
2662
|
+
feePerL2Gas: string;
|
|
2663
|
+
};
|
|
2664
|
+
};
|
|
2331
2665
|
nonRevertibleAccumulatedData: {
|
|
2332
2666
|
noteHashes: string[];
|
|
2333
2667
|
nullifiers: string[];
|
|
2668
|
+
l2ToL1Messages: {
|
|
2669
|
+
message: {
|
|
2670
|
+
counter: number;
|
|
2671
|
+
recipient: string;
|
|
2672
|
+
content: string;
|
|
2673
|
+
};
|
|
2674
|
+
contractAddress?: any;
|
|
2675
|
+
}[];
|
|
2334
2676
|
};
|
|
2335
2677
|
revertibleAccumulatedData: {
|
|
2336
2678
|
noteHashes: string[];
|
|
2337
2679
|
nullifiers: string[];
|
|
2680
|
+
l2ToL1Messages: {
|
|
2681
|
+
message: {
|
|
2682
|
+
counter: number;
|
|
2683
|
+
recipient: string;
|
|
2684
|
+
content: string;
|
|
2685
|
+
};
|
|
2686
|
+
contractAddress?: any;
|
|
2687
|
+
}[];
|
|
2338
2688
|
};
|
|
2339
2689
|
setupEnqueuedCalls: {
|
|
2340
2690
|
isStaticCall: boolean;
|
|
@@ -2354,6 +2704,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2354
2704
|
contractAddress?: any;
|
|
2355
2705
|
msgSender?: any;
|
|
2356
2706
|
} | null;
|
|
2707
|
+
gasUsedByPrivate: {
|
|
2708
|
+
daGas: string | number | bigint;
|
|
2709
|
+
l2Gas: string | number | bigint;
|
|
2710
|
+
};
|
|
2357
2711
|
};
|
|
2358
2712
|
contractInstances: {
|
|
2359
2713
|
salt: string;
|
|
@@ -2896,6 +3250,23 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2896
3250
|
};
|
|
2897
3251
|
}>;
|
|
2898
3252
|
feePayer: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
3253
|
+
publicCallRequestArrayLengths: z.ZodEffects<z.ZodObject<{
|
|
3254
|
+
setupCalls: z.ZodNumber;
|
|
3255
|
+
appLogicCalls: z.ZodNumber;
|
|
3256
|
+
teardownCall: z.ZodBoolean;
|
|
3257
|
+
}, "strip", z.ZodTypeAny, {
|
|
3258
|
+
setupCalls: number;
|
|
3259
|
+
appLogicCalls: number;
|
|
3260
|
+
teardownCall: boolean;
|
|
3261
|
+
}, {
|
|
3262
|
+
setupCalls: number;
|
|
3263
|
+
appLogicCalls: number;
|
|
3264
|
+
teardownCall: boolean;
|
|
3265
|
+
}>, import("../kernel/public_call_request.js").PublicCallRequestArrayLengths, {
|
|
3266
|
+
setupCalls: number;
|
|
3267
|
+
appLogicCalls: number;
|
|
3268
|
+
teardownCall: boolean;
|
|
3269
|
+
}>;
|
|
2899
3270
|
publicSetupCallRequests: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2900
3271
|
msgSender: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
2901
3272
|
contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
|
|
@@ -3233,6 +3604,31 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3233
3604
|
daGas: string | number | bigint;
|
|
3234
3605
|
l2Gas: string | number | bigint;
|
|
3235
3606
|
}>;
|
|
3607
|
+
accumulatedDataArrayLengths: z.ZodEffects<z.ZodObject<{
|
|
3608
|
+
noteHashes: z.ZodNumber;
|
|
3609
|
+
nullifiers: z.ZodNumber;
|
|
3610
|
+
l2ToL1Msgs: z.ZodNumber;
|
|
3611
|
+
publicLogs: z.ZodNumber;
|
|
3612
|
+
publicDataWrites: z.ZodNumber;
|
|
3613
|
+
}, "strip", z.ZodTypeAny, {
|
|
3614
|
+
noteHashes: number;
|
|
3615
|
+
nullifiers: number;
|
|
3616
|
+
l2ToL1Msgs: number;
|
|
3617
|
+
publicLogs: number;
|
|
3618
|
+
publicDataWrites: number;
|
|
3619
|
+
}, {
|
|
3620
|
+
noteHashes: number;
|
|
3621
|
+
nullifiers: number;
|
|
3622
|
+
l2ToL1Msgs: number;
|
|
3623
|
+
publicLogs: number;
|
|
3624
|
+
publicDataWrites: number;
|
|
3625
|
+
}>, import("./avm_accumulated_data.js").AvmAccumulatedDataArrayLengths, {
|
|
3626
|
+
noteHashes: number;
|
|
3627
|
+
nullifiers: number;
|
|
3628
|
+
l2ToL1Msgs: number;
|
|
3629
|
+
publicLogs: number;
|
|
3630
|
+
publicDataWrites: number;
|
|
3631
|
+
}>;
|
|
3236
3632
|
accumulatedData: z.ZodEffects<z.ZodObject<{
|
|
3237
3633
|
noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
3238
3634
|
nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
|
|
@@ -3336,6 +3732,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3336
3732
|
feePayer: import("../aztec-address/index.js").AztecAddress;
|
|
3337
3733
|
startTreeSnapshots: import("../tx/tree_snapshots.js").TreeSnapshots;
|
|
3338
3734
|
startGasUsed: import("../gas/gas.js").Gas;
|
|
3735
|
+
publicCallRequestArrayLengths: import("../kernel/public_call_request.js").PublicCallRequestArrayLengths;
|
|
3339
3736
|
publicSetupCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
|
|
3340
3737
|
publicAppLogicCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
|
|
3341
3738
|
previousNonRevertibleAccumulatedDataArrayLengths: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedDataArrayLengths;
|
|
@@ -3344,6 +3741,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3344
3741
|
previousRevertibleAccumulatedData: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData;
|
|
3345
3742
|
endTreeSnapshots: import("../tx/tree_snapshots.js").TreeSnapshots;
|
|
3346
3743
|
endGasUsed: import("../gas/gas.js").Gas;
|
|
3744
|
+
accumulatedDataArrayLengths: import("./avm_accumulated_data.js").AvmAccumulatedDataArrayLengths;
|
|
3347
3745
|
accumulatedData: import("./avm_accumulated_data.js").AvmAccumulatedData;
|
|
3348
3746
|
reverted: boolean;
|
|
3349
3747
|
}, {
|
|
@@ -3407,6 +3805,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3407
3805
|
daGas: string | number | bigint;
|
|
3408
3806
|
l2Gas: string | number | bigint;
|
|
3409
3807
|
};
|
|
3808
|
+
publicCallRequestArrayLengths: {
|
|
3809
|
+
setupCalls: number;
|
|
3810
|
+
appLogicCalls: number;
|
|
3811
|
+
teardownCall: boolean;
|
|
3812
|
+
};
|
|
3410
3813
|
publicSetupCallRequests: {
|
|
3411
3814
|
isStaticCall: boolean;
|
|
3412
3815
|
calldataHash: string;
|
|
@@ -3475,6 +3878,13 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3475
3878
|
daGas: string | number | bigint;
|
|
3476
3879
|
l2Gas: string | number | bigint;
|
|
3477
3880
|
};
|
|
3881
|
+
accumulatedDataArrayLengths: {
|
|
3882
|
+
noteHashes: number;
|
|
3883
|
+
nullifiers: number;
|
|
3884
|
+
l2ToL1Msgs: number;
|
|
3885
|
+
publicLogs: number;
|
|
3886
|
+
publicDataWrites: number;
|
|
3887
|
+
};
|
|
3478
3888
|
accumulatedData: {
|
|
3479
3889
|
noteHashes: string[];
|
|
3480
3890
|
nullifiers: string[];
|
|
@@ -3555,6 +3965,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3555
3965
|
daGas: string | number | bigint;
|
|
3556
3966
|
l2Gas: string | number | bigint;
|
|
3557
3967
|
};
|
|
3968
|
+
publicCallRequestArrayLengths: {
|
|
3969
|
+
setupCalls: number;
|
|
3970
|
+
appLogicCalls: number;
|
|
3971
|
+
teardownCall: boolean;
|
|
3972
|
+
};
|
|
3558
3973
|
publicSetupCallRequests: {
|
|
3559
3974
|
isStaticCall: boolean;
|
|
3560
3975
|
calldataHash: string;
|
|
@@ -3623,6 +4038,13 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3623
4038
|
daGas: string | number | bigint;
|
|
3624
4039
|
l2Gas: string | number | bigint;
|
|
3625
4040
|
};
|
|
4041
|
+
accumulatedDataArrayLengths: {
|
|
4042
|
+
noteHashes: number;
|
|
4043
|
+
nullifiers: number;
|
|
4044
|
+
l2ToL1Msgs: number;
|
|
4045
|
+
publicLogs: number;
|
|
4046
|
+
publicDataWrites: number;
|
|
4047
|
+
};
|
|
3626
4048
|
accumulatedData: {
|
|
3627
4049
|
noteHashes: string[];
|
|
3628
4050
|
nullifiers: string[];
|
|
@@ -3708,6 +4130,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3708
4130
|
daGas: string | number | bigint;
|
|
3709
4131
|
l2Gas: string | number | bigint;
|
|
3710
4132
|
};
|
|
4133
|
+
publicCallRequestArrayLengths: {
|
|
4134
|
+
setupCalls: number;
|
|
4135
|
+
appLogicCalls: number;
|
|
4136
|
+
teardownCall: boolean;
|
|
4137
|
+
};
|
|
3711
4138
|
publicSetupCallRequests: {
|
|
3712
4139
|
isStaticCall: boolean;
|
|
3713
4140
|
calldataHash: string;
|
|
@@ -3776,6 +4203,13 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3776
4203
|
daGas: string | number | bigint;
|
|
3777
4204
|
l2Gas: string | number | bigint;
|
|
3778
4205
|
};
|
|
4206
|
+
accumulatedDataArrayLengths: {
|
|
4207
|
+
noteHashes: number;
|
|
4208
|
+
nullifiers: number;
|
|
4209
|
+
l2ToL1Msgs: number;
|
|
4210
|
+
publicLogs: number;
|
|
4211
|
+
publicDataWrites: number;
|
|
4212
|
+
};
|
|
3779
4213
|
accumulatedData: {
|
|
3780
4214
|
noteHashes: string[];
|
|
3781
4215
|
nullifiers: string[];
|
|
@@ -3812,13 +4246,47 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3812
4246
|
coinbase?: any;
|
|
3813
4247
|
feeRecipient?: any;
|
|
3814
4248
|
};
|
|
4249
|
+
gasSettings: {
|
|
4250
|
+
gasLimits: {
|
|
4251
|
+
daGas: string | number | bigint;
|
|
4252
|
+
l2Gas: string | number | bigint;
|
|
4253
|
+
};
|
|
4254
|
+
teardownGasLimits: {
|
|
4255
|
+
daGas: string | number | bigint;
|
|
4256
|
+
l2Gas: string | number | bigint;
|
|
4257
|
+
};
|
|
4258
|
+
maxFeesPerGas: {
|
|
4259
|
+
feePerDaGas: string;
|
|
4260
|
+
feePerL2Gas: string;
|
|
4261
|
+
};
|
|
4262
|
+
maxPriorityFeesPerGas: {
|
|
4263
|
+
feePerDaGas: string;
|
|
4264
|
+
feePerL2Gas: string;
|
|
4265
|
+
};
|
|
4266
|
+
};
|
|
3815
4267
|
nonRevertibleAccumulatedData: {
|
|
3816
4268
|
noteHashes: string[];
|
|
3817
4269
|
nullifiers: string[];
|
|
4270
|
+
l2ToL1Messages: {
|
|
4271
|
+
message: {
|
|
4272
|
+
counter: number;
|
|
4273
|
+
recipient: string;
|
|
4274
|
+
content: string;
|
|
4275
|
+
};
|
|
4276
|
+
contractAddress?: any;
|
|
4277
|
+
}[];
|
|
3818
4278
|
};
|
|
3819
4279
|
revertibleAccumulatedData: {
|
|
3820
4280
|
noteHashes: string[];
|
|
3821
4281
|
nullifiers: string[];
|
|
4282
|
+
l2ToL1Messages: {
|
|
4283
|
+
message: {
|
|
4284
|
+
counter: number;
|
|
4285
|
+
recipient: string;
|
|
4286
|
+
content: string;
|
|
4287
|
+
};
|
|
4288
|
+
contractAddress?: any;
|
|
4289
|
+
}[];
|
|
3822
4290
|
};
|
|
3823
4291
|
setupEnqueuedCalls: {
|
|
3824
4292
|
isStaticCall: boolean;
|
|
@@ -3838,6 +4306,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3838
4306
|
contractAddress?: any;
|
|
3839
4307
|
msgSender?: any;
|
|
3840
4308
|
} | null;
|
|
4309
|
+
gasUsedByPrivate: {
|
|
4310
|
+
daGas: string | number | bigint;
|
|
4311
|
+
l2Gas: string | number | bigint;
|
|
4312
|
+
};
|
|
3841
4313
|
};
|
|
3842
4314
|
contractInstances: {
|
|
3843
4315
|
salt: string;
|
|
@@ -4186,6 +4658,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4186
4658
|
daGas: string | number | bigint;
|
|
4187
4659
|
l2Gas: string | number | bigint;
|
|
4188
4660
|
};
|
|
4661
|
+
publicCallRequestArrayLengths: {
|
|
4662
|
+
setupCalls: number;
|
|
4663
|
+
appLogicCalls: number;
|
|
4664
|
+
teardownCall: boolean;
|
|
4665
|
+
};
|
|
4189
4666
|
publicSetupCallRequests: {
|
|
4190
4667
|
isStaticCall: boolean;
|
|
4191
4668
|
calldataHash: string;
|
|
@@ -4254,6 +4731,13 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4254
4731
|
daGas: string | number | bigint;
|
|
4255
4732
|
l2Gas: string | number | bigint;
|
|
4256
4733
|
};
|
|
4734
|
+
accumulatedDataArrayLengths: {
|
|
4735
|
+
noteHashes: number;
|
|
4736
|
+
nullifiers: number;
|
|
4737
|
+
l2ToL1Msgs: number;
|
|
4738
|
+
publicLogs: number;
|
|
4739
|
+
publicDataWrites: number;
|
|
4740
|
+
};
|
|
4257
4741
|
accumulatedData: {
|
|
4258
4742
|
noteHashes: string[];
|
|
4259
4743
|
nullifiers: string[];
|
|
@@ -4290,13 +4774,47 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4290
4774
|
coinbase?: any;
|
|
4291
4775
|
feeRecipient?: any;
|
|
4292
4776
|
};
|
|
4777
|
+
gasSettings: {
|
|
4778
|
+
gasLimits: {
|
|
4779
|
+
daGas: string | number | bigint;
|
|
4780
|
+
l2Gas: string | number | bigint;
|
|
4781
|
+
};
|
|
4782
|
+
teardownGasLimits: {
|
|
4783
|
+
daGas: string | number | bigint;
|
|
4784
|
+
l2Gas: string | number | bigint;
|
|
4785
|
+
};
|
|
4786
|
+
maxFeesPerGas: {
|
|
4787
|
+
feePerDaGas: string;
|
|
4788
|
+
feePerL2Gas: string;
|
|
4789
|
+
};
|
|
4790
|
+
maxPriorityFeesPerGas: {
|
|
4791
|
+
feePerDaGas: string;
|
|
4792
|
+
feePerL2Gas: string;
|
|
4793
|
+
};
|
|
4794
|
+
};
|
|
4293
4795
|
nonRevertibleAccumulatedData: {
|
|
4294
4796
|
noteHashes: string[];
|
|
4295
4797
|
nullifiers: string[];
|
|
4798
|
+
l2ToL1Messages: {
|
|
4799
|
+
message: {
|
|
4800
|
+
counter: number;
|
|
4801
|
+
recipient: string;
|
|
4802
|
+
content: string;
|
|
4803
|
+
};
|
|
4804
|
+
contractAddress?: any;
|
|
4805
|
+
}[];
|
|
4296
4806
|
};
|
|
4297
4807
|
revertibleAccumulatedData: {
|
|
4298
4808
|
noteHashes: string[];
|
|
4299
4809
|
nullifiers: string[];
|
|
4810
|
+
l2ToL1Messages: {
|
|
4811
|
+
message: {
|
|
4812
|
+
counter: number;
|
|
4813
|
+
recipient: string;
|
|
4814
|
+
content: string;
|
|
4815
|
+
};
|
|
4816
|
+
contractAddress?: any;
|
|
4817
|
+
}[];
|
|
4300
4818
|
};
|
|
4301
4819
|
setupEnqueuedCalls: {
|
|
4302
4820
|
isStaticCall: boolean;
|
|
@@ -4316,6 +4834,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4316
4834
|
contractAddress?: any;
|
|
4317
4835
|
msgSender?: any;
|
|
4318
4836
|
} | null;
|
|
4837
|
+
gasUsedByPrivate: {
|
|
4838
|
+
daGas: string | number | bigint;
|
|
4839
|
+
l2Gas: string | number | bigint;
|
|
4840
|
+
};
|
|
4319
4841
|
};
|
|
4320
4842
|
contractInstances: {
|
|
4321
4843
|
salt: string;
|
|
@@ -4670,6 +5192,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4670
5192
|
daGas: string | number | bigint;
|
|
4671
5193
|
l2Gas: string | number | bigint;
|
|
4672
5194
|
};
|
|
5195
|
+
publicCallRequestArrayLengths: {
|
|
5196
|
+
setupCalls: number;
|
|
5197
|
+
appLogicCalls: number;
|
|
5198
|
+
teardownCall: boolean;
|
|
5199
|
+
};
|
|
4673
5200
|
publicSetupCallRequests: {
|
|
4674
5201
|
isStaticCall: boolean;
|
|
4675
5202
|
calldataHash: string;
|
|
@@ -4738,6 +5265,13 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4738
5265
|
daGas: string | number | bigint;
|
|
4739
5266
|
l2Gas: string | number | bigint;
|
|
4740
5267
|
};
|
|
5268
|
+
accumulatedDataArrayLengths: {
|
|
5269
|
+
noteHashes: number;
|
|
5270
|
+
nullifiers: number;
|
|
5271
|
+
l2ToL1Msgs: number;
|
|
5272
|
+
publicLogs: number;
|
|
5273
|
+
publicDataWrites: number;
|
|
5274
|
+
};
|
|
4741
5275
|
accumulatedData: {
|
|
4742
5276
|
noteHashes: string[];
|
|
4743
5277
|
nullifiers: string[];
|
|
@@ -4774,13 +5308,47 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4774
5308
|
coinbase?: any;
|
|
4775
5309
|
feeRecipient?: any;
|
|
4776
5310
|
};
|
|
5311
|
+
gasSettings: {
|
|
5312
|
+
gasLimits: {
|
|
5313
|
+
daGas: string | number | bigint;
|
|
5314
|
+
l2Gas: string | number | bigint;
|
|
5315
|
+
};
|
|
5316
|
+
teardownGasLimits: {
|
|
5317
|
+
daGas: string | number | bigint;
|
|
5318
|
+
l2Gas: string | number | bigint;
|
|
5319
|
+
};
|
|
5320
|
+
maxFeesPerGas: {
|
|
5321
|
+
feePerDaGas: string;
|
|
5322
|
+
feePerL2Gas: string;
|
|
5323
|
+
};
|
|
5324
|
+
maxPriorityFeesPerGas: {
|
|
5325
|
+
feePerDaGas: string;
|
|
5326
|
+
feePerL2Gas: string;
|
|
5327
|
+
};
|
|
5328
|
+
};
|
|
4777
5329
|
nonRevertibleAccumulatedData: {
|
|
4778
5330
|
noteHashes: string[];
|
|
4779
5331
|
nullifiers: string[];
|
|
5332
|
+
l2ToL1Messages: {
|
|
5333
|
+
message: {
|
|
5334
|
+
counter: number;
|
|
5335
|
+
recipient: string;
|
|
5336
|
+
content: string;
|
|
5337
|
+
};
|
|
5338
|
+
contractAddress?: any;
|
|
5339
|
+
}[];
|
|
4780
5340
|
};
|
|
4781
5341
|
revertibleAccumulatedData: {
|
|
4782
5342
|
noteHashes: string[];
|
|
4783
5343
|
nullifiers: string[];
|
|
5344
|
+
l2ToL1Messages: {
|
|
5345
|
+
message: {
|
|
5346
|
+
counter: number;
|
|
5347
|
+
recipient: string;
|
|
5348
|
+
content: string;
|
|
5349
|
+
};
|
|
5350
|
+
contractAddress?: any;
|
|
5351
|
+
}[];
|
|
4784
5352
|
};
|
|
4785
5353
|
setupEnqueuedCalls: {
|
|
4786
5354
|
isStaticCall: boolean;
|
|
@@ -4800,6 +5368,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4800
5368
|
contractAddress?: any;
|
|
4801
5369
|
msgSender?: any;
|
|
4802
5370
|
} | null;
|
|
5371
|
+
gasUsedByPrivate: {
|
|
5372
|
+
daGas: string | number | bigint;
|
|
5373
|
+
l2Gas: string | number | bigint;
|
|
5374
|
+
};
|
|
4803
5375
|
};
|
|
4804
5376
|
contractInstances: {
|
|
4805
5377
|
salt: string;
|