@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
package/dest/avm/avm.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Fr } from '@aztec/foundation/fields';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { AztecAddress } from '../aztec-address/index.js';
|
|
4
|
+
import { Gas } from '../gas/gas.js';
|
|
5
|
+
import { GasSettings } from '../gas/gas_settings.js';
|
|
4
6
|
import { PublicKeys } from '../keys/public_keys.js';
|
|
5
7
|
import { AppendOnlyTreeSnapshot } from '../trees/append_only_tree_snapshot.js';
|
|
6
8
|
import { MerkleTreeId } from '../trees/merkle_tree_id.js';
|
|
@@ -1746,6 +1748,7 @@ export declare class AvmEnqueuedCallHint {
|
|
|
1746
1748
|
export declare class AvmTxHint {
|
|
1747
1749
|
readonly hash: string;
|
|
1748
1750
|
readonly globalVariables: GlobalVariables;
|
|
1751
|
+
readonly gasSettings: GasSettings;
|
|
1749
1752
|
readonly nonRevertibleAccumulatedData: {
|
|
1750
1753
|
noteHashes: Fr[];
|
|
1751
1754
|
nullifiers: Fr[];
|
|
@@ -1757,13 +1760,14 @@ export declare class AvmTxHint {
|
|
|
1757
1760
|
readonly setupEnqueuedCalls: AvmEnqueuedCallHint[];
|
|
1758
1761
|
readonly appLogicEnqueuedCalls: AvmEnqueuedCallHint[];
|
|
1759
1762
|
readonly teardownEnqueuedCall: AvmEnqueuedCallHint | null;
|
|
1760
|
-
|
|
1763
|
+
readonly gasUsedByPrivate: Gas;
|
|
1764
|
+
constructor(hash: string, globalVariables: GlobalVariables, gasSettings: GasSettings, nonRevertibleAccumulatedData: {
|
|
1761
1765
|
noteHashes: Fr[];
|
|
1762
1766
|
nullifiers: Fr[];
|
|
1763
1767
|
}, revertibleAccumulatedData: {
|
|
1764
1768
|
noteHashes: Fr[];
|
|
1765
1769
|
nullifiers: Fr[];
|
|
1766
|
-
}, setupEnqueuedCalls: AvmEnqueuedCallHint[], appLogicEnqueuedCalls: AvmEnqueuedCallHint[], teardownEnqueuedCall: AvmEnqueuedCallHint | null);
|
|
1770
|
+
}, setupEnqueuedCalls: AvmEnqueuedCallHint[], appLogicEnqueuedCalls: AvmEnqueuedCallHint[], teardownEnqueuedCall: AvmEnqueuedCallHint | null, gasUsedByPrivate: Gas);
|
|
1767
1771
|
static fromTx(tx: Tx): Promise<AvmTxHint>;
|
|
1768
1772
|
static empty(): AvmTxHint;
|
|
1769
1773
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
@@ -1823,6 +1827,99 @@ export declare class AvmTxHint {
|
|
|
1823
1827
|
coinbase?: any;
|
|
1824
1828
|
feeRecipient?: any;
|
|
1825
1829
|
}>;
|
|
1830
|
+
gasSettings: z.ZodEffects<z.ZodObject<{
|
|
1831
|
+
gasLimits: z.ZodEffects<z.ZodObject<{
|
|
1832
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1833
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1834
|
+
}, "strip", z.ZodTypeAny, {
|
|
1835
|
+
daGas: number;
|
|
1836
|
+
l2Gas: number;
|
|
1837
|
+
}, {
|
|
1838
|
+
daGas: string | number | bigint;
|
|
1839
|
+
l2Gas: string | number | bigint;
|
|
1840
|
+
}>, Gas, {
|
|
1841
|
+
daGas: string | number | bigint;
|
|
1842
|
+
l2Gas: string | number | bigint;
|
|
1843
|
+
}>;
|
|
1844
|
+
teardownGasLimits: z.ZodEffects<z.ZodObject<{
|
|
1845
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1846
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
1847
|
+
}, "strip", z.ZodTypeAny, {
|
|
1848
|
+
daGas: number;
|
|
1849
|
+
l2Gas: number;
|
|
1850
|
+
}, {
|
|
1851
|
+
daGas: string | number | bigint;
|
|
1852
|
+
l2Gas: string | number | bigint;
|
|
1853
|
+
}>, Gas, {
|
|
1854
|
+
daGas: string | number | bigint;
|
|
1855
|
+
l2Gas: string | number | bigint;
|
|
1856
|
+
}>;
|
|
1857
|
+
maxFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
1858
|
+
feePerDaGas: z.ZodType<Fr, any, string>;
|
|
1859
|
+
feePerL2Gas: z.ZodType<Fr, any, string>;
|
|
1860
|
+
}, "strip", z.ZodTypeAny, {
|
|
1861
|
+
feePerDaGas: Fr;
|
|
1862
|
+
feePerL2Gas: Fr;
|
|
1863
|
+
}, {
|
|
1864
|
+
feePerDaGas: string;
|
|
1865
|
+
feePerL2Gas: string;
|
|
1866
|
+
}>, import("../gas/gas_fees.js").GasFees, {
|
|
1867
|
+
feePerDaGas: string;
|
|
1868
|
+
feePerL2Gas: string;
|
|
1869
|
+
}>;
|
|
1870
|
+
maxPriorityFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
1871
|
+
feePerDaGas: z.ZodType<Fr, any, string>;
|
|
1872
|
+
feePerL2Gas: z.ZodType<Fr, any, string>;
|
|
1873
|
+
}, "strip", z.ZodTypeAny, {
|
|
1874
|
+
feePerDaGas: Fr;
|
|
1875
|
+
feePerL2Gas: Fr;
|
|
1876
|
+
}, {
|
|
1877
|
+
feePerDaGas: string;
|
|
1878
|
+
feePerL2Gas: string;
|
|
1879
|
+
}>, import("../gas/gas_fees.js").GasFees, {
|
|
1880
|
+
feePerDaGas: string;
|
|
1881
|
+
feePerL2Gas: string;
|
|
1882
|
+
}>;
|
|
1883
|
+
}, "strip", z.ZodTypeAny, {
|
|
1884
|
+
gasLimits: Gas;
|
|
1885
|
+
teardownGasLimits: Gas;
|
|
1886
|
+
maxFeesPerGas: import("../gas/gas_fees.js").GasFees;
|
|
1887
|
+
maxPriorityFeesPerGas: import("../gas/gas_fees.js").GasFees;
|
|
1888
|
+
}, {
|
|
1889
|
+
gasLimits: {
|
|
1890
|
+
daGas: string | number | bigint;
|
|
1891
|
+
l2Gas: string | number | bigint;
|
|
1892
|
+
};
|
|
1893
|
+
teardownGasLimits: {
|
|
1894
|
+
daGas: string | number | bigint;
|
|
1895
|
+
l2Gas: string | number | bigint;
|
|
1896
|
+
};
|
|
1897
|
+
maxFeesPerGas: {
|
|
1898
|
+
feePerDaGas: string;
|
|
1899
|
+
feePerL2Gas: string;
|
|
1900
|
+
};
|
|
1901
|
+
maxPriorityFeesPerGas: {
|
|
1902
|
+
feePerDaGas: string;
|
|
1903
|
+
feePerL2Gas: string;
|
|
1904
|
+
};
|
|
1905
|
+
}>, GasSettings, {
|
|
1906
|
+
gasLimits: {
|
|
1907
|
+
daGas: string | number | bigint;
|
|
1908
|
+
l2Gas: string | number | bigint;
|
|
1909
|
+
};
|
|
1910
|
+
teardownGasLimits: {
|
|
1911
|
+
daGas: string | number | bigint;
|
|
1912
|
+
l2Gas: string | number | bigint;
|
|
1913
|
+
};
|
|
1914
|
+
maxFeesPerGas: {
|
|
1915
|
+
feePerDaGas: string;
|
|
1916
|
+
feePerL2Gas: string;
|
|
1917
|
+
};
|
|
1918
|
+
maxPriorityFeesPerGas: {
|
|
1919
|
+
feePerDaGas: string;
|
|
1920
|
+
feePerL2Gas: string;
|
|
1921
|
+
};
|
|
1922
|
+
}>;
|
|
1826
1923
|
nonRevertibleAccumulatedData: z.ZodObject<{
|
|
1827
1924
|
noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
1828
1925
|
nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
@@ -1906,9 +2003,23 @@ export declare class AvmTxHint {
|
|
|
1906
2003
|
contractAddress?: any;
|
|
1907
2004
|
msgSender?: any;
|
|
1908
2005
|
}>>;
|
|
2006
|
+
gasUsedByPrivate: z.ZodEffects<z.ZodObject<{
|
|
2007
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2008
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2009
|
+
}, "strip", z.ZodTypeAny, {
|
|
2010
|
+
daGas: number;
|
|
2011
|
+
l2Gas: number;
|
|
2012
|
+
}, {
|
|
2013
|
+
daGas: string | number | bigint;
|
|
2014
|
+
l2Gas: string | number | bigint;
|
|
2015
|
+
}>, Gas, {
|
|
2016
|
+
daGas: string | number | bigint;
|
|
2017
|
+
l2Gas: string | number | bigint;
|
|
2018
|
+
}>;
|
|
1909
2019
|
}, "strip", z.ZodTypeAny, {
|
|
1910
2020
|
hash: string;
|
|
1911
2021
|
globalVariables: GlobalVariables;
|
|
2022
|
+
gasSettings: GasSettings;
|
|
1912
2023
|
nonRevertibleAccumulatedData: {
|
|
1913
2024
|
noteHashes: Fr[];
|
|
1914
2025
|
nullifiers: Fr[];
|
|
@@ -1920,6 +2031,7 @@ export declare class AvmTxHint {
|
|
|
1920
2031
|
setupEnqueuedCalls: AvmEnqueuedCallHint[];
|
|
1921
2032
|
appLogicEnqueuedCalls: AvmEnqueuedCallHint[];
|
|
1922
2033
|
teardownEnqueuedCall: AvmEnqueuedCallHint | null;
|
|
2034
|
+
gasUsedByPrivate: Gas;
|
|
1923
2035
|
}, {
|
|
1924
2036
|
hash: string;
|
|
1925
2037
|
globalVariables: {
|
|
@@ -1935,6 +2047,24 @@ export declare class AvmTxHint {
|
|
|
1935
2047
|
coinbase?: any;
|
|
1936
2048
|
feeRecipient?: any;
|
|
1937
2049
|
};
|
|
2050
|
+
gasSettings: {
|
|
2051
|
+
gasLimits: {
|
|
2052
|
+
daGas: string | number | bigint;
|
|
2053
|
+
l2Gas: string | number | bigint;
|
|
2054
|
+
};
|
|
2055
|
+
teardownGasLimits: {
|
|
2056
|
+
daGas: string | number | bigint;
|
|
2057
|
+
l2Gas: string | number | bigint;
|
|
2058
|
+
};
|
|
2059
|
+
maxFeesPerGas: {
|
|
2060
|
+
feePerDaGas: string;
|
|
2061
|
+
feePerL2Gas: string;
|
|
2062
|
+
};
|
|
2063
|
+
maxPriorityFeesPerGas: {
|
|
2064
|
+
feePerDaGas: string;
|
|
2065
|
+
feePerL2Gas: string;
|
|
2066
|
+
};
|
|
2067
|
+
};
|
|
1938
2068
|
nonRevertibleAccumulatedData: {
|
|
1939
2069
|
noteHashes: string[];
|
|
1940
2070
|
nullifiers: string[];
|
|
@@ -1961,6 +2091,10 @@ export declare class AvmTxHint {
|
|
|
1961
2091
|
contractAddress?: any;
|
|
1962
2092
|
msgSender?: any;
|
|
1963
2093
|
} | null;
|
|
2094
|
+
gasUsedByPrivate: {
|
|
2095
|
+
daGas: string | number | bigint;
|
|
2096
|
+
l2Gas: string | number | bigint;
|
|
2097
|
+
};
|
|
1964
2098
|
}>, AvmTxHint, {
|
|
1965
2099
|
hash: string;
|
|
1966
2100
|
globalVariables: {
|
|
@@ -1976,6 +2110,24 @@ export declare class AvmTxHint {
|
|
|
1976
2110
|
coinbase?: any;
|
|
1977
2111
|
feeRecipient?: any;
|
|
1978
2112
|
};
|
|
2113
|
+
gasSettings: {
|
|
2114
|
+
gasLimits: {
|
|
2115
|
+
daGas: string | number | bigint;
|
|
2116
|
+
l2Gas: string | number | bigint;
|
|
2117
|
+
};
|
|
2118
|
+
teardownGasLimits: {
|
|
2119
|
+
daGas: string | number | bigint;
|
|
2120
|
+
l2Gas: string | number | bigint;
|
|
2121
|
+
};
|
|
2122
|
+
maxFeesPerGas: {
|
|
2123
|
+
feePerDaGas: string;
|
|
2124
|
+
feePerL2Gas: string;
|
|
2125
|
+
};
|
|
2126
|
+
maxPriorityFeesPerGas: {
|
|
2127
|
+
feePerDaGas: string;
|
|
2128
|
+
feePerL2Gas: string;
|
|
2129
|
+
};
|
|
2130
|
+
};
|
|
1979
2131
|
nonRevertibleAccumulatedData: {
|
|
1980
2132
|
noteHashes: string[];
|
|
1981
2133
|
nullifiers: string[];
|
|
@@ -2002,6 +2154,10 @@ export declare class AvmTxHint {
|
|
|
2002
2154
|
contractAddress?: any;
|
|
2003
2155
|
msgSender?: any;
|
|
2004
2156
|
} | null;
|
|
2157
|
+
gasUsedByPrivate: {
|
|
2158
|
+
daGas: string | number | bigint;
|
|
2159
|
+
l2Gas: string | number | bigint;
|
|
2160
|
+
};
|
|
2005
2161
|
}>;
|
|
2006
2162
|
}
|
|
2007
2163
|
export declare class AvmExecutionHints {
|
|
@@ -2081,6 +2237,99 @@ export declare class AvmExecutionHints {
|
|
|
2081
2237
|
coinbase?: any;
|
|
2082
2238
|
feeRecipient?: any;
|
|
2083
2239
|
}>;
|
|
2240
|
+
gasSettings: z.ZodEffects<z.ZodObject<{
|
|
2241
|
+
gasLimits: z.ZodEffects<z.ZodObject<{
|
|
2242
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2243
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2244
|
+
}, "strip", z.ZodTypeAny, {
|
|
2245
|
+
daGas: number;
|
|
2246
|
+
l2Gas: number;
|
|
2247
|
+
}, {
|
|
2248
|
+
daGas: string | number | bigint;
|
|
2249
|
+
l2Gas: string | number | bigint;
|
|
2250
|
+
}>, Gas, {
|
|
2251
|
+
daGas: string | number | bigint;
|
|
2252
|
+
l2Gas: string | number | bigint;
|
|
2253
|
+
}>;
|
|
2254
|
+
teardownGasLimits: z.ZodEffects<z.ZodObject<{
|
|
2255
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2256
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2257
|
+
}, "strip", z.ZodTypeAny, {
|
|
2258
|
+
daGas: number;
|
|
2259
|
+
l2Gas: number;
|
|
2260
|
+
}, {
|
|
2261
|
+
daGas: string | number | bigint;
|
|
2262
|
+
l2Gas: string | number | bigint;
|
|
2263
|
+
}>, Gas, {
|
|
2264
|
+
daGas: string | number | bigint;
|
|
2265
|
+
l2Gas: string | number | bigint;
|
|
2266
|
+
}>;
|
|
2267
|
+
maxFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
2268
|
+
feePerDaGas: z.ZodType<Fr, any, string>;
|
|
2269
|
+
feePerL2Gas: z.ZodType<Fr, any, string>;
|
|
2270
|
+
}, "strip", z.ZodTypeAny, {
|
|
2271
|
+
feePerDaGas: Fr;
|
|
2272
|
+
feePerL2Gas: Fr;
|
|
2273
|
+
}, {
|
|
2274
|
+
feePerDaGas: string;
|
|
2275
|
+
feePerL2Gas: string;
|
|
2276
|
+
}>, import("../gas/gas_fees.js").GasFees, {
|
|
2277
|
+
feePerDaGas: string;
|
|
2278
|
+
feePerL2Gas: string;
|
|
2279
|
+
}>;
|
|
2280
|
+
maxPriorityFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
2281
|
+
feePerDaGas: z.ZodType<Fr, any, string>;
|
|
2282
|
+
feePerL2Gas: z.ZodType<Fr, any, string>;
|
|
2283
|
+
}, "strip", z.ZodTypeAny, {
|
|
2284
|
+
feePerDaGas: Fr;
|
|
2285
|
+
feePerL2Gas: Fr;
|
|
2286
|
+
}, {
|
|
2287
|
+
feePerDaGas: string;
|
|
2288
|
+
feePerL2Gas: string;
|
|
2289
|
+
}>, import("../gas/gas_fees.js").GasFees, {
|
|
2290
|
+
feePerDaGas: string;
|
|
2291
|
+
feePerL2Gas: string;
|
|
2292
|
+
}>;
|
|
2293
|
+
}, "strip", z.ZodTypeAny, {
|
|
2294
|
+
gasLimits: Gas;
|
|
2295
|
+
teardownGasLimits: Gas;
|
|
2296
|
+
maxFeesPerGas: import("../gas/gas_fees.js").GasFees;
|
|
2297
|
+
maxPriorityFeesPerGas: import("../gas/gas_fees.js").GasFees;
|
|
2298
|
+
}, {
|
|
2299
|
+
gasLimits: {
|
|
2300
|
+
daGas: string | number | bigint;
|
|
2301
|
+
l2Gas: string | number | bigint;
|
|
2302
|
+
};
|
|
2303
|
+
teardownGasLimits: {
|
|
2304
|
+
daGas: string | number | bigint;
|
|
2305
|
+
l2Gas: string | number | bigint;
|
|
2306
|
+
};
|
|
2307
|
+
maxFeesPerGas: {
|
|
2308
|
+
feePerDaGas: string;
|
|
2309
|
+
feePerL2Gas: string;
|
|
2310
|
+
};
|
|
2311
|
+
maxPriorityFeesPerGas: {
|
|
2312
|
+
feePerDaGas: string;
|
|
2313
|
+
feePerL2Gas: string;
|
|
2314
|
+
};
|
|
2315
|
+
}>, GasSettings, {
|
|
2316
|
+
gasLimits: {
|
|
2317
|
+
daGas: string | number | bigint;
|
|
2318
|
+
l2Gas: string | number | bigint;
|
|
2319
|
+
};
|
|
2320
|
+
teardownGasLimits: {
|
|
2321
|
+
daGas: string | number | bigint;
|
|
2322
|
+
l2Gas: string | number | bigint;
|
|
2323
|
+
};
|
|
2324
|
+
maxFeesPerGas: {
|
|
2325
|
+
feePerDaGas: string;
|
|
2326
|
+
feePerL2Gas: string;
|
|
2327
|
+
};
|
|
2328
|
+
maxPriorityFeesPerGas: {
|
|
2329
|
+
feePerDaGas: string;
|
|
2330
|
+
feePerL2Gas: string;
|
|
2331
|
+
};
|
|
2332
|
+
}>;
|
|
2084
2333
|
nonRevertibleAccumulatedData: z.ZodObject<{
|
|
2085
2334
|
noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
2086
2335
|
nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
@@ -2164,9 +2413,23 @@ export declare class AvmExecutionHints {
|
|
|
2164
2413
|
contractAddress?: any;
|
|
2165
2414
|
msgSender?: any;
|
|
2166
2415
|
}>>;
|
|
2416
|
+
gasUsedByPrivate: z.ZodEffects<z.ZodObject<{
|
|
2417
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2418
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
2419
|
+
}, "strip", z.ZodTypeAny, {
|
|
2420
|
+
daGas: number;
|
|
2421
|
+
l2Gas: number;
|
|
2422
|
+
}, {
|
|
2423
|
+
daGas: string | number | bigint;
|
|
2424
|
+
l2Gas: string | number | bigint;
|
|
2425
|
+
}>, Gas, {
|
|
2426
|
+
daGas: string | number | bigint;
|
|
2427
|
+
l2Gas: string | number | bigint;
|
|
2428
|
+
}>;
|
|
2167
2429
|
}, "strip", z.ZodTypeAny, {
|
|
2168
2430
|
hash: string;
|
|
2169
2431
|
globalVariables: GlobalVariables;
|
|
2432
|
+
gasSettings: GasSettings;
|
|
2170
2433
|
nonRevertibleAccumulatedData: {
|
|
2171
2434
|
noteHashes: Fr[];
|
|
2172
2435
|
nullifiers: Fr[];
|
|
@@ -2178,6 +2441,7 @@ export declare class AvmExecutionHints {
|
|
|
2178
2441
|
setupEnqueuedCalls: AvmEnqueuedCallHint[];
|
|
2179
2442
|
appLogicEnqueuedCalls: AvmEnqueuedCallHint[];
|
|
2180
2443
|
teardownEnqueuedCall: AvmEnqueuedCallHint | null;
|
|
2444
|
+
gasUsedByPrivate: Gas;
|
|
2181
2445
|
}, {
|
|
2182
2446
|
hash: string;
|
|
2183
2447
|
globalVariables: {
|
|
@@ -2193,6 +2457,24 @@ export declare class AvmExecutionHints {
|
|
|
2193
2457
|
coinbase?: any;
|
|
2194
2458
|
feeRecipient?: any;
|
|
2195
2459
|
};
|
|
2460
|
+
gasSettings: {
|
|
2461
|
+
gasLimits: {
|
|
2462
|
+
daGas: string | number | bigint;
|
|
2463
|
+
l2Gas: string | number | bigint;
|
|
2464
|
+
};
|
|
2465
|
+
teardownGasLimits: {
|
|
2466
|
+
daGas: string | number | bigint;
|
|
2467
|
+
l2Gas: string | number | bigint;
|
|
2468
|
+
};
|
|
2469
|
+
maxFeesPerGas: {
|
|
2470
|
+
feePerDaGas: string;
|
|
2471
|
+
feePerL2Gas: string;
|
|
2472
|
+
};
|
|
2473
|
+
maxPriorityFeesPerGas: {
|
|
2474
|
+
feePerDaGas: string;
|
|
2475
|
+
feePerL2Gas: string;
|
|
2476
|
+
};
|
|
2477
|
+
};
|
|
2196
2478
|
nonRevertibleAccumulatedData: {
|
|
2197
2479
|
noteHashes: string[];
|
|
2198
2480
|
nullifiers: string[];
|
|
@@ -2219,6 +2501,10 @@ export declare class AvmExecutionHints {
|
|
|
2219
2501
|
contractAddress?: any;
|
|
2220
2502
|
msgSender?: any;
|
|
2221
2503
|
} | null;
|
|
2504
|
+
gasUsedByPrivate: {
|
|
2505
|
+
daGas: string | number | bigint;
|
|
2506
|
+
l2Gas: string | number | bigint;
|
|
2507
|
+
};
|
|
2222
2508
|
}>, AvmTxHint, {
|
|
2223
2509
|
hash: string;
|
|
2224
2510
|
globalVariables: {
|
|
@@ -2234,6 +2520,24 @@ export declare class AvmExecutionHints {
|
|
|
2234
2520
|
coinbase?: any;
|
|
2235
2521
|
feeRecipient?: any;
|
|
2236
2522
|
};
|
|
2523
|
+
gasSettings: {
|
|
2524
|
+
gasLimits: {
|
|
2525
|
+
daGas: string | number | bigint;
|
|
2526
|
+
l2Gas: string | number | bigint;
|
|
2527
|
+
};
|
|
2528
|
+
teardownGasLimits: {
|
|
2529
|
+
daGas: string | number | bigint;
|
|
2530
|
+
l2Gas: string | number | bigint;
|
|
2531
|
+
};
|
|
2532
|
+
maxFeesPerGas: {
|
|
2533
|
+
feePerDaGas: string;
|
|
2534
|
+
feePerL2Gas: string;
|
|
2535
|
+
};
|
|
2536
|
+
maxPriorityFeesPerGas: {
|
|
2537
|
+
feePerDaGas: string;
|
|
2538
|
+
feePerL2Gas: string;
|
|
2539
|
+
};
|
|
2540
|
+
};
|
|
2237
2541
|
nonRevertibleAccumulatedData: {
|
|
2238
2542
|
noteHashes: string[];
|
|
2239
2543
|
nullifiers: string[];
|
|
@@ -2260,6 +2564,10 @@ export declare class AvmExecutionHints {
|
|
|
2260
2564
|
contractAddress?: any;
|
|
2261
2565
|
msgSender?: any;
|
|
2262
2566
|
} | null;
|
|
2567
|
+
gasUsedByPrivate: {
|
|
2568
|
+
daGas: string | number | bigint;
|
|
2569
|
+
l2Gas: string | number | bigint;
|
|
2570
|
+
};
|
|
2263
2571
|
}>;
|
|
2264
2572
|
contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
2265
2573
|
address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
@@ -4003,6 +4311,24 @@ export declare class AvmExecutionHints {
|
|
|
4003
4311
|
coinbase?: any;
|
|
4004
4312
|
feeRecipient?: any;
|
|
4005
4313
|
};
|
|
4314
|
+
gasSettings: {
|
|
4315
|
+
gasLimits: {
|
|
4316
|
+
daGas: string | number | bigint;
|
|
4317
|
+
l2Gas: string | number | bigint;
|
|
4318
|
+
};
|
|
4319
|
+
teardownGasLimits: {
|
|
4320
|
+
daGas: string | number | bigint;
|
|
4321
|
+
l2Gas: string | number | bigint;
|
|
4322
|
+
};
|
|
4323
|
+
maxFeesPerGas: {
|
|
4324
|
+
feePerDaGas: string;
|
|
4325
|
+
feePerL2Gas: string;
|
|
4326
|
+
};
|
|
4327
|
+
maxPriorityFeesPerGas: {
|
|
4328
|
+
feePerDaGas: string;
|
|
4329
|
+
feePerL2Gas: string;
|
|
4330
|
+
};
|
|
4331
|
+
};
|
|
4006
4332
|
nonRevertibleAccumulatedData: {
|
|
4007
4333
|
noteHashes: string[];
|
|
4008
4334
|
nullifiers: string[];
|
|
@@ -4029,6 +4355,10 @@ export declare class AvmExecutionHints {
|
|
|
4029
4355
|
contractAddress?: any;
|
|
4030
4356
|
msgSender?: any;
|
|
4031
4357
|
} | null;
|
|
4358
|
+
gasUsedByPrivate: {
|
|
4359
|
+
daGas: string | number | bigint;
|
|
4360
|
+
l2Gas: string | number | bigint;
|
|
4361
|
+
};
|
|
4032
4362
|
};
|
|
4033
4363
|
contractInstances: {
|
|
4034
4364
|
salt: string;
|
|
@@ -4330,6 +4660,24 @@ export declare class AvmExecutionHints {
|
|
|
4330
4660
|
coinbase?: any;
|
|
4331
4661
|
feeRecipient?: any;
|
|
4332
4662
|
};
|
|
4663
|
+
gasSettings: {
|
|
4664
|
+
gasLimits: {
|
|
4665
|
+
daGas: string | number | bigint;
|
|
4666
|
+
l2Gas: string | number | bigint;
|
|
4667
|
+
};
|
|
4668
|
+
teardownGasLimits: {
|
|
4669
|
+
daGas: string | number | bigint;
|
|
4670
|
+
l2Gas: string | number | bigint;
|
|
4671
|
+
};
|
|
4672
|
+
maxFeesPerGas: {
|
|
4673
|
+
feePerDaGas: string;
|
|
4674
|
+
feePerL2Gas: string;
|
|
4675
|
+
};
|
|
4676
|
+
maxPriorityFeesPerGas: {
|
|
4677
|
+
feePerDaGas: string;
|
|
4678
|
+
feePerL2Gas: string;
|
|
4679
|
+
};
|
|
4680
|
+
};
|
|
4333
4681
|
nonRevertibleAccumulatedData: {
|
|
4334
4682
|
noteHashes: string[];
|
|
4335
4683
|
nullifiers: string[];
|
|
@@ -4356,6 +4704,10 @@ export declare class AvmExecutionHints {
|
|
|
4356
4704
|
contractAddress?: any;
|
|
4357
4705
|
msgSender?: any;
|
|
4358
4706
|
} | null;
|
|
4707
|
+
gasUsedByPrivate: {
|
|
4708
|
+
daGas: string | number | bigint;
|
|
4709
|
+
l2Gas: string | number | bigint;
|
|
4710
|
+
};
|
|
4359
4711
|
};
|
|
4360
4712
|
contractInstances: {
|
|
4361
4713
|
salt: string;
|
|
@@ -4707,6 +5059,99 @@ export declare class AvmCircuitInputs {
|
|
|
4707
5059
|
coinbase?: any;
|
|
4708
5060
|
feeRecipient?: any;
|
|
4709
5061
|
}>;
|
|
5062
|
+
gasSettings: z.ZodEffects<z.ZodObject<{
|
|
5063
|
+
gasLimits: z.ZodEffects<z.ZodObject<{
|
|
5064
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
5065
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
5066
|
+
}, "strip", z.ZodTypeAny, {
|
|
5067
|
+
daGas: number;
|
|
5068
|
+
l2Gas: number;
|
|
5069
|
+
}, {
|
|
5070
|
+
daGas: string | number | bigint;
|
|
5071
|
+
l2Gas: string | number | bigint;
|
|
5072
|
+
}>, Gas, {
|
|
5073
|
+
daGas: string | number | bigint;
|
|
5074
|
+
l2Gas: string | number | bigint;
|
|
5075
|
+
}>;
|
|
5076
|
+
teardownGasLimits: z.ZodEffects<z.ZodObject<{
|
|
5077
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
5078
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
5079
|
+
}, "strip", z.ZodTypeAny, {
|
|
5080
|
+
daGas: number;
|
|
5081
|
+
l2Gas: number;
|
|
5082
|
+
}, {
|
|
5083
|
+
daGas: string | number | bigint;
|
|
5084
|
+
l2Gas: string | number | bigint;
|
|
5085
|
+
}>, Gas, {
|
|
5086
|
+
daGas: string | number | bigint;
|
|
5087
|
+
l2Gas: string | number | bigint;
|
|
5088
|
+
}>;
|
|
5089
|
+
maxFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
5090
|
+
feePerDaGas: z.ZodType<Fr, any, string>;
|
|
5091
|
+
feePerL2Gas: z.ZodType<Fr, any, string>;
|
|
5092
|
+
}, "strip", z.ZodTypeAny, {
|
|
5093
|
+
feePerDaGas: Fr;
|
|
5094
|
+
feePerL2Gas: Fr;
|
|
5095
|
+
}, {
|
|
5096
|
+
feePerDaGas: string;
|
|
5097
|
+
feePerL2Gas: string;
|
|
5098
|
+
}>, import("../gas/gas_fees.js").GasFees, {
|
|
5099
|
+
feePerDaGas: string;
|
|
5100
|
+
feePerL2Gas: string;
|
|
5101
|
+
}>;
|
|
5102
|
+
maxPriorityFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
5103
|
+
feePerDaGas: z.ZodType<Fr, any, string>;
|
|
5104
|
+
feePerL2Gas: z.ZodType<Fr, any, string>;
|
|
5105
|
+
}, "strip", z.ZodTypeAny, {
|
|
5106
|
+
feePerDaGas: Fr;
|
|
5107
|
+
feePerL2Gas: Fr;
|
|
5108
|
+
}, {
|
|
5109
|
+
feePerDaGas: string;
|
|
5110
|
+
feePerL2Gas: string;
|
|
5111
|
+
}>, import("../gas/gas_fees.js").GasFees, {
|
|
5112
|
+
feePerDaGas: string;
|
|
5113
|
+
feePerL2Gas: string;
|
|
5114
|
+
}>;
|
|
5115
|
+
}, "strip", z.ZodTypeAny, {
|
|
5116
|
+
gasLimits: Gas;
|
|
5117
|
+
teardownGasLimits: Gas;
|
|
5118
|
+
maxFeesPerGas: import("../gas/gas_fees.js").GasFees;
|
|
5119
|
+
maxPriorityFeesPerGas: import("../gas/gas_fees.js").GasFees;
|
|
5120
|
+
}, {
|
|
5121
|
+
gasLimits: {
|
|
5122
|
+
daGas: string | number | bigint;
|
|
5123
|
+
l2Gas: string | number | bigint;
|
|
5124
|
+
};
|
|
5125
|
+
teardownGasLimits: {
|
|
5126
|
+
daGas: string | number | bigint;
|
|
5127
|
+
l2Gas: string | number | bigint;
|
|
5128
|
+
};
|
|
5129
|
+
maxFeesPerGas: {
|
|
5130
|
+
feePerDaGas: string;
|
|
5131
|
+
feePerL2Gas: string;
|
|
5132
|
+
};
|
|
5133
|
+
maxPriorityFeesPerGas: {
|
|
5134
|
+
feePerDaGas: string;
|
|
5135
|
+
feePerL2Gas: string;
|
|
5136
|
+
};
|
|
5137
|
+
}>, GasSettings, {
|
|
5138
|
+
gasLimits: {
|
|
5139
|
+
daGas: string | number | bigint;
|
|
5140
|
+
l2Gas: string | number | bigint;
|
|
5141
|
+
};
|
|
5142
|
+
teardownGasLimits: {
|
|
5143
|
+
daGas: string | number | bigint;
|
|
5144
|
+
l2Gas: string | number | bigint;
|
|
5145
|
+
};
|
|
5146
|
+
maxFeesPerGas: {
|
|
5147
|
+
feePerDaGas: string;
|
|
5148
|
+
feePerL2Gas: string;
|
|
5149
|
+
};
|
|
5150
|
+
maxPriorityFeesPerGas: {
|
|
5151
|
+
feePerDaGas: string;
|
|
5152
|
+
feePerL2Gas: string;
|
|
5153
|
+
};
|
|
5154
|
+
}>;
|
|
4710
5155
|
nonRevertibleAccumulatedData: z.ZodObject<{
|
|
4711
5156
|
noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
4712
5157
|
nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
@@ -4790,9 +5235,23 @@ export declare class AvmCircuitInputs {
|
|
|
4790
5235
|
contractAddress?: any;
|
|
4791
5236
|
msgSender?: any;
|
|
4792
5237
|
}>>;
|
|
5238
|
+
gasUsedByPrivate: z.ZodEffects<z.ZodObject<{
|
|
5239
|
+
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
5240
|
+
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
5241
|
+
}, "strip", z.ZodTypeAny, {
|
|
5242
|
+
daGas: number;
|
|
5243
|
+
l2Gas: number;
|
|
5244
|
+
}, {
|
|
5245
|
+
daGas: string | number | bigint;
|
|
5246
|
+
l2Gas: string | number | bigint;
|
|
5247
|
+
}>, Gas, {
|
|
5248
|
+
daGas: string | number | bigint;
|
|
5249
|
+
l2Gas: string | number | bigint;
|
|
5250
|
+
}>;
|
|
4793
5251
|
}, "strip", z.ZodTypeAny, {
|
|
4794
5252
|
hash: string;
|
|
4795
5253
|
globalVariables: GlobalVariables;
|
|
5254
|
+
gasSettings: GasSettings;
|
|
4796
5255
|
nonRevertibleAccumulatedData: {
|
|
4797
5256
|
noteHashes: Fr[];
|
|
4798
5257
|
nullifiers: Fr[];
|
|
@@ -4804,6 +5263,7 @@ export declare class AvmCircuitInputs {
|
|
|
4804
5263
|
setupEnqueuedCalls: AvmEnqueuedCallHint[];
|
|
4805
5264
|
appLogicEnqueuedCalls: AvmEnqueuedCallHint[];
|
|
4806
5265
|
teardownEnqueuedCall: AvmEnqueuedCallHint | null;
|
|
5266
|
+
gasUsedByPrivate: Gas;
|
|
4807
5267
|
}, {
|
|
4808
5268
|
hash: string;
|
|
4809
5269
|
globalVariables: {
|
|
@@ -4819,6 +5279,24 @@ export declare class AvmCircuitInputs {
|
|
|
4819
5279
|
coinbase?: any;
|
|
4820
5280
|
feeRecipient?: any;
|
|
4821
5281
|
};
|
|
5282
|
+
gasSettings: {
|
|
5283
|
+
gasLimits: {
|
|
5284
|
+
daGas: string | number | bigint;
|
|
5285
|
+
l2Gas: string | number | bigint;
|
|
5286
|
+
};
|
|
5287
|
+
teardownGasLimits: {
|
|
5288
|
+
daGas: string | number | bigint;
|
|
5289
|
+
l2Gas: string | number | bigint;
|
|
5290
|
+
};
|
|
5291
|
+
maxFeesPerGas: {
|
|
5292
|
+
feePerDaGas: string;
|
|
5293
|
+
feePerL2Gas: string;
|
|
5294
|
+
};
|
|
5295
|
+
maxPriorityFeesPerGas: {
|
|
5296
|
+
feePerDaGas: string;
|
|
5297
|
+
feePerL2Gas: string;
|
|
5298
|
+
};
|
|
5299
|
+
};
|
|
4822
5300
|
nonRevertibleAccumulatedData: {
|
|
4823
5301
|
noteHashes: string[];
|
|
4824
5302
|
nullifiers: string[];
|
|
@@ -4845,6 +5323,10 @@ export declare class AvmCircuitInputs {
|
|
|
4845
5323
|
contractAddress?: any;
|
|
4846
5324
|
msgSender?: any;
|
|
4847
5325
|
} | null;
|
|
5326
|
+
gasUsedByPrivate: {
|
|
5327
|
+
daGas: string | number | bigint;
|
|
5328
|
+
l2Gas: string | number | bigint;
|
|
5329
|
+
};
|
|
4848
5330
|
}>, AvmTxHint, {
|
|
4849
5331
|
hash: string;
|
|
4850
5332
|
globalVariables: {
|
|
@@ -4860,6 +5342,24 @@ export declare class AvmCircuitInputs {
|
|
|
4860
5342
|
coinbase?: any;
|
|
4861
5343
|
feeRecipient?: any;
|
|
4862
5344
|
};
|
|
5345
|
+
gasSettings: {
|
|
5346
|
+
gasLimits: {
|
|
5347
|
+
daGas: string | number | bigint;
|
|
5348
|
+
l2Gas: string | number | bigint;
|
|
5349
|
+
};
|
|
5350
|
+
teardownGasLimits: {
|
|
5351
|
+
daGas: string | number | bigint;
|
|
5352
|
+
l2Gas: string | number | bigint;
|
|
5353
|
+
};
|
|
5354
|
+
maxFeesPerGas: {
|
|
5355
|
+
feePerDaGas: string;
|
|
5356
|
+
feePerL2Gas: string;
|
|
5357
|
+
};
|
|
5358
|
+
maxPriorityFeesPerGas: {
|
|
5359
|
+
feePerDaGas: string;
|
|
5360
|
+
feePerL2Gas: string;
|
|
5361
|
+
};
|
|
5362
|
+
};
|
|
4863
5363
|
nonRevertibleAccumulatedData: {
|
|
4864
5364
|
noteHashes: string[];
|
|
4865
5365
|
nullifiers: string[];
|
|
@@ -4886,6 +5386,10 @@ export declare class AvmCircuitInputs {
|
|
|
4886
5386
|
contractAddress?: any;
|
|
4887
5387
|
msgSender?: any;
|
|
4888
5388
|
} | null;
|
|
5389
|
+
gasUsedByPrivate: {
|
|
5390
|
+
daGas: string | number | bigint;
|
|
5391
|
+
l2Gas: string | number | bigint;
|
|
5392
|
+
};
|
|
4889
5393
|
}>;
|
|
4890
5394
|
contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
4891
5395
|
address: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
@@ -6629,6 +7133,24 @@ export declare class AvmCircuitInputs {
|
|
|
6629
7133
|
coinbase?: any;
|
|
6630
7134
|
feeRecipient?: any;
|
|
6631
7135
|
};
|
|
7136
|
+
gasSettings: {
|
|
7137
|
+
gasLimits: {
|
|
7138
|
+
daGas: string | number | bigint;
|
|
7139
|
+
l2Gas: string | number | bigint;
|
|
7140
|
+
};
|
|
7141
|
+
teardownGasLimits: {
|
|
7142
|
+
daGas: string | number | bigint;
|
|
7143
|
+
l2Gas: string | number | bigint;
|
|
7144
|
+
};
|
|
7145
|
+
maxFeesPerGas: {
|
|
7146
|
+
feePerDaGas: string;
|
|
7147
|
+
feePerL2Gas: string;
|
|
7148
|
+
};
|
|
7149
|
+
maxPriorityFeesPerGas: {
|
|
7150
|
+
feePerDaGas: string;
|
|
7151
|
+
feePerL2Gas: string;
|
|
7152
|
+
};
|
|
7153
|
+
};
|
|
6632
7154
|
nonRevertibleAccumulatedData: {
|
|
6633
7155
|
noteHashes: string[];
|
|
6634
7156
|
nullifiers: string[];
|
|
@@ -6655,6 +7177,10 @@ export declare class AvmCircuitInputs {
|
|
|
6655
7177
|
contractAddress?: any;
|
|
6656
7178
|
msgSender?: any;
|
|
6657
7179
|
} | null;
|
|
7180
|
+
gasUsedByPrivate: {
|
|
7181
|
+
daGas: string | number | bigint;
|
|
7182
|
+
l2Gas: string | number | bigint;
|
|
7183
|
+
};
|
|
6658
7184
|
};
|
|
6659
7185
|
contractInstances: {
|
|
6660
7186
|
salt: string;
|
|
@@ -6956,6 +7482,24 @@ export declare class AvmCircuitInputs {
|
|
|
6956
7482
|
coinbase?: any;
|
|
6957
7483
|
feeRecipient?: any;
|
|
6958
7484
|
};
|
|
7485
|
+
gasSettings: {
|
|
7486
|
+
gasLimits: {
|
|
7487
|
+
daGas: string | number | bigint;
|
|
7488
|
+
l2Gas: string | number | bigint;
|
|
7489
|
+
};
|
|
7490
|
+
teardownGasLimits: {
|
|
7491
|
+
daGas: string | number | bigint;
|
|
7492
|
+
l2Gas: string | number | bigint;
|
|
7493
|
+
};
|
|
7494
|
+
maxFeesPerGas: {
|
|
7495
|
+
feePerDaGas: string;
|
|
7496
|
+
feePerL2Gas: string;
|
|
7497
|
+
};
|
|
7498
|
+
maxPriorityFeesPerGas: {
|
|
7499
|
+
feePerDaGas: string;
|
|
7500
|
+
feePerL2Gas: string;
|
|
7501
|
+
};
|
|
7502
|
+
};
|
|
6959
7503
|
nonRevertibleAccumulatedData: {
|
|
6960
7504
|
noteHashes: string[];
|
|
6961
7505
|
nullifiers: string[];
|
|
@@ -6982,6 +7526,10 @@ export declare class AvmCircuitInputs {
|
|
|
6982
7526
|
contractAddress?: any;
|
|
6983
7527
|
msgSender?: any;
|
|
6984
7528
|
} | null;
|
|
7529
|
+
gasUsedByPrivate: {
|
|
7530
|
+
daGas: string | number | bigint;
|
|
7531
|
+
l2Gas: string | number | bigint;
|
|
7532
|
+
};
|
|
6985
7533
|
};
|
|
6986
7534
|
contractInstances: {
|
|
6987
7535
|
salt: string;
|
|
@@ -7426,7 +7974,7 @@ export declare class AvmCircuitInputs {
|
|
|
7426
7974
|
}, {
|
|
7427
7975
|
daGas: string | number | bigint;
|
|
7428
7976
|
l2Gas: string | number | bigint;
|
|
7429
|
-
}>,
|
|
7977
|
+
}>, Gas, {
|
|
7430
7978
|
daGas: string | number | bigint;
|
|
7431
7979
|
l2Gas: string | number | bigint;
|
|
7432
7980
|
}>;
|
|
@@ -7440,7 +7988,7 @@ export declare class AvmCircuitInputs {
|
|
|
7440
7988
|
}, {
|
|
7441
7989
|
daGas: string | number | bigint;
|
|
7442
7990
|
l2Gas: string | number | bigint;
|
|
7443
|
-
}>,
|
|
7991
|
+
}>, Gas, {
|
|
7444
7992
|
daGas: string | number | bigint;
|
|
7445
7993
|
l2Gas: string | number | bigint;
|
|
7446
7994
|
}>;
|
|
@@ -7453,7 +8001,7 @@ export declare class AvmCircuitInputs {
|
|
|
7453
8001
|
}, {
|
|
7454
8002
|
daGas: string | number | bigint;
|
|
7455
8003
|
l2Gas: string | number | bigint;
|
|
7456
|
-
}>,
|
|
8004
|
+
}>, Gas, {
|
|
7457
8005
|
daGas: string | number | bigint;
|
|
7458
8006
|
l2Gas: string | number | bigint;
|
|
7459
8007
|
}>;
|
|
@@ -7484,8 +8032,8 @@ export declare class AvmCircuitInputs {
|
|
|
7484
8032
|
feePerL2Gas: string;
|
|
7485
8033
|
}>;
|
|
7486
8034
|
}, "strip", z.ZodTypeAny, {
|
|
7487
|
-
gasLimits:
|
|
7488
|
-
teardownGasLimits:
|
|
8035
|
+
gasLimits: Gas;
|
|
8036
|
+
teardownGasLimits: Gas;
|
|
7489
8037
|
maxFeesPerGas: import("../gas/gas_fees.js").GasFees;
|
|
7490
8038
|
maxPriorityFeesPerGas: import("../gas/gas_fees.js").GasFees;
|
|
7491
8039
|
}, {
|
|
@@ -7505,7 +8053,7 @@ export declare class AvmCircuitInputs {
|
|
|
7505
8053
|
feePerDaGas: string;
|
|
7506
8054
|
feePerL2Gas: string;
|
|
7507
8055
|
};
|
|
7508
|
-
}>,
|
|
8056
|
+
}>, GasSettings, {
|
|
7509
8057
|
gasLimits: {
|
|
7510
8058
|
daGas: string | number | bigint;
|
|
7511
8059
|
l2Gas: string | number | bigint;
|
|
@@ -7524,6 +8072,23 @@ export declare class AvmCircuitInputs {
|
|
|
7524
8072
|
};
|
|
7525
8073
|
}>;
|
|
7526
8074
|
feePayer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
8075
|
+
publicCallRequestArrayLengths: z.ZodEffects<z.ZodObject<{
|
|
8076
|
+
setupCalls: z.ZodNumber;
|
|
8077
|
+
appLogicCalls: z.ZodNumber;
|
|
8078
|
+
teardownCall: z.ZodBoolean;
|
|
8079
|
+
}, "strip", z.ZodTypeAny, {
|
|
8080
|
+
setupCalls: number;
|
|
8081
|
+
appLogicCalls: number;
|
|
8082
|
+
teardownCall: boolean;
|
|
8083
|
+
}, {
|
|
8084
|
+
setupCalls: number;
|
|
8085
|
+
appLogicCalls: number;
|
|
8086
|
+
teardownCall: boolean;
|
|
8087
|
+
}>, import("../kernel/public_call_request.js").PublicCallRequestArrayLengths, {
|
|
8088
|
+
setupCalls: number;
|
|
8089
|
+
appLogicCalls: number;
|
|
8090
|
+
teardownCall: boolean;
|
|
8091
|
+
}>;
|
|
7527
8092
|
publicSetupCallRequests: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
7528
8093
|
msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
7529
8094
|
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
@@ -7857,10 +8422,35 @@ export declare class AvmCircuitInputs {
|
|
|
7857
8422
|
}, {
|
|
7858
8423
|
daGas: string | number | bigint;
|
|
7859
8424
|
l2Gas: string | number | bigint;
|
|
7860
|
-
}>,
|
|
8425
|
+
}>, Gas, {
|
|
7861
8426
|
daGas: string | number | bigint;
|
|
7862
8427
|
l2Gas: string | number | bigint;
|
|
7863
8428
|
}>;
|
|
8429
|
+
accumulatedDataArrayLengths: z.ZodEffects<z.ZodObject<{
|
|
8430
|
+
noteHashes: z.ZodNumber;
|
|
8431
|
+
nullifiers: z.ZodNumber;
|
|
8432
|
+
l2ToL1Msgs: z.ZodNumber;
|
|
8433
|
+
publicLogs: z.ZodNumber;
|
|
8434
|
+
publicDataWrites: z.ZodNumber;
|
|
8435
|
+
}, "strip", z.ZodTypeAny, {
|
|
8436
|
+
noteHashes: number;
|
|
8437
|
+
nullifiers: number;
|
|
8438
|
+
l2ToL1Msgs: number;
|
|
8439
|
+
publicLogs: number;
|
|
8440
|
+
publicDataWrites: number;
|
|
8441
|
+
}, {
|
|
8442
|
+
noteHashes: number;
|
|
8443
|
+
nullifiers: number;
|
|
8444
|
+
l2ToL1Msgs: number;
|
|
8445
|
+
publicLogs: number;
|
|
8446
|
+
publicDataWrites: number;
|
|
8447
|
+
}>, import("./avm_accumulated_data.js").AvmAccumulatedDataArrayLengths, {
|
|
8448
|
+
noteHashes: number;
|
|
8449
|
+
nullifiers: number;
|
|
8450
|
+
l2ToL1Msgs: number;
|
|
8451
|
+
publicLogs: number;
|
|
8452
|
+
publicDataWrites: number;
|
|
8453
|
+
}>;
|
|
7864
8454
|
accumulatedData: z.ZodEffects<z.ZodObject<{
|
|
7865
8455
|
noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
7866
8456
|
nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
@@ -7958,12 +8548,13 @@ export declare class AvmCircuitInputs {
|
|
|
7958
8548
|
reverted: z.ZodBoolean;
|
|
7959
8549
|
}, "strip", z.ZodTypeAny, {
|
|
7960
8550
|
globalVariables: GlobalVariables;
|
|
7961
|
-
gasSettings:
|
|
8551
|
+
gasSettings: GasSettings;
|
|
7962
8552
|
publicTeardownCallRequest: import("../kernel/public_call_request.js").PublicCallRequest;
|
|
7963
8553
|
transactionFee: Fr;
|
|
7964
8554
|
feePayer: AztecAddress;
|
|
7965
8555
|
startTreeSnapshots: TreeSnapshots;
|
|
7966
|
-
startGasUsed:
|
|
8556
|
+
startGasUsed: Gas;
|
|
8557
|
+
publicCallRequestArrayLengths: import("../kernel/public_call_request.js").PublicCallRequestArrayLengths;
|
|
7967
8558
|
publicSetupCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
|
|
7968
8559
|
publicAppLogicCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
|
|
7969
8560
|
previousNonRevertibleAccumulatedDataArrayLengths: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedDataArrayLengths;
|
|
@@ -7971,7 +8562,8 @@ export declare class AvmCircuitInputs {
|
|
|
7971
8562
|
previousNonRevertibleAccumulatedData: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData;
|
|
7972
8563
|
previousRevertibleAccumulatedData: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData;
|
|
7973
8564
|
endTreeSnapshots: TreeSnapshots;
|
|
7974
|
-
endGasUsed:
|
|
8565
|
+
endGasUsed: Gas;
|
|
8566
|
+
accumulatedDataArrayLengths: import("./avm_accumulated_data.js").AvmAccumulatedDataArrayLengths;
|
|
7975
8567
|
accumulatedData: import("./avm_accumulated_data.js").AvmAccumulatedData;
|
|
7976
8568
|
reverted: boolean;
|
|
7977
8569
|
}, {
|
|
@@ -8035,6 +8627,11 @@ export declare class AvmCircuitInputs {
|
|
|
8035
8627
|
daGas: string | number | bigint;
|
|
8036
8628
|
l2Gas: string | number | bigint;
|
|
8037
8629
|
};
|
|
8630
|
+
publicCallRequestArrayLengths: {
|
|
8631
|
+
setupCalls: number;
|
|
8632
|
+
appLogicCalls: number;
|
|
8633
|
+
teardownCall: boolean;
|
|
8634
|
+
};
|
|
8038
8635
|
publicSetupCallRequests: {
|
|
8039
8636
|
isStaticCall: boolean;
|
|
8040
8637
|
calldataHash: string;
|
|
@@ -8103,6 +8700,13 @@ export declare class AvmCircuitInputs {
|
|
|
8103
8700
|
daGas: string | number | bigint;
|
|
8104
8701
|
l2Gas: string | number | bigint;
|
|
8105
8702
|
};
|
|
8703
|
+
accumulatedDataArrayLengths: {
|
|
8704
|
+
noteHashes: number;
|
|
8705
|
+
nullifiers: number;
|
|
8706
|
+
l2ToL1Msgs: number;
|
|
8707
|
+
publicLogs: number;
|
|
8708
|
+
publicDataWrites: number;
|
|
8709
|
+
};
|
|
8106
8710
|
accumulatedData: {
|
|
8107
8711
|
noteHashes: string[];
|
|
8108
8712
|
nullifiers: string[];
|
|
@@ -8183,6 +8787,11 @@ export declare class AvmCircuitInputs {
|
|
|
8183
8787
|
daGas: string | number | bigint;
|
|
8184
8788
|
l2Gas: string | number | bigint;
|
|
8185
8789
|
};
|
|
8790
|
+
publicCallRequestArrayLengths: {
|
|
8791
|
+
setupCalls: number;
|
|
8792
|
+
appLogicCalls: number;
|
|
8793
|
+
teardownCall: boolean;
|
|
8794
|
+
};
|
|
8186
8795
|
publicSetupCallRequests: {
|
|
8187
8796
|
isStaticCall: boolean;
|
|
8188
8797
|
calldataHash: string;
|
|
@@ -8251,6 +8860,13 @@ export declare class AvmCircuitInputs {
|
|
|
8251
8860
|
daGas: string | number | bigint;
|
|
8252
8861
|
l2Gas: string | number | bigint;
|
|
8253
8862
|
};
|
|
8863
|
+
accumulatedDataArrayLengths: {
|
|
8864
|
+
noteHashes: number;
|
|
8865
|
+
nullifiers: number;
|
|
8866
|
+
l2ToL1Msgs: number;
|
|
8867
|
+
publicLogs: number;
|
|
8868
|
+
publicDataWrites: number;
|
|
8869
|
+
};
|
|
8254
8870
|
accumulatedData: {
|
|
8255
8871
|
noteHashes: string[];
|
|
8256
8872
|
nullifiers: string[];
|
|
@@ -8336,6 +8952,11 @@ export declare class AvmCircuitInputs {
|
|
|
8336
8952
|
daGas: string | number | bigint;
|
|
8337
8953
|
l2Gas: string | number | bigint;
|
|
8338
8954
|
};
|
|
8955
|
+
publicCallRequestArrayLengths: {
|
|
8956
|
+
setupCalls: number;
|
|
8957
|
+
appLogicCalls: number;
|
|
8958
|
+
teardownCall: boolean;
|
|
8959
|
+
};
|
|
8339
8960
|
publicSetupCallRequests: {
|
|
8340
8961
|
isStaticCall: boolean;
|
|
8341
8962
|
calldataHash: string;
|
|
@@ -8404,6 +9025,13 @@ export declare class AvmCircuitInputs {
|
|
|
8404
9025
|
daGas: string | number | bigint;
|
|
8405
9026
|
l2Gas: string | number | bigint;
|
|
8406
9027
|
};
|
|
9028
|
+
accumulatedDataArrayLengths: {
|
|
9029
|
+
noteHashes: number;
|
|
9030
|
+
nullifiers: number;
|
|
9031
|
+
l2ToL1Msgs: number;
|
|
9032
|
+
publicLogs: number;
|
|
9033
|
+
publicDataWrites: number;
|
|
9034
|
+
};
|
|
8407
9035
|
accumulatedData: {
|
|
8408
9036
|
noteHashes: string[];
|
|
8409
9037
|
nullifiers: string[];
|
|
@@ -8440,6 +9068,24 @@ export declare class AvmCircuitInputs {
|
|
|
8440
9068
|
coinbase?: any;
|
|
8441
9069
|
feeRecipient?: any;
|
|
8442
9070
|
};
|
|
9071
|
+
gasSettings: {
|
|
9072
|
+
gasLimits: {
|
|
9073
|
+
daGas: string | number | bigint;
|
|
9074
|
+
l2Gas: string | number | bigint;
|
|
9075
|
+
};
|
|
9076
|
+
teardownGasLimits: {
|
|
9077
|
+
daGas: string | number | bigint;
|
|
9078
|
+
l2Gas: string | number | bigint;
|
|
9079
|
+
};
|
|
9080
|
+
maxFeesPerGas: {
|
|
9081
|
+
feePerDaGas: string;
|
|
9082
|
+
feePerL2Gas: string;
|
|
9083
|
+
};
|
|
9084
|
+
maxPriorityFeesPerGas: {
|
|
9085
|
+
feePerDaGas: string;
|
|
9086
|
+
feePerL2Gas: string;
|
|
9087
|
+
};
|
|
9088
|
+
};
|
|
8443
9089
|
nonRevertibleAccumulatedData: {
|
|
8444
9090
|
noteHashes: string[];
|
|
8445
9091
|
nullifiers: string[];
|
|
@@ -8466,6 +9112,10 @@ export declare class AvmCircuitInputs {
|
|
|
8466
9112
|
contractAddress?: any;
|
|
8467
9113
|
msgSender?: any;
|
|
8468
9114
|
} | null;
|
|
9115
|
+
gasUsedByPrivate: {
|
|
9116
|
+
daGas: string | number | bigint;
|
|
9117
|
+
l2Gas: string | number | bigint;
|
|
9118
|
+
};
|
|
8469
9119
|
};
|
|
8470
9120
|
contractInstances: {
|
|
8471
9121
|
salt: string;
|
|
@@ -8814,6 +9464,11 @@ export declare class AvmCircuitInputs {
|
|
|
8814
9464
|
daGas: string | number | bigint;
|
|
8815
9465
|
l2Gas: string | number | bigint;
|
|
8816
9466
|
};
|
|
9467
|
+
publicCallRequestArrayLengths: {
|
|
9468
|
+
setupCalls: number;
|
|
9469
|
+
appLogicCalls: number;
|
|
9470
|
+
teardownCall: boolean;
|
|
9471
|
+
};
|
|
8817
9472
|
publicSetupCallRequests: {
|
|
8818
9473
|
isStaticCall: boolean;
|
|
8819
9474
|
calldataHash: string;
|
|
@@ -8882,6 +9537,13 @@ export declare class AvmCircuitInputs {
|
|
|
8882
9537
|
daGas: string | number | bigint;
|
|
8883
9538
|
l2Gas: string | number | bigint;
|
|
8884
9539
|
};
|
|
9540
|
+
accumulatedDataArrayLengths: {
|
|
9541
|
+
noteHashes: number;
|
|
9542
|
+
nullifiers: number;
|
|
9543
|
+
l2ToL1Msgs: number;
|
|
9544
|
+
publicLogs: number;
|
|
9545
|
+
publicDataWrites: number;
|
|
9546
|
+
};
|
|
8885
9547
|
accumulatedData: {
|
|
8886
9548
|
noteHashes: string[];
|
|
8887
9549
|
nullifiers: string[];
|
|
@@ -8918,6 +9580,24 @@ export declare class AvmCircuitInputs {
|
|
|
8918
9580
|
coinbase?: any;
|
|
8919
9581
|
feeRecipient?: any;
|
|
8920
9582
|
};
|
|
9583
|
+
gasSettings: {
|
|
9584
|
+
gasLimits: {
|
|
9585
|
+
daGas: string | number | bigint;
|
|
9586
|
+
l2Gas: string | number | bigint;
|
|
9587
|
+
};
|
|
9588
|
+
teardownGasLimits: {
|
|
9589
|
+
daGas: string | number | bigint;
|
|
9590
|
+
l2Gas: string | number | bigint;
|
|
9591
|
+
};
|
|
9592
|
+
maxFeesPerGas: {
|
|
9593
|
+
feePerDaGas: string;
|
|
9594
|
+
feePerL2Gas: string;
|
|
9595
|
+
};
|
|
9596
|
+
maxPriorityFeesPerGas: {
|
|
9597
|
+
feePerDaGas: string;
|
|
9598
|
+
feePerL2Gas: string;
|
|
9599
|
+
};
|
|
9600
|
+
};
|
|
8921
9601
|
nonRevertibleAccumulatedData: {
|
|
8922
9602
|
noteHashes: string[];
|
|
8923
9603
|
nullifiers: string[];
|
|
@@ -8944,6 +9624,10 @@ export declare class AvmCircuitInputs {
|
|
|
8944
9624
|
contractAddress?: any;
|
|
8945
9625
|
msgSender?: any;
|
|
8946
9626
|
} | null;
|
|
9627
|
+
gasUsedByPrivate: {
|
|
9628
|
+
daGas: string | number | bigint;
|
|
9629
|
+
l2Gas: string | number | bigint;
|
|
9630
|
+
};
|
|
8947
9631
|
};
|
|
8948
9632
|
contractInstances: {
|
|
8949
9633
|
salt: string;
|