@aztec/end-to-end 0.0.1-commit.5daedc8 → 0.0.1-commit.6a729f7
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/bench/client_flows/benchmark.d.ts +3 -2
- package/dest/bench/client_flows/benchmark.d.ts.map +1 -1
- package/dest/bench/client_flows/benchmark.js +21 -1
- package/dest/bench/client_flows/client_flows_benchmark.d.ts +14 -15
- package/dest/bench/client_flows/client_flows_benchmark.d.ts.map +1 -1
- package/dest/bench/client_flows/client_flows_benchmark.js +123 -136
- package/dest/bench/client_flows/data_extractor.js +3 -1
- package/dest/bench/utils.d.ts +9 -8
- package/dest/bench/utils.d.ts.map +1 -1
- package/dest/bench/utils.js +27 -18
- package/dest/e2e_blacklist_token_contract/blacklist_token_contract_test.d.ts +6 -7
- package/dest/e2e_blacklist_token_contract/blacklist_token_contract_test.d.ts.map +1 -1
- package/dest/e2e_blacklist_token_contract/blacklist_token_contract_test.js +96 -112
- package/dest/e2e_cross_chain_messaging/cross_chain_messaging_test.d.ts +19 -13
- package/dest/e2e_cross_chain_messaging/cross_chain_messaging_test.d.ts.map +1 -1
- package/dest/e2e_cross_chain_messaging/cross_chain_messaging_test.js +91 -71
- package/dest/e2e_deploy_contract/deploy_test.d.ts +4 -3
- package/dest/e2e_deploy_contract/deploy_test.d.ts.map +1 -1
- package/dest/e2e_deploy_contract/deploy_test.js +18 -13
- package/dest/e2e_epochs/epochs_test.d.ts +17 -9
- package/dest/e2e_epochs/epochs_test.d.ts.map +1 -1
- package/dest/e2e_epochs/epochs_test.js +44 -20
- package/dest/e2e_fees/bridging_race.notest.js +4 -6
- package/dest/e2e_fees/fees_test.d.ts +20 -16
- package/dest/e2e_fees/fees_test.d.ts.map +1 -1
- package/dest/e2e_fees/fees_test.js +126 -141
- package/dest/e2e_l1_publisher/write_json.d.ts +4 -3
- package/dest/e2e_l1_publisher/write_json.d.ts.map +1 -1
- package/dest/e2e_l1_publisher/write_json.js +14 -16
- package/dest/e2e_multi_validator/utils.js +1 -1
- package/dest/e2e_nested_contract/nested_contract_test.d.ts +6 -9
- package/dest/e2e_nested_contract/nested_contract_test.d.ts.map +1 -1
- package/dest/e2e_nested_contract/nested_contract_test.js +31 -39
- package/dest/e2e_p2p/inactivity_slash_test.d.ts +4 -4
- package/dest/e2e_p2p/inactivity_slash_test.d.ts.map +1 -1
- package/dest/e2e_p2p/inactivity_slash_test.js +6 -9
- package/dest/e2e_p2p/p2p_network.d.ts +13 -11
- package/dest/e2e_p2p/p2p_network.d.ts.map +1 -1
- package/dest/e2e_p2p/p2p_network.js +120 -111
- package/dest/e2e_p2p/reqresp/utils.d.ts +22 -0
- package/dest/e2e_p2p/reqresp/utils.d.ts.map +1 -0
- package/dest/e2e_p2p/reqresp/utils.js +153 -0
- package/dest/e2e_p2p/shared.d.ts +7 -7
- package/dest/e2e_p2p/shared.d.ts.map +1 -1
- package/dest/e2e_p2p/shared.js +13 -20
- package/dest/e2e_token_contract/token_contract_test.d.ts +16 -9
- package/dest/e2e_token_contract/token_contract_test.d.ts.map +1 -1
- package/dest/e2e_token_contract/token_contract_test.js +89 -91
- package/dest/fixtures/e2e_prover_test.d.ts +10 -18
- package/dest/fixtures/e2e_prover_test.d.ts.map +1 -1
- package/dest/fixtures/e2e_prover_test.js +91 -103
- package/dest/fixtures/fixtures.d.ts +2 -3
- package/dest/fixtures/fixtures.d.ts.map +1 -1
- package/dest/fixtures/fixtures.js +2 -3
- package/dest/fixtures/get_acvm_config.js +1 -1
- package/dest/fixtures/l1_to_l2_messaging.d.ts +4 -3
- package/dest/fixtures/l1_to_l2_messaging.d.ts.map +1 -1
- package/dest/fixtures/l1_to_l2_messaging.js +2 -2
- package/dest/fixtures/setup.d.ts +218 -0
- package/dest/fixtures/setup.d.ts.map +1 -0
- package/dest/fixtures/setup.js +695 -0
- package/dest/fixtures/setup_p2p_test.d.ts +4 -5
- package/dest/fixtures/setup_p2p_test.d.ts.map +1 -1
- package/dest/fixtures/setup_p2p_test.js +27 -22
- package/dest/fixtures/token_utils.d.ts +1 -1
- package/dest/fixtures/token_utils.d.ts.map +1 -1
- package/dest/fixtures/token_utils.js +7 -4
- package/dest/fixtures/utils.d.ts +5 -637
- package/dest/fixtures/utils.d.ts.map +1 -1
- package/dest/fixtures/utils.js +4 -647
- package/dest/fixtures/web3signer.js +1 -1
- package/dest/fixtures/with_telemetry_utils.d.ts +2 -2
- package/dest/fixtures/with_telemetry_utils.d.ts.map +1 -1
- package/dest/fixtures/with_telemetry_utils.js +2 -2
- package/dest/quality_of_service/grafana_client.d.ts +41 -0
- package/dest/quality_of_service/grafana_client.d.ts.map +1 -0
- package/dest/quality_of_service/{alert_checker.js → grafana_client.js} +1 -1
- package/dest/quality_of_service/prometheus_client.d.ts +38 -0
- package/dest/quality_of_service/prometheus_client.d.ts.map +1 -0
- package/dest/quality_of_service/prometheus_client.js +67 -0
- package/dest/shared/cross_chain_test_harness.d.ts +18 -6
- package/dest/shared/cross_chain_test_harness.d.ts.map +1 -1
- package/dest/shared/cross_chain_test_harness.js +14 -14
- package/dest/shared/gas_portal_test_harness.d.ts +12 -2
- package/dest/shared/gas_portal_test_harness.d.ts.map +1 -1
- package/dest/shared/gas_portal_test_harness.js +1 -1
- package/dest/shared/index.d.ts +2 -2
- package/dest/shared/index.d.ts.map +1 -1
- package/dest/shared/submit-transactions.d.ts +3 -3
- package/dest/shared/submit-transactions.d.ts.map +1 -1
- package/dest/shared/submit-transactions.js +9 -11
- package/dest/shared/uniswap_l1_l2.d.ts +3 -27
- package/dest/shared/uniswap_l1_l2.d.ts.map +1 -1
- package/dest/shared/uniswap_l1_l2.js +55 -35
- package/dest/simulators/lending_simulator.d.ts +6 -2
- package/dest/simulators/lending_simulator.d.ts.map +1 -1
- package/dest/simulators/lending_simulator.js +2 -2
- package/dest/spartan/setup_test_wallets.d.ts +4 -3
- package/dest/spartan/setup_test_wallets.d.ts.map +1 -1
- package/dest/spartan/setup_test_wallets.js +63 -35
- package/dest/spartan/tx_metrics.d.ts +88 -0
- package/dest/spartan/tx_metrics.d.ts.map +1 -0
- package/dest/spartan/tx_metrics.js +422 -0
- package/dest/spartan/utils/bot.d.ts +27 -0
- package/dest/spartan/utils/bot.d.ts.map +1 -0
- package/dest/spartan/utils/bot.js +141 -0
- package/dest/spartan/utils/chaos.d.ts +79 -0
- package/dest/spartan/utils/chaos.d.ts.map +1 -0
- package/dest/spartan/utils/chaos.js +142 -0
- package/dest/spartan/utils/clients.d.ts +39 -0
- package/dest/spartan/utils/clients.d.ts.map +1 -0
- package/dest/spartan/utils/clients.js +90 -0
- package/dest/spartan/utils/config.d.ts +36 -0
- package/dest/spartan/utils/config.d.ts.map +1 -0
- package/dest/spartan/utils/config.js +20 -0
- package/dest/spartan/utils/health.d.ts +63 -0
- package/dest/spartan/utils/health.d.ts.map +1 -0
- package/dest/spartan/utils/health.js +202 -0
- package/dest/spartan/utils/helm.d.ts +15 -0
- package/dest/spartan/utils/helm.d.ts.map +1 -0
- package/dest/spartan/utils/helm.js +47 -0
- package/dest/spartan/utils/index.d.ts +9 -0
- package/dest/spartan/utils/index.d.ts.map +1 -0
- package/dest/spartan/utils/index.js +18 -0
- package/dest/spartan/utils/k8s.d.ts +126 -0
- package/dest/spartan/utils/k8s.d.ts.map +1 -0
- package/dest/spartan/utils/k8s.js +375 -0
- package/dest/spartan/utils/nodes.d.ts +41 -0
- package/dest/spartan/utils/nodes.d.ts.map +1 -0
- package/dest/spartan/utils/nodes.js +461 -0
- package/dest/spartan/utils/scripts.d.ts +16 -0
- package/dest/spartan/utils/scripts.d.ts.map +1 -0
- package/dest/spartan/utils/scripts.js +66 -0
- package/dest/spartan/utils.d.ts +2 -220
- package/dest/spartan/utils.d.ts.map +1 -1
- package/dest/spartan/utils.js +1 -782
- package/package.json +42 -41
- package/src/bench/client_flows/benchmark.ts +24 -2
- package/src/bench/client_flows/client_flows_benchmark.ts +145 -208
- package/src/bench/client_flows/data_extractor.ts +1 -1
- package/src/bench/utils.ts +30 -20
- package/src/e2e_blacklist_token_contract/blacklist_token_contract_test.ts +104 -142
- package/src/e2e_cross_chain_messaging/cross_chain_messaging_test.ts +140 -125
- package/src/e2e_deploy_contract/deploy_test.ts +21 -14
- package/src/e2e_epochs/epochs_test.ts +92 -53
- package/src/e2e_fees/bridging_race.notest.ts +4 -10
- package/src/e2e_fees/fees_test.ts +179 -221
- package/src/e2e_l1_publisher/write_json.ts +16 -16
- package/src/e2e_multi_validator/utils.ts +1 -1
- package/src/e2e_nested_contract/nested_contract_test.ts +33 -56
- package/src/e2e_p2p/inactivity_slash_test.ts +9 -12
- package/src/e2e_p2p/p2p_network.ts +180 -183
- package/src/e2e_p2p/reqresp/utils.ts +207 -0
- package/src/e2e_p2p/shared.ts +31 -28
- package/src/e2e_token_contract/token_contract_test.ts +103 -118
- package/src/fixtures/e2e_prover_test.ts +104 -141
- package/src/fixtures/fixtures.ts +2 -5
- package/src/fixtures/get_acvm_config.ts +1 -1
- package/src/fixtures/l1_to_l2_messaging.ts +4 -2
- package/src/fixtures/setup.ts +1017 -0
- package/src/fixtures/setup_p2p_test.ts +18 -23
- package/src/fixtures/token_utils.ts +6 -5
- package/src/fixtures/utils.ts +27 -966
- package/src/fixtures/web3signer.ts +1 -1
- package/src/fixtures/with_telemetry_utils.ts +2 -2
- package/src/quality_of_service/{alert_checker.ts → grafana_client.ts} +1 -1
- package/src/quality_of_service/prometheus_client.ts +113 -0
- package/src/shared/cross_chain_test_harness.ts +19 -36
- package/src/shared/gas_portal_test_harness.ts +2 -2
- package/src/shared/index.ts +1 -1
- package/src/shared/submit-transactions.ts +9 -15
- package/src/shared/uniswap_l1_l2.ts +65 -86
- package/src/simulators/lending_simulator.ts +3 -3
- package/src/spartan/DEVELOP.md +7 -0
- package/src/spartan/setup_test_wallets.ts +81 -26
- package/src/spartan/tx_metrics.ts +376 -0
- package/src/spartan/utils/bot.ts +185 -0
- package/src/spartan/utils/chaos.ts +253 -0
- package/src/spartan/utils/clients.ts +100 -0
- package/src/spartan/utils/config.ts +26 -0
- package/src/spartan/utils/health.ts +255 -0
- package/src/spartan/utils/helm.ts +84 -0
- package/src/spartan/utils/index.ts +64 -0
- package/src/spartan/utils/k8s.ts +527 -0
- package/src/spartan/utils/nodes.ts +538 -0
- package/src/spartan/utils/scripts.ts +63 -0
- package/src/spartan/utils.ts +1 -982
- package/dest/fixtures/setup_l1_contracts.d.ts +0 -477
- package/dest/fixtures/setup_l1_contracts.d.ts.map +0 -1
- package/dest/fixtures/setup_l1_contracts.js +0 -17
- package/dest/fixtures/snapshot_manager.d.ts +0 -95
- package/dest/fixtures/snapshot_manager.d.ts.map +0 -1
- package/dest/fixtures/snapshot_manager.js +0 -505
- package/dest/quality_of_service/alert_checker.d.ts +0 -41
- package/dest/quality_of_service/alert_checker.d.ts.map +0 -1
- package/src/fixtures/setup_l1_contracts.ts +0 -26
- package/src/fixtures/snapshot_manager.ts +0 -665
package/dest/fixtures/utils.d.ts
CHANGED
|
@@ -1,639 +1,7 @@
|
|
|
1
|
-
import { type InitialAccountData } from '@aztec/accounts/testing';
|
|
2
|
-
import { type AztecNodeConfig } from '@aztec/aztec-node';
|
|
3
|
-
import { AztecAddress } from '@aztec/aztec.js/addresses';
|
|
4
|
-
import { type ContractMethod } from '@aztec/aztec.js/contracts';
|
|
5
|
-
import { type Logger } from '@aztec/aztec.js/log';
|
|
6
|
-
import { type AztecNode } from '@aztec/aztec.js/node';
|
|
7
|
-
import type { Wallet } from '@aztec/aztec.js/wallet';
|
|
8
|
-
import { AnvilTestWatcher, CheatCodes } from '@aztec/aztec/testing';
|
|
9
|
-
import { type BlobSinkServer } from '@aztec/blob-sink/server';
|
|
10
|
-
import { type DeployL1ContractsArgs, type DeployL1ContractsReturnType, type Operator } from '@aztec/ethereum';
|
|
11
|
-
import { EthCheatCodes, startAnvil } from '@aztec/ethereum/test';
|
|
12
|
-
import { SecretValue } from '@aztec/foundation/config';
|
|
13
|
-
import { Fr } from '@aztec/foundation/fields';
|
|
14
|
-
import { TestDateProvider } from '@aztec/foundation/timer';
|
|
15
|
-
import type { DataStoreConfig } from '@aztec/kv-store/config';
|
|
16
|
-
import { MockGossipSubNetwork } from '@aztec/p2p/test-helpers';
|
|
17
|
-
import { type ProverNode, type ProverNodeConfig, type ProverNodeDeps } from '@aztec/prover-node';
|
|
18
|
-
import { type PXEConfig } from '@aztec/pxe/server';
|
|
19
|
-
import type { SequencerClient } from '@aztec/sequencer-client';
|
|
20
|
-
import { type ContractInstanceWithAddress } from '@aztec/stdlib/contract';
|
|
21
|
-
import type { AztecNodeAdmin } from '@aztec/stdlib/interfaces/client';
|
|
22
|
-
import type { PublicDataTreeLeaf } from '@aztec/stdlib/trees';
|
|
23
|
-
import { type TelemetryClient, type TelemetryClientConfig } from '@aztec/telemetry-client';
|
|
24
|
-
import { TestWallet } from '@aztec/test-wallet/server';
|
|
25
|
-
import { type Chain } from 'viem';
|
|
26
|
-
export { deployAndInitializeTokenAndBridgeContracts } from '../shared/cross_chain_test_harness.js';
|
|
27
|
-
export { startAnvil };
|
|
28
|
-
export declare const getPrivateKeyFromIndex: (index: number) => Buffer<ArrayBufferLike> | null;
|
|
29
|
-
export declare const setupL1Contracts: (l1RpcUrls: string[], account: {
|
|
30
|
-
address: `0x${string}`;
|
|
31
|
-
nonceManager?: import("viem").NonceManager | undefined;
|
|
32
|
-
sign: (parameters: {
|
|
33
|
-
hash: `0x${string}`;
|
|
34
|
-
}) => Promise<`0x${string}`>;
|
|
35
|
-
signAuthorization?: ((parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>) | undefined;
|
|
36
|
-
signMessage: ({ message }: {
|
|
37
|
-
message: import("viem").SignableMessage;
|
|
38
|
-
}) => Promise<`0x${string}`>;
|
|
39
|
-
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
40
|
-
serializer?: serializer | undefined;
|
|
41
|
-
} | undefined) => Promise<`0x${string}`>;
|
|
42
|
-
signTypedData: <const typedData extends Record<string, unknown> | {
|
|
43
|
-
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
44
|
-
[x: `address[${string}]`]: undefined;
|
|
45
|
-
[x: `bool[${string}]`]: undefined;
|
|
46
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
47
|
-
[x: `bytes11[${string}]`]: undefined;
|
|
48
|
-
[x: `bytes12[${string}]`]: undefined;
|
|
49
|
-
[x: `bytes13[${string}]`]: undefined;
|
|
50
|
-
[x: `bytes14[${string}]`]: undefined;
|
|
51
|
-
[x: `bytes15[${string}]`]: undefined;
|
|
52
|
-
[x: `bytes16[${string}]`]: undefined;
|
|
53
|
-
[x: `bytes17[${string}]`]: undefined;
|
|
54
|
-
[x: `bytes18[${string}]`]: undefined;
|
|
55
|
-
[x: `bytes19[${string}]`]: undefined;
|
|
56
|
-
[x: `bytes1[${string}]`]: undefined;
|
|
57
|
-
[x: `bytes20[${string}]`]: undefined;
|
|
58
|
-
[x: `bytes21[${string}]`]: undefined;
|
|
59
|
-
[x: `bytes22[${string}]`]: undefined;
|
|
60
|
-
[x: `bytes23[${string}]`]: undefined;
|
|
61
|
-
[x: `bytes24[${string}]`]: undefined;
|
|
62
|
-
[x: `bytes25[${string}]`]: undefined;
|
|
63
|
-
[x: `bytes26[${string}]`]: undefined;
|
|
64
|
-
[x: `bytes27[${string}]`]: undefined;
|
|
65
|
-
[x: `bytes28[${string}]`]: undefined;
|
|
66
|
-
[x: `bytes29[${string}]`]: undefined;
|
|
67
|
-
[x: `bytes2[${string}]`]: undefined;
|
|
68
|
-
[x: `bytes30[${string}]`]: undefined;
|
|
69
|
-
[x: `bytes31[${string}]`]: undefined;
|
|
70
|
-
[x: `bytes32[${string}]`]: undefined;
|
|
71
|
-
[x: `bytes3[${string}]`]: undefined;
|
|
72
|
-
[x: `bytes4[${string}]`]: undefined;
|
|
73
|
-
[x: `bytes5[${string}]`]: undefined;
|
|
74
|
-
[x: `bytes6[${string}]`]: undefined;
|
|
75
|
-
[x: `bytes7[${string}]`]: undefined;
|
|
76
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
77
|
-
[x: `bytes9[${string}]`]: undefined;
|
|
78
|
-
[x: `bytes[${string}]`]: undefined;
|
|
79
|
-
[x: `function[${string}]`]: undefined;
|
|
80
|
-
[x: `int104[${string}]`]: undefined;
|
|
81
|
-
[x: `int112[${string}]`]: undefined;
|
|
82
|
-
[x: `int120[${string}]`]: undefined;
|
|
83
|
-
[x: `int128[${string}]`]: undefined;
|
|
84
|
-
[x: `int136[${string}]`]: undefined;
|
|
85
|
-
[x: `int144[${string}]`]: undefined;
|
|
86
|
-
[x: `int152[${string}]`]: undefined;
|
|
87
|
-
[x: `int160[${string}]`]: undefined;
|
|
88
|
-
[x: `int168[${string}]`]: undefined;
|
|
89
|
-
[x: `int16[${string}]`]: undefined;
|
|
90
|
-
[x: `int176[${string}]`]: undefined;
|
|
91
|
-
[x: `int184[${string}]`]: undefined;
|
|
92
|
-
[x: `int192[${string}]`]: undefined;
|
|
93
|
-
[x: `int200[${string}]`]: undefined;
|
|
94
|
-
[x: `int208[${string}]`]: undefined;
|
|
95
|
-
[x: `int216[${string}]`]: undefined;
|
|
96
|
-
[x: `int224[${string}]`]: undefined;
|
|
97
|
-
[x: `int232[${string}]`]: undefined;
|
|
98
|
-
[x: `int240[${string}]`]: undefined;
|
|
99
|
-
[x: `int248[${string}]`]: undefined;
|
|
100
|
-
[x: `int24[${string}]`]: undefined;
|
|
101
|
-
[x: `int256[${string}]`]: undefined;
|
|
102
|
-
[x: `int32[${string}]`]: undefined;
|
|
103
|
-
[x: `int40[${string}]`]: undefined;
|
|
104
|
-
[x: `int48[${string}]`]: undefined;
|
|
105
|
-
[x: `int56[${string}]`]: undefined;
|
|
106
|
-
[x: `int64[${string}]`]: undefined;
|
|
107
|
-
[x: `int72[${string}]`]: undefined;
|
|
108
|
-
[x: `int80[${string}]`]: undefined;
|
|
109
|
-
[x: `int88[${string}]`]: undefined;
|
|
110
|
-
[x: `int8[${string}]`]: undefined;
|
|
111
|
-
[x: `int96[${string}]`]: undefined;
|
|
112
|
-
[x: `int[${string}]`]: undefined;
|
|
113
|
-
[x: `string[${string}]`]: undefined;
|
|
114
|
-
[x: `uint104[${string}]`]: undefined;
|
|
115
|
-
[x: `uint112[${string}]`]: undefined;
|
|
116
|
-
[x: `uint120[${string}]`]: undefined;
|
|
117
|
-
[x: `uint128[${string}]`]: undefined;
|
|
118
|
-
[x: `uint136[${string}]`]: undefined;
|
|
119
|
-
[x: `uint144[${string}]`]: undefined;
|
|
120
|
-
[x: `uint152[${string}]`]: undefined;
|
|
121
|
-
[x: `uint160[${string}]`]: undefined;
|
|
122
|
-
[x: `uint168[${string}]`]: undefined;
|
|
123
|
-
[x: `uint16[${string}]`]: undefined;
|
|
124
|
-
[x: `uint176[${string}]`]: undefined;
|
|
125
|
-
[x: `uint184[${string}]`]: undefined;
|
|
126
|
-
[x: `uint192[${string}]`]: undefined;
|
|
127
|
-
[x: `uint200[${string}]`]: undefined;
|
|
128
|
-
[x: `uint208[${string}]`]: undefined;
|
|
129
|
-
[x: `uint216[${string}]`]: undefined;
|
|
130
|
-
[x: `uint224[${string}]`]: undefined;
|
|
131
|
-
[x: `uint232[${string}]`]: undefined;
|
|
132
|
-
[x: `uint240[${string}]`]: undefined;
|
|
133
|
-
[x: `uint248[${string}]`]: undefined;
|
|
134
|
-
[x: `uint24[${string}]`]: undefined;
|
|
135
|
-
[x: `uint256[${string}]`]: undefined;
|
|
136
|
-
[x: `uint32[${string}]`]: undefined;
|
|
137
|
-
[x: `uint40[${string}]`]: undefined;
|
|
138
|
-
[x: `uint48[${string}]`]: undefined;
|
|
139
|
-
[x: `uint56[${string}]`]: undefined;
|
|
140
|
-
[x: `uint64[${string}]`]: undefined;
|
|
141
|
-
[x: `uint72[${string}]`]: undefined;
|
|
142
|
-
[x: `uint80[${string}]`]: undefined;
|
|
143
|
-
[x: `uint88[${string}]`]: undefined;
|
|
144
|
-
[x: `uint8[${string}]`]: undefined;
|
|
145
|
-
[x: `uint96[${string}]`]: undefined;
|
|
146
|
-
[x: `uint[${string}]`]: undefined;
|
|
147
|
-
address?: undefined;
|
|
148
|
-
bool?: undefined;
|
|
149
|
-
bytes?: undefined;
|
|
150
|
-
bytes1?: undefined;
|
|
151
|
-
bytes10?: undefined;
|
|
152
|
-
bytes11?: undefined;
|
|
153
|
-
bytes12?: undefined;
|
|
154
|
-
bytes13?: undefined;
|
|
155
|
-
bytes14?: undefined;
|
|
156
|
-
bytes15?: undefined;
|
|
157
|
-
bytes16?: undefined;
|
|
158
|
-
bytes17?: undefined;
|
|
159
|
-
bytes18?: undefined;
|
|
160
|
-
bytes19?: undefined;
|
|
161
|
-
bytes2?: undefined;
|
|
162
|
-
bytes20?: undefined;
|
|
163
|
-
bytes21?: undefined;
|
|
164
|
-
bytes22?: undefined;
|
|
165
|
-
bytes23?: undefined;
|
|
166
|
-
bytes24?: undefined;
|
|
167
|
-
bytes25?: undefined;
|
|
168
|
-
bytes26?: undefined;
|
|
169
|
-
bytes27?: undefined;
|
|
170
|
-
bytes28?: undefined;
|
|
171
|
-
bytes29?: undefined;
|
|
172
|
-
bytes3?: undefined;
|
|
173
|
-
bytes30?: undefined;
|
|
174
|
-
bytes31?: undefined;
|
|
175
|
-
bytes32?: undefined;
|
|
176
|
-
bytes4?: undefined;
|
|
177
|
-
bytes5?: undefined;
|
|
178
|
-
bytes6?: undefined;
|
|
179
|
-
bytes7?: undefined;
|
|
180
|
-
bytes8?: undefined;
|
|
181
|
-
bytes9?: undefined;
|
|
182
|
-
int104?: undefined;
|
|
183
|
-
int112?: undefined;
|
|
184
|
-
int120?: undefined;
|
|
185
|
-
int128?: undefined;
|
|
186
|
-
int136?: undefined;
|
|
187
|
-
int144?: undefined;
|
|
188
|
-
int152?: undefined;
|
|
189
|
-
int16?: undefined;
|
|
190
|
-
int160?: undefined;
|
|
191
|
-
int168?: undefined;
|
|
192
|
-
int176?: undefined;
|
|
193
|
-
int184?: undefined;
|
|
194
|
-
int192?: undefined;
|
|
195
|
-
int200?: undefined;
|
|
196
|
-
int208?: undefined;
|
|
197
|
-
int216?: undefined;
|
|
198
|
-
int224?: undefined;
|
|
199
|
-
int232?: undefined;
|
|
200
|
-
int24?: undefined;
|
|
201
|
-
int240?: undefined;
|
|
202
|
-
int248?: undefined;
|
|
203
|
-
int256?: undefined;
|
|
204
|
-
int32?: undefined;
|
|
205
|
-
int40?: undefined;
|
|
206
|
-
int48?: undefined;
|
|
207
|
-
int56?: undefined;
|
|
208
|
-
int64?: undefined;
|
|
209
|
-
int72?: undefined;
|
|
210
|
-
int8?: undefined;
|
|
211
|
-
int80?: undefined;
|
|
212
|
-
int88?: undefined;
|
|
213
|
-
int96?: undefined;
|
|
214
|
-
string?: undefined;
|
|
215
|
-
uint104?: undefined;
|
|
216
|
-
uint112?: undefined;
|
|
217
|
-
uint120?: undefined;
|
|
218
|
-
uint128?: undefined;
|
|
219
|
-
uint136?: undefined;
|
|
220
|
-
uint144?: undefined;
|
|
221
|
-
uint152?: undefined;
|
|
222
|
-
uint16?: undefined;
|
|
223
|
-
uint160?: undefined;
|
|
224
|
-
uint168?: undefined;
|
|
225
|
-
uint176?: undefined;
|
|
226
|
-
uint184?: undefined;
|
|
227
|
-
uint192?: undefined;
|
|
228
|
-
uint200?: undefined;
|
|
229
|
-
uint208?: undefined;
|
|
230
|
-
uint216?: undefined;
|
|
231
|
-
uint224?: undefined;
|
|
232
|
-
uint232?: undefined;
|
|
233
|
-
uint24?: undefined;
|
|
234
|
-
uint240?: undefined;
|
|
235
|
-
uint248?: undefined;
|
|
236
|
-
uint256?: undefined;
|
|
237
|
-
uint32?: undefined;
|
|
238
|
-
uint40?: undefined;
|
|
239
|
-
uint48?: undefined;
|
|
240
|
-
uint56?: undefined;
|
|
241
|
-
uint64?: undefined;
|
|
242
|
-
uint72?: undefined;
|
|
243
|
-
uint8?: undefined;
|
|
244
|
-
uint80?: undefined;
|
|
245
|
-
uint88?: undefined;
|
|
246
|
-
uint96?: undefined;
|
|
247
|
-
}, primaryType extends "EIP712Domain" | keyof typedData = keyof typedData>(parameters: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<`0x${string}`>;
|
|
248
|
-
publicKey: `0x${string}`;
|
|
249
|
-
source: "hd";
|
|
250
|
-
type: "local";
|
|
251
|
-
getHdKey: () => import("viem").HDKey;
|
|
252
|
-
} | {
|
|
253
|
-
address: `0x${string}`;
|
|
254
|
-
nonceManager?: import("viem").NonceManager | undefined;
|
|
255
|
-
sign: (parameters: {
|
|
256
|
-
hash: `0x${string}`;
|
|
257
|
-
}) => Promise<`0x${string}`>;
|
|
258
|
-
signAuthorization: (parameters: import("viem").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
259
|
-
signMessage: ({ message }: {
|
|
260
|
-
message: import("viem").SignableMessage;
|
|
261
|
-
}) => Promise<`0x${string}`>;
|
|
262
|
-
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
263
|
-
serializer?: serializer | undefined;
|
|
264
|
-
} | undefined) => Promise<`0x${string}`>;
|
|
265
|
-
signTypedData: <const typedData extends Record<string, unknown> | {
|
|
266
|
-
[x: string]: readonly import("viem").TypedDataParameter[];
|
|
267
|
-
[x: `address[${string}]`]: undefined;
|
|
268
|
-
[x: `bool[${string}]`]: undefined;
|
|
269
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
270
|
-
[x: `bytes11[${string}]`]: undefined;
|
|
271
|
-
[x: `bytes12[${string}]`]: undefined;
|
|
272
|
-
[x: `bytes13[${string}]`]: undefined;
|
|
273
|
-
[x: `bytes14[${string}]`]: undefined;
|
|
274
|
-
[x: `bytes15[${string}]`]: undefined;
|
|
275
|
-
[x: `bytes16[${string}]`]: undefined;
|
|
276
|
-
[x: `bytes17[${string}]`]: undefined;
|
|
277
|
-
[x: `bytes18[${string}]`]: undefined;
|
|
278
|
-
[x: `bytes19[${string}]`]: undefined;
|
|
279
|
-
[x: `bytes1[${string}]`]: undefined;
|
|
280
|
-
[x: `bytes20[${string}]`]: undefined;
|
|
281
|
-
[x: `bytes21[${string}]`]: undefined;
|
|
282
|
-
[x: `bytes22[${string}]`]: undefined;
|
|
283
|
-
[x: `bytes23[${string}]`]: undefined;
|
|
284
|
-
[x: `bytes24[${string}]`]: undefined;
|
|
285
|
-
[x: `bytes25[${string}]`]: undefined;
|
|
286
|
-
[x: `bytes26[${string}]`]: undefined;
|
|
287
|
-
[x: `bytes27[${string}]`]: undefined;
|
|
288
|
-
[x: `bytes28[${string}]`]: undefined;
|
|
289
|
-
[x: `bytes29[${string}]`]: undefined;
|
|
290
|
-
[x: `bytes2[${string}]`]: undefined;
|
|
291
|
-
[x: `bytes30[${string}]`]: undefined;
|
|
292
|
-
[x: `bytes31[${string}]`]: undefined;
|
|
293
|
-
[x: `bytes32[${string}]`]: undefined;
|
|
294
|
-
[x: `bytes3[${string}]`]: undefined;
|
|
295
|
-
[x: `bytes4[${string}]`]: undefined;
|
|
296
|
-
[x: `bytes5[${string}]`]: undefined;
|
|
297
|
-
[x: `bytes6[${string}]`]: undefined;
|
|
298
|
-
[x: `bytes7[${string}]`]: undefined;
|
|
299
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
300
|
-
[x: `bytes9[${string}]`]: undefined;
|
|
301
|
-
[x: `bytes[${string}]`]: undefined;
|
|
302
|
-
[x: `function[${string}]`]: undefined;
|
|
303
|
-
[x: `int104[${string}]`]: undefined;
|
|
304
|
-
[x: `int112[${string}]`]: undefined;
|
|
305
|
-
[x: `int120[${string}]`]: undefined;
|
|
306
|
-
[x: `int128[${string}]`]: undefined;
|
|
307
|
-
[x: `int136[${string}]`]: undefined;
|
|
308
|
-
[x: `int144[${string}]`]: undefined;
|
|
309
|
-
[x: `int152[${string}]`]: undefined;
|
|
310
|
-
[x: `int160[${string}]`]: undefined;
|
|
311
|
-
[x: `int168[${string}]`]: undefined;
|
|
312
|
-
[x: `int16[${string}]`]: undefined;
|
|
313
|
-
[x: `int176[${string}]`]: undefined;
|
|
314
|
-
[x: `int184[${string}]`]: undefined;
|
|
315
|
-
[x: `int192[${string}]`]: undefined;
|
|
316
|
-
[x: `int200[${string}]`]: undefined;
|
|
317
|
-
[x: `int208[${string}]`]: undefined;
|
|
318
|
-
[x: `int216[${string}]`]: undefined;
|
|
319
|
-
[x: `int224[${string}]`]: undefined;
|
|
320
|
-
[x: `int232[${string}]`]: undefined;
|
|
321
|
-
[x: `int240[${string}]`]: undefined;
|
|
322
|
-
[x: `int248[${string}]`]: undefined;
|
|
323
|
-
[x: `int24[${string}]`]: undefined;
|
|
324
|
-
[x: `int256[${string}]`]: undefined;
|
|
325
|
-
[x: `int32[${string}]`]: undefined;
|
|
326
|
-
[x: `int40[${string}]`]: undefined;
|
|
327
|
-
[x: `int48[${string}]`]: undefined;
|
|
328
|
-
[x: `int56[${string}]`]: undefined;
|
|
329
|
-
[x: `int64[${string}]`]: undefined;
|
|
330
|
-
[x: `int72[${string}]`]: undefined;
|
|
331
|
-
[x: `int80[${string}]`]: undefined;
|
|
332
|
-
[x: `int88[${string}]`]: undefined;
|
|
333
|
-
[x: `int8[${string}]`]: undefined;
|
|
334
|
-
[x: `int96[${string}]`]: undefined;
|
|
335
|
-
[x: `int[${string}]`]: undefined;
|
|
336
|
-
[x: `string[${string}]`]: undefined;
|
|
337
|
-
[x: `uint104[${string}]`]: undefined;
|
|
338
|
-
[x: `uint112[${string}]`]: undefined;
|
|
339
|
-
[x: `uint120[${string}]`]: undefined;
|
|
340
|
-
[x: `uint128[${string}]`]: undefined;
|
|
341
|
-
[x: `uint136[${string}]`]: undefined;
|
|
342
|
-
[x: `uint144[${string}]`]: undefined;
|
|
343
|
-
[x: `uint152[${string}]`]: undefined;
|
|
344
|
-
[x: `uint160[${string}]`]: undefined;
|
|
345
|
-
[x: `uint168[${string}]`]: undefined;
|
|
346
|
-
[x: `uint16[${string}]`]: undefined;
|
|
347
|
-
[x: `uint176[${string}]`]: undefined;
|
|
348
|
-
[x: `uint184[${string}]`]: undefined;
|
|
349
|
-
[x: `uint192[${string}]`]: undefined;
|
|
350
|
-
[x: `uint200[${string}]`]: undefined;
|
|
351
|
-
[x: `uint208[${string}]`]: undefined;
|
|
352
|
-
[x: `uint216[${string}]`]: undefined;
|
|
353
|
-
[x: `uint224[${string}]`]: undefined;
|
|
354
|
-
[x: `uint232[${string}]`]: undefined;
|
|
355
|
-
[x: `uint240[${string}]`]: undefined;
|
|
356
|
-
[x: `uint248[${string}]`]: undefined;
|
|
357
|
-
[x: `uint24[${string}]`]: undefined;
|
|
358
|
-
[x: `uint256[${string}]`]: undefined;
|
|
359
|
-
[x: `uint32[${string}]`]: undefined;
|
|
360
|
-
[x: `uint40[${string}]`]: undefined;
|
|
361
|
-
[x: `uint48[${string}]`]: undefined;
|
|
362
|
-
[x: `uint56[${string}]`]: undefined;
|
|
363
|
-
[x: `uint64[${string}]`]: undefined;
|
|
364
|
-
[x: `uint72[${string}]`]: undefined;
|
|
365
|
-
[x: `uint80[${string}]`]: undefined;
|
|
366
|
-
[x: `uint88[${string}]`]: undefined;
|
|
367
|
-
[x: `uint8[${string}]`]: undefined;
|
|
368
|
-
[x: `uint96[${string}]`]: undefined;
|
|
369
|
-
[x: `uint[${string}]`]: undefined;
|
|
370
|
-
address?: undefined;
|
|
371
|
-
bool?: undefined;
|
|
372
|
-
bytes?: undefined;
|
|
373
|
-
bytes1?: undefined;
|
|
374
|
-
bytes10?: undefined;
|
|
375
|
-
bytes11?: undefined;
|
|
376
|
-
bytes12?: undefined;
|
|
377
|
-
bytes13?: undefined;
|
|
378
|
-
bytes14?: undefined;
|
|
379
|
-
bytes15?: undefined;
|
|
380
|
-
bytes16?: undefined;
|
|
381
|
-
bytes17?: undefined;
|
|
382
|
-
bytes18?: undefined;
|
|
383
|
-
bytes19?: undefined;
|
|
384
|
-
bytes2?: undefined;
|
|
385
|
-
bytes20?: undefined;
|
|
386
|
-
bytes21?: undefined;
|
|
387
|
-
bytes22?: undefined;
|
|
388
|
-
bytes23?: undefined;
|
|
389
|
-
bytes24?: undefined;
|
|
390
|
-
bytes25?: undefined;
|
|
391
|
-
bytes26?: undefined;
|
|
392
|
-
bytes27?: undefined;
|
|
393
|
-
bytes28?: undefined;
|
|
394
|
-
bytes29?: undefined;
|
|
395
|
-
bytes3?: undefined;
|
|
396
|
-
bytes30?: undefined;
|
|
397
|
-
bytes31?: undefined;
|
|
398
|
-
bytes32?: undefined;
|
|
399
|
-
bytes4?: undefined;
|
|
400
|
-
bytes5?: undefined;
|
|
401
|
-
bytes6?: undefined;
|
|
402
|
-
bytes7?: undefined;
|
|
403
|
-
bytes8?: undefined;
|
|
404
|
-
bytes9?: undefined;
|
|
405
|
-
int104?: undefined;
|
|
406
|
-
int112?: undefined;
|
|
407
|
-
int120?: undefined;
|
|
408
|
-
int128?: undefined;
|
|
409
|
-
int136?: undefined;
|
|
410
|
-
int144?: undefined;
|
|
411
|
-
int152?: undefined;
|
|
412
|
-
int16?: undefined;
|
|
413
|
-
int160?: undefined;
|
|
414
|
-
int168?: undefined;
|
|
415
|
-
int176?: undefined;
|
|
416
|
-
int184?: undefined;
|
|
417
|
-
int192?: undefined;
|
|
418
|
-
int200?: undefined;
|
|
419
|
-
int208?: undefined;
|
|
420
|
-
int216?: undefined;
|
|
421
|
-
int224?: undefined;
|
|
422
|
-
int232?: undefined;
|
|
423
|
-
int24?: undefined;
|
|
424
|
-
int240?: undefined;
|
|
425
|
-
int248?: undefined;
|
|
426
|
-
int256?: undefined;
|
|
427
|
-
int32?: undefined;
|
|
428
|
-
int40?: undefined;
|
|
429
|
-
int48?: undefined;
|
|
430
|
-
int56?: undefined;
|
|
431
|
-
int64?: undefined;
|
|
432
|
-
int72?: undefined;
|
|
433
|
-
int8?: undefined;
|
|
434
|
-
int80?: undefined;
|
|
435
|
-
int88?: undefined;
|
|
436
|
-
int96?: undefined;
|
|
437
|
-
string?: undefined;
|
|
438
|
-
uint104?: undefined;
|
|
439
|
-
uint112?: undefined;
|
|
440
|
-
uint120?: undefined;
|
|
441
|
-
uint128?: undefined;
|
|
442
|
-
uint136?: undefined;
|
|
443
|
-
uint144?: undefined;
|
|
444
|
-
uint152?: undefined;
|
|
445
|
-
uint16?: undefined;
|
|
446
|
-
uint160?: undefined;
|
|
447
|
-
uint168?: undefined;
|
|
448
|
-
uint176?: undefined;
|
|
449
|
-
uint184?: undefined;
|
|
450
|
-
uint192?: undefined;
|
|
451
|
-
uint200?: undefined;
|
|
452
|
-
uint208?: undefined;
|
|
453
|
-
uint216?: undefined;
|
|
454
|
-
uint224?: undefined;
|
|
455
|
-
uint232?: undefined;
|
|
456
|
-
uint24?: undefined;
|
|
457
|
-
uint240?: undefined;
|
|
458
|
-
uint248?: undefined;
|
|
459
|
-
uint256?: undefined;
|
|
460
|
-
uint32?: undefined;
|
|
461
|
-
uint40?: undefined;
|
|
462
|
-
uint48?: undefined;
|
|
463
|
-
uint56?: undefined;
|
|
464
|
-
uint64?: undefined;
|
|
465
|
-
uint72?: undefined;
|
|
466
|
-
uint8?: undefined;
|
|
467
|
-
uint80?: undefined;
|
|
468
|
-
uint88?: undefined;
|
|
469
|
-
uint96?: undefined;
|
|
470
|
-
}, primaryType extends "EIP712Domain" | keyof typedData = keyof typedData>(parameters: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<`0x${string}`>;
|
|
471
|
-
publicKey: `0x${string}`;
|
|
472
|
-
source: "privateKey";
|
|
473
|
-
type: "local";
|
|
474
|
-
}, logger: Logger, args?: Partial<DeployL1ContractsArgs>, chain?: Chain) => Promise<DeployL1ContractsReturnType>;
|
|
475
|
-
/**
|
|
476
|
-
* Sets up Private eXecution Environment (PXE) and returns the corresponding test wallet.
|
|
477
|
-
* @param aztecNode - An instance of Aztec Node.
|
|
478
|
-
* @param opts - Partial configuration for the PXE.
|
|
479
|
-
* @param logger - The logger to be used.
|
|
480
|
-
* @param useLogSuffix - Whether to add a randomly generated suffix to the PXE debug logs.
|
|
481
|
-
* @returns A test wallet, logger and teardown function.
|
|
482
|
-
*/
|
|
483
|
-
export declare function setupPXEAndGetWallet(aztecNode: AztecNode, opts?: Partial<PXEConfig>, logger?: Logger, useLogSuffix?: boolean): Promise<{
|
|
484
|
-
/**
|
|
485
|
-
* The wallet instance.
|
|
486
|
-
*/
|
|
487
|
-
wallet: TestWallet;
|
|
488
|
-
/**
|
|
489
|
-
* Logger instance named as the current test.
|
|
490
|
-
*/
|
|
491
|
-
logger: Logger;
|
|
492
|
-
/**
|
|
493
|
-
* Teardown function
|
|
494
|
-
*/
|
|
495
|
-
teardown: () => Promise<void>;
|
|
496
|
-
}>;
|
|
497
|
-
/** Options for the e2e tests setup */
|
|
498
|
-
export type SetupOptions = {
|
|
499
|
-
/** State load */
|
|
500
|
-
stateLoad?: string;
|
|
501
|
-
/** Whether to enable metrics collection, if undefined, metrics collection is disabled */
|
|
502
|
-
metricsPort?: number | undefined;
|
|
503
|
-
/** Previously deployed contracts on L1 */
|
|
504
|
-
deployL1ContractsValues?: DeployL1ContractsReturnType;
|
|
505
|
-
/** Whether to skip deployment of protocol contracts (auth registry, etc) */
|
|
506
|
-
skipProtocolContracts?: boolean;
|
|
507
|
-
/** Initial fee juice for default accounts */
|
|
508
|
-
initialAccountFeeJuice?: Fr;
|
|
509
|
-
/** Number of initial accounts funded with fee juice */
|
|
510
|
-
numberOfInitialFundedAccounts?: number;
|
|
511
|
-
/** Data of the initial funded accounts */
|
|
512
|
-
initialFundedAccounts?: InitialAccountData[];
|
|
513
|
-
/** Salt to use in L1 contract deployment */
|
|
514
|
-
salt?: number;
|
|
515
|
-
/** An initial set of validators */
|
|
516
|
-
initialValidators?: (Operator & {
|
|
517
|
-
privateKey: `0x${string}`;
|
|
518
|
-
})[];
|
|
519
|
-
/** Anvil Start time */
|
|
520
|
-
l1StartTime?: number;
|
|
521
|
-
/** The anvil time where we should at the earliest be seeing L2 blocks */
|
|
522
|
-
l2StartTime?: number;
|
|
523
|
-
/** Whether to start a prover node */
|
|
524
|
-
startProverNode?: boolean;
|
|
525
|
-
/** Whether to fund the rewardDistributor */
|
|
526
|
-
fundRewardDistributor?: boolean;
|
|
527
|
-
/** Manual config for the telemetry client */
|
|
528
|
-
telemetryConfig?: Partial<TelemetryClientConfig> & {
|
|
529
|
-
benchmark?: boolean;
|
|
530
|
-
};
|
|
531
|
-
/** Public data that will be inserted in the tree in genesis */
|
|
532
|
-
genesisPublicData?: PublicDataTreeLeaf[];
|
|
533
|
-
/** Specific config for the prover node, if set. */
|
|
534
|
-
proverNodeConfig?: Partial<ProverNodeConfig>;
|
|
535
|
-
/** Whether to use a mock gossip sub network for p2p clients. */
|
|
536
|
-
mockGossipSubNetwork?: boolean;
|
|
537
|
-
/** Whether to disable the anvil test watcher (can still be manually started) */
|
|
538
|
-
disableAnvilTestWatcher?: boolean;
|
|
539
|
-
/** Whether to enable anvil automine during deployment of L1 contracts (consider defaulting this to true). */
|
|
540
|
-
automineL1Setup?: boolean;
|
|
541
|
-
/** How many accounts to seed and unlock in anvil. */
|
|
542
|
-
anvilAccounts?: number;
|
|
543
|
-
/** Port to start anvil (defaults to 8545) */
|
|
544
|
-
anvilPort?: number;
|
|
545
|
-
/** Key to use for publishing L1 contracts */
|
|
546
|
-
l1PublisherKey?: SecretValue<`0x${string}`>;
|
|
547
|
-
} & Partial<AztecNodeConfig>;
|
|
548
|
-
/** Context for an end-to-end test as returned by the `setup` function */
|
|
549
|
-
export type EndToEndContext = {
|
|
550
|
-
/** The Aztec Node service or client a connected to it. */
|
|
551
|
-
aztecNode: AztecNode;
|
|
552
|
-
/** Client to the Aztec Node admin interface (undefined if connected to remote environment) */
|
|
553
|
-
aztecNodeAdmin?: AztecNodeAdmin;
|
|
554
|
-
/** The prover node service (only set if startProverNode is true) */
|
|
555
|
-
proverNode: ProverNode | undefined;
|
|
556
|
-
/** A client to the sequencer service (undefined if connected to remote environment) */
|
|
557
|
-
sequencer: SequencerClient | undefined;
|
|
558
|
-
/** Return values from deployL1Contracts function. */
|
|
559
|
-
deployL1ContractsValues: DeployL1ContractsReturnType;
|
|
560
|
-
/** The Aztec Node configuration. */
|
|
561
|
-
config: AztecNodeConfig;
|
|
562
|
-
/** The data for the initial funded accounts. */
|
|
563
|
-
initialFundedAccounts: InitialAccountData[];
|
|
564
|
-
/** The wallet to be used. */
|
|
565
|
-
wallet: TestWallet;
|
|
566
|
-
/** The wallets to be used. */
|
|
567
|
-
accounts: AztecAddress[];
|
|
568
|
-
/** Logger instance named as the current test. */
|
|
569
|
-
logger: Logger;
|
|
570
|
-
/** The cheat codes. */
|
|
571
|
-
cheatCodes: CheatCodes;
|
|
572
|
-
/** The cheat codes for L1 */
|
|
573
|
-
ethCheatCodes: EthCheatCodes;
|
|
574
|
-
/** The anvil test watcher (undefined if connected to remote environment) */
|
|
575
|
-
watcher: AnvilTestWatcher | undefined;
|
|
576
|
-
/** Allows tweaking current system time, used by the epoch cache only (undefined if connected to remote environment) */
|
|
577
|
-
dateProvider: TestDateProvider | undefined;
|
|
578
|
-
/** The blob sink (undefined if connected to remote environment) */
|
|
579
|
-
blobSink: BlobSinkServer | undefined;
|
|
580
|
-
/** Telemetry client */
|
|
581
|
-
telemetryClient: TelemetryClient | undefined;
|
|
582
|
-
/** Mock gossip sub network used for gossipping messages (only if mockGossipSubNetwork was set to true in opts) */
|
|
583
|
-
mockGossipSubNetwork: MockGossipSubNetwork | undefined;
|
|
584
|
-
/** Prefilled public data used for setting up nodes. */
|
|
585
|
-
prefilledPublicData: PublicDataTreeLeaf[] | undefined;
|
|
586
|
-
/** Function to stop the started services. */
|
|
587
|
-
teardown: () => Promise<void>;
|
|
588
|
-
};
|
|
589
|
-
/**
|
|
590
|
-
* Sets up the environment for the end-to-end tests.
|
|
591
|
-
* @param numberOfAccounts - The number of new accounts to be created once the PXE is initiated.
|
|
592
|
-
* @param opts - Options to pass to the node initialization and to the setup script.
|
|
593
|
-
* @param pxeOpts - Options to pass to the PXE initialization.
|
|
594
|
-
*/
|
|
595
|
-
export declare function setup(numberOfAccounts?: number, opts?: SetupOptions, pxeOpts?: Partial<PXEConfig>, chain?: Chain): Promise<EndToEndContext>;
|
|
596
|
-
/**
|
|
597
|
-
* Registers the contract class used for test accounts and publicly deploys the instances requested.
|
|
598
|
-
* Use this when you need to make a public call to an account contract, such as for requesting a public authwit.
|
|
599
|
-
* @param sender - Wallet to send the deployment tx.
|
|
600
|
-
* @param accountsToDeploy - Which accounts to publicly deploy.
|
|
601
|
-
*/
|
|
602
|
-
export declare function ensureAccountContractsPublished(wallet: Wallet, accountsToDeploy: AztecAddress[]): Promise<void>;
|
|
603
|
-
/**
|
|
604
|
-
* Returns a logger instance for the current test.
|
|
605
|
-
* @returns a logger instance for the current test.
|
|
606
|
-
*/
|
|
607
|
-
export declare function getLogger(): Logger;
|
|
608
|
-
export type BalancesFn = ReturnType<typeof getBalancesFn>;
|
|
609
|
-
export declare function getBalancesFn(symbol: string, method: ContractMethod, from: AztecAddress, logger: any): (...addresses: (AztecAddress | {
|
|
610
|
-
address: AztecAddress;
|
|
611
|
-
})[]) => Promise<bigint[]>;
|
|
612
|
-
export declare function expectMapping<K, V>(fn: (...k: K[]) => Promise<V[]>, inputs: K[], expectedOutputs: V[]): Promise<void>;
|
|
613
|
-
export declare function expectMappingDelta<K, V extends number | bigint>(initialValues: V[], fn: (...k: K[]) => Promise<V[]>, inputs: K[], expectedDiffs: V[]): Promise<void>;
|
|
614
|
-
/**
|
|
615
|
-
* Computes the address of the "canonical" SponsoredFPCContract. This is not a protocol contract
|
|
616
|
-
* but by conventions its address is computed with a salt of 0.
|
|
617
|
-
* @returns The address of the sponsored FPC contract
|
|
618
|
-
*/
|
|
619
|
-
export declare function getSponsoredFPCInstance(): Promise<ContractInstanceWithAddress>;
|
|
620
|
-
/**
|
|
621
|
-
* Computes the address of the "canonical" SponsoredFPCContract. This is not a protocol contract
|
|
622
|
-
* but by conventions its address is computed with a salt of 0.
|
|
623
|
-
* @returns The address of the sponsored FPC contract
|
|
624
|
-
*/
|
|
625
|
-
export declare function getSponsoredFPCAddress(): Promise<AztecAddress>;
|
|
626
|
-
/**
|
|
627
|
-
* Deploy a sponsored FPC contract to a running instance.
|
|
628
|
-
*/
|
|
629
|
-
export declare function setupSponsoredFPC(wallet: Wallet): Promise<ContractInstanceWithAddress>;
|
|
630
1
|
/**
|
|
631
|
-
*
|
|
632
|
-
*
|
|
2
|
+
* Re-exports from the unified setup module for backward compatibility.
|
|
3
|
+
* Tests that previously used utils.ts should continue to work.
|
|
633
4
|
*/
|
|
634
|
-
export
|
|
635
|
-
export
|
|
636
|
-
|
|
637
|
-
dontStart?: boolean;
|
|
638
|
-
}, aztecNode: AztecNode | undefined, prefilledPublicData?: PublicDataTreeLeaf[], proverNodeDeps?: ProverNodeDeps): Promise<ProverNode>;
|
|
639
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9maXh0dXJlcy91dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsS0FBSyxrQkFBa0IsRUFBdUQsTUFBTSx5QkFBeUIsQ0FBQztBQUV2SCxPQUFPLEVBQUUsS0FBSyxlQUFlLEVBQXNDLE1BQU0sbUJBQW1CLENBQUM7QUFDN0YsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ3pELE9BQU8sRUFBYSxLQUFLLGNBQWMsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBRTNFLE9BQU8sRUFBRSxLQUFLLE1BQU0sRUFBZ0IsTUFBTSxxQkFBcUIsQ0FBQ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R0FBRyxPQUFPLENBQUMsSUFBSSxDQUFDLENBRXhFO0FBRUQsd0JBQXNCLGtCQUFrQixDQUFDLElBQUksRUFBRSxTQUFTLEVBQUUsV0FBVyxDQUFDLEVBQUUsTUFBTSxFQUFFLFVBQVUsU0FBSyxFQUFFLFdBQVcsU0FBSSxpQkFTL0c7QUFFRCx3QkFBZ0IsdUJBQXVCLENBQ3JDLG9CQUFvQixFQUFFLEtBQUssTUFBTSxFQUFFLEVBQ25DLGVBQWUsRUFBRSxlQUFlLEVBQ2hDLGdCQUFnQixFQUFFLE9BQU8sQ0FBQyxnQkFBZ0IsQ0FBQyxHQUFHLElBQUksQ0FBQyxlQUFlLEVBQUUsZUFBZSxDQUFDLEdBQUc7SUFBRSxTQUFTLENBQUMsRUFBRSxPQUFPLENBQUE7Q0FBRSxFQUM5RyxTQUFTLEVBQUUsU0FBUyxHQUFHLFNBQVMsRUFDaEMsbUJBQW1CLEdBQUUsa0JBQWtCLEVBQU8sRUFDOUMsY0FBYyxHQUFFLGNBQW1CLHVCQTJEcEMifQ==
|
|
5
|
+
export { type BalancesFn, type EndToEndContext, type SetupOptions, createAndSyncProverNode, deployAccounts, ensureAccountContractsPublished, expectMapping, expectMappingDelta, getBalancesFn, getLogger, getPrivateKeyFromIndex, getSponsoredFPCAddress, getSponsoredFPCInstance, publicDeployAccounts, registerSponsoredFPC, setup, setupPXEAndGetWallet, setupSharedBlobStorage, setupSponsoredFPC, startAnvil, teardown, waitForProvenChain, } from './setup.js';
|
|
6
|
+
export { deployAndInitializeTokenAndBridgeContracts } from '../shared/cross_chain_test_harness.js';
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9maXh0dXJlcy91dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7O0dBR0c7QUFDSCxPQUFPLEVBQ0wsS0FBSyxVQUFVLEVBQ2YsS0FBSyxlQUFlLEVBQ3BCLEtBQUssWUFBWSxFQUNqQix1QkFBdUIsRUFDdkIsY0FBYyxFQUNkLCtCQUErQixFQUMvQixhQUFhLEVBQ2Isa0JBQWtCLEVBQ2xCLGFBQWEsRUFDYixTQUFTLEVBQ1Qsc0JBQXNCLEVBQ3RCLHNCQUFzQixFQUN0Qix1QkFBdUIsRUFDdkIsb0JBQW9CLEVBQ3BCLG9CQUFvQixFQUNwQixLQUFLLEVBQ0wsb0JBQW9CLEVBQ3BCLHNCQUFzQixFQUN0QixpQkFBaUIsRUFDakIsVUFBVSxFQUNWLFFBQVEsRUFDUixrQkFBa0IsR0FDbkIsTUFBTSxZQUFZLENBQUM7QUFFcEIsT0FBTyxFQUFFLDBDQUEwQyxFQUFFLE1BQU0sdUNBQXVDLENBQUMifQ==
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/fixtures/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/fixtures/utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EACL,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,uBAAuB,EACvB,cAAc,EACd,+BAA+B,EAC/B,aAAa,EACb,kBAAkB,EAClB,aAAa,EACb,SAAS,EACT,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,EACvB,oBAAoB,EACpB,oBAAoB,EACpB,KAAK,EACL,oBAAoB,EACpB,sBAAsB,EACtB,iBAAiB,EACjB,UAAU,EACV,QAAQ,EACR,kBAAkB,GACnB,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,0CAA0C,EAAE,MAAM,uCAAuC,CAAC"}
|