@aztec/end-to-end 0.0.1-commit.7b97ef96e → 0.0.1-commit.7cbc774
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/README.md +27 -0
- package/dest/bench/client_flows/benchmark.d.ts +15 -1
- package/dest/bench/client_flows/benchmark.d.ts.map +1 -1
- package/dest/bench/client_flows/benchmark.js +17 -0
- package/dest/bench/client_flows/client_flows_benchmark.d.ts +2 -2
- package/dest/bench/client_flows/client_flows_benchmark.d.ts.map +1 -1
- package/dest/bench/client_flows/client_flows_benchmark.js +33 -36
- package/dest/bench/utils.d.ts +1 -1
- package/dest/bench/utils.d.ts.map +1 -1
- package/dest/bench/utils.js +8 -3
- package/dest/e2e_blacklist_token_contract/blacklist_token_contract_test.d.ts +5 -4
- 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 +28 -19
- package/dest/e2e_cross_chain_messaging/cross_chain_messaging_test.d.ts +15 -4
- 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 +39 -7
- package/dest/e2e_deploy_contract/deploy_test.d.ts +3 -3
- package/dest/e2e_deploy_contract/deploy_test.d.ts.map +1 -1
- package/dest/e2e_deploy_contract/deploy_test.js +2 -1
- package/dest/e2e_epochs/epochs_test.d.ts +25 -2
- package/dest/e2e_epochs/epochs_test.d.ts.map +1 -1
- package/dest/e2e_epochs/epochs_test.js +88 -14
- package/dest/e2e_fees/fees_test.d.ts +5 -2
- package/dest/e2e_fees/fees_test.d.ts.map +1 -1
- package/dest/e2e_fees/fees_test.js +45 -12
- package/dest/e2e_nested_contract/nested_contract_test.d.ts +3 -3
- package/dest/e2e_nested_contract/nested_contract_test.d.ts.map +1 -1
- package/dest/e2e_nested_contract/nested_contract_test.js +6 -7
- package/dest/e2e_p2p/inactivity_slash_test.d.ts +1 -1
- package/dest/e2e_p2p/inactivity_slash_test.d.ts.map +1 -1
- package/dest/e2e_p2p/inactivity_slash_test.js +5 -3
- 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 +65 -43
- package/dest/e2e_p2p/reqresp/utils.d.ts +1 -1
- package/dest/e2e_p2p/reqresp/utils.d.ts.map +1 -1
- package/dest/e2e_p2p/reqresp/utils.js +42 -13
- package/dest/e2e_p2p/shared.d.ts +25 -7
- package/dest/e2e_p2p/shared.d.ts.map +1 -1
- package/dest/e2e_p2p/shared.js +73 -50
- package/dest/e2e_token_contract/token_contract_test.d.ts +3 -3
- package/dest/e2e_token_contract/token_contract_test.d.ts.map +1 -1
- package/dest/e2e_token_contract/token_contract_test.js +15 -13
- package/dest/fixtures/authwit_proxy.d.ts +3 -3
- package/dest/fixtures/authwit_proxy.d.ts.map +1 -1
- package/dest/fixtures/authwit_proxy.js +4 -0
- package/dest/fixtures/e2e_prover_test.d.ts +6 -5
- package/dest/fixtures/e2e_prover_test.d.ts.map +1 -1
- package/dest/fixtures/e2e_prover_test.js +13 -17
- package/dest/fixtures/elu_monitor.d.ts +21 -0
- package/dest/fixtures/elu_monitor.d.ts.map +1 -0
- package/dest/fixtures/elu_monitor.js +102 -0
- package/dest/fixtures/fixtures.d.ts +73 -1
- package/dest/fixtures/fixtures.d.ts.map +1 -1
- package/dest/fixtures/fixtures.js +68 -0
- package/dest/fixtures/get_bb_config.d.ts +1 -1
- package/dest/fixtures/get_bb_config.d.ts.map +1 -1
- package/dest/fixtures/get_bb_config.js +5 -5
- package/dest/fixtures/ha_setup.d.ts +2 -2
- package/dest/fixtures/ha_setup.d.ts.map +1 -1
- package/dest/fixtures/ha_setup.js +1 -1
- package/dest/fixtures/schnorr_hardcoded_account_contract.d.ts +25 -0
- package/dest/fixtures/schnorr_hardcoded_account_contract.d.ts.map +1 -0
- package/dest/fixtures/schnorr_hardcoded_account_contract.js +37 -0
- package/dest/fixtures/setup.d.ts +45 -14
- package/dest/fixtures/setup.d.ts.map +1 -1
- package/dest/fixtures/setup.js +138 -29
- package/dest/fixtures/setup_p2p_test.d.ts +10 -6
- package/dest/fixtures/setup_p2p_test.d.ts.map +1 -1
- package/dest/fixtures/setup_p2p_test.js +8 -8
- 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 +2 -5
- package/dest/fixtures/utils.d.ts +2 -2
- package/dest/fixtures/utils.d.ts.map +1 -1
- package/dest/fixtures/utils.js +1 -1
- package/dest/forward-compatibility/wallet_rpc_client.d.ts +7 -0
- package/dest/forward-compatibility/wallet_rpc_client.d.ts.map +1 -0
- package/dest/forward-compatibility/wallet_rpc_client.js +15 -0
- package/dest/forward-compatibility/wallet_service.d.ts +3 -0
- package/dest/forward-compatibility/wallet_service.d.ts.map +1 -0
- package/dest/forward-compatibility/wallet_service.js +109 -0
- package/dest/install_legacy_contracts.d.cts +10 -0
- package/dest/install_legacy_contracts.d.cts.map +1 -0
- package/dest/legacy-jest-resolver.d.cts +3 -0
- package/dest/legacy-jest-resolver.d.cts.map +1 -0
- package/dest/shared/cross_chain_test_harness.d.ts +4 -2
- package/dest/shared/cross_chain_test_harness.d.ts.map +1 -1
- package/dest/shared/cross_chain_test_harness.js +22 -18
- package/dest/shared/gas_portal_test_harness.d.ts +8 -5
- package/dest/shared/gas_portal_test_harness.d.ts.map +1 -1
- package/dest/shared/gas_portal_test_harness.js +19 -10
- package/dest/shared/jest_setup.js +41 -1
- package/dest/shared/submit-transactions.d.ts +1 -1
- package/dest/shared/submit-transactions.d.ts.map +1 -1
- package/dest/shared/submit-transactions.js +1 -1
- package/dest/shared/uniswap_l1_l2.d.ts +1 -1
- package/dest/shared/uniswap_l1_l2.d.ts.map +1 -1
- package/dest/shared/uniswap_l1_l2.js +60 -39
- package/dest/shared/wait_for_l1_to_l2_message.d.ts +13 -0
- package/dest/shared/wait_for_l1_to_l2_message.d.ts.map +1 -0
- package/dest/shared/wait_for_l1_to_l2_message.js +10 -0
- package/dest/simulators/lending_simulator.d.ts +10 -3
- package/dest/simulators/lending_simulator.d.ts.map +1 -1
- package/dest/simulators/lending_simulator.js +26 -14
- package/dest/simulators/token_simulator.d.ts +1 -1
- package/dest/simulators/token_simulator.d.ts.map +1 -1
- package/dest/simulators/token_simulator.js +2 -2
- package/dest/spartan/setup_test_wallets.d.ts +4 -2
- package/dest/spartan/setup_test_wallets.d.ts.map +1 -1
- package/dest/spartan/setup_test_wallets.js +72 -39
- package/dest/spartan/tx_metrics.d.ts +18 -4
- package/dest/spartan/tx_metrics.d.ts.map +1 -1
- package/dest/spartan/tx_metrics.js +74 -21
- package/dest/spartan/utils/config.d.ts +10 -30
- package/dest/spartan/utils/config.d.ts.map +1 -1
- package/dest/spartan/utils/config.js +3 -1
- package/dest/spartan/utils/index.d.ts +3 -1
- package/dest/spartan/utils/index.d.ts.map +1 -1
- package/dest/spartan/utils/index.js +4 -0
- package/dest/spartan/utils/nodes.d.ts +4 -5
- package/dest/spartan/utils/nodes.d.ts.map +1 -1
- package/dest/spartan/utils/nodes.js +11 -11
- package/dest/spartan/utils/pod_logs.d.ts +25 -0
- package/dest/spartan/utils/pod_logs.d.ts.map +1 -0
- package/dest/spartan/utils/pod_logs.js +74 -0
- package/dest/test-wallet/test_wallet.d.ts +25 -23
- package/dest/test-wallet/test_wallet.d.ts.map +1 -1
- package/dest/test-wallet/test_wallet.js +146 -87
- package/dest/test-wallet/utils.d.ts +3 -3
- package/dest/test-wallet/utils.d.ts.map +1 -1
- package/dest/test-wallet/utils.js +2 -7
- package/dest/test-wallet/wallet_worker_script.js +42 -34
- package/dest/test-wallet/worker_wallet.d.ts +5 -4
- package/dest/test-wallet/worker_wallet.d.ts.map +1 -1
- package/dest/test-wallet/worker_wallet.js +56 -4
- package/dest/test-wallet/worker_wallet_schema.d.ts +110 -224
- package/dest/test-wallet/worker_wallet_schema.d.ts.map +1 -1
- package/dest/test-wallet/worker_wallet_schema.js +14 -2
- package/package.json +49 -46
- package/src/bench/client_flows/benchmark.ts +19 -0
- package/src/bench/client_flows/client_flows_benchmark.ts +60 -41
- package/src/bench/utils.ts +9 -3
- package/src/e2e_blacklist_token_contract/blacklist_token_contract_test.ts +42 -24
- package/src/e2e_cross_chain_messaging/cross_chain_messaging_test.ts +49 -11
- package/src/e2e_deploy_contract/deploy_test.ts +3 -2
- package/src/e2e_epochs/epochs_test.ts +99 -11
- package/src/e2e_fees/fees_test.ts +50 -10
- package/src/e2e_nested_contract/nested_contract_test.ts +9 -5
- package/src/e2e_p2p/inactivity_slash_test.ts +5 -3
- package/src/e2e_p2p/p2p_network.ts +82 -60
- package/src/e2e_p2p/reqresp/utils.ts +51 -12
- package/src/e2e_p2p/shared.ts +92 -64
- package/src/e2e_token_contract/token_contract_test.ts +28 -10
- package/src/fixtures/authwit_proxy.ts +4 -0
- package/src/fixtures/e2e_prover_test.ts +22 -19
- package/src/fixtures/elu_monitor.ts +126 -0
- package/src/fixtures/fixtures.ts +86 -0
- package/src/fixtures/get_bb_config.ts +7 -6
- package/src/fixtures/ha_setup.ts +4 -2
- package/src/fixtures/schnorr_hardcoded_account_contract.ts +49 -0
- package/src/fixtures/setup.ts +179 -38
- package/src/fixtures/setup_p2p_test.ts +13 -9
- package/src/fixtures/token_utils.ts +1 -2
- package/src/fixtures/utils.ts +2 -0
- package/src/forward-compatibility/wallet_rpc_client.ts +14 -0
- package/src/forward-compatibility/wallet_service.ts +104 -0
- package/src/guides/up_quick_start.sh +0 -2
- package/src/install_legacy_contracts.cjs +75 -0
- package/src/legacy-jest-resolver.cjs +112 -0
- package/src/shared/cross_chain_test_harness.ts +27 -13
- package/src/shared/gas_portal_test_harness.ts +21 -11
- package/src/shared/jest_setup.ts +51 -1
- package/src/shared/submit-transactions.ts +1 -4
- package/src/shared/uniswap_l1_l2.ts +77 -50
- package/src/shared/wait_for_l1_to_l2_message.ts +23 -0
- package/src/simulators/lending_simulator.ts +32 -14
- package/src/simulators/token_simulator.ts +6 -2
- package/src/spartan/setup_test_wallets.ts +91 -37
- package/src/spartan/tx_metrics.ts +82 -24
- package/src/spartan/utils/config.ts +2 -0
- package/src/spartan/utils/index.ts +6 -0
- package/src/spartan/utils/nodes.ts +17 -12
- package/src/spartan/utils/pod_logs.ts +99 -0
- package/src/test-wallet/test_wallet.ts +174 -104
- package/src/test-wallet/utils.ts +3 -7
- package/src/test-wallet/wallet_worker_script.ts +48 -31
- package/src/test-wallet/worker_wallet.ts +60 -7
- package/src/test-wallet/worker_wallet_schema.ts +2 -2
|
@@ -3,32 +3,33 @@ import { Tx } from '@aztec/stdlib/tx';
|
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
/** Schema for the WorkerWallet API — extends WalletSchema with proveTx and registerAccount. */
|
|
5
5
|
export declare const WorkerWalletSchema: {
|
|
6
|
-
getPrivateEvents: z.ZodFunction<z.ZodTuple<[z.ZodType<import("@aztec/stdlib/abi").EventMetadataDefinition, z.
|
|
7
|
-
getChainInfo: z.ZodFunction<z.ZodTuple<[],
|
|
8
|
-
getContractMetadata: z.ZodFunction<z.ZodTuple<[z.ZodType<AztecAddress, z.
|
|
9
|
-
getContractClassMetadata: z.ZodFunction<z.ZodTuple<[z.ZodType<import("@aztec/foundation/schemas").Fr, z.
|
|
10
|
-
registerSender: z.ZodFunction<z.ZodTuple<[z.ZodType<AztecAddress, z.
|
|
11
|
-
getAddressBook: z.ZodFunction<z.ZodTuple<[],
|
|
12
|
-
getAccounts: z.ZodFunction<z.ZodTuple<[],
|
|
13
|
-
registerContract: z.ZodFunction<z.ZodTuple<[z.ZodType<import("@aztec/stdlib/contract").ContractInstanceWithAddress, z.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
6
|
+
getPrivateEvents: z.ZodFunction<z.ZodTuple<[eventMetadata: z.ZodType<import("@aztec/stdlib/abi").EventMetadataDefinition, any, z.core.$ZodTypeInternals<import("@aztec/stdlib/abi").EventMetadataDefinition, any>>, eventFilter: z.ZodType<import("@aztec/aztec.js/wallet").PrivateEventFilter, any, z.core.$ZodTypeInternals<import("@aztec/aztec.js/wallet").PrivateEventFilter, any>>], null>, z.ZodType<import("@aztec/aztec.js/wallet").PrivateEvent<unknown>[], any, z.core.$ZodTypeInternals<import("@aztec/aztec.js/wallet").PrivateEvent<unknown>[], any>>>;
|
|
7
|
+
getChainInfo: z.ZodFunction<z.ZodTuple<[], null>, z.ZodType<import("@aztec/entrypoints/interfaces").ChainInfo, any, z.core.$ZodTypeInternals<import("@aztec/entrypoints/interfaces").ChainInfo, any>>>;
|
|
8
|
+
getContractMetadata: z.ZodFunction<z.ZodTuple<[address: z.ZodType<AztecAddress, any, z.core.$ZodTypeInternals<AztecAddress, any>>], null>, z.ZodType<import("@aztec/aztec.js/wallet").ContractMetadata, any, z.core.$ZodTypeInternals<import("@aztec/aztec.js/wallet").ContractMetadata, any>>>;
|
|
9
|
+
getContractClassMetadata: z.ZodFunction<z.ZodTuple<[id: z.ZodType<import("@aztec/foundation/schemas").Fr, any, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, any>>], null>, z.ZodType<import("@aztec/aztec.js/wallet").ContractClassMetadata, any, z.core.$ZodTypeInternals<import("@aztec/aztec.js/wallet").ContractClassMetadata, any>>>;
|
|
10
|
+
registerSender: z.ZodFunction<z.ZodTuple<[address: z.ZodType<AztecAddress, any, z.core.$ZodTypeInternals<AztecAddress, any>>, alias: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodType<string | undefined, any, z.core.$ZodTypeInternals<string | undefined, any>>>], null>, z.ZodType<AztecAddress, any, z.core.$ZodTypeInternals<AztecAddress, any>>>;
|
|
11
|
+
getAddressBook: z.ZodFunction<z.ZodTuple<[], null>, z.ZodType<import("@aztec/aztec.js/wallet").Aliased<AztecAddress>[], any, z.core.$ZodTypeInternals<import("@aztec/aztec.js/wallet").Aliased<AztecAddress>[], any>>>;
|
|
12
|
+
getAccounts: z.ZodFunction<z.ZodTuple<[], null>, z.ZodType<import("@aztec/aztec.js/wallet").Aliased<AztecAddress>[], any, z.core.$ZodTypeInternals<import("@aztec/aztec.js/wallet").Aliased<AztecAddress>[], any>>>;
|
|
13
|
+
registerContract: z.ZodFunction<z.ZodTuple<[instance: z.ZodType<import("@aztec/stdlib/contract").ContractInstanceWithAddress, any, z.core.$ZodTypeInternals<import("@aztec/stdlib/contract").ContractInstanceWithAddress, any>>, artifact: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodType<import("@aztec/stdlib/abi").ContractArtifact | undefined, any, z.core.$ZodTypeInternals<import("@aztec/stdlib/abi").ContractArtifact | undefined, any>>>, secretKey: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodType<import("@aztec/foundation/schemas").Fr | undefined, any, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr | undefined, any>>>], null>, z.ZodType<import("@aztec/stdlib/contract").ContractInstanceWithAddress, any, z.core.$ZodTypeInternals<import("@aztec/stdlib/contract").ContractInstanceWithAddress, any>>>;
|
|
14
|
+
registerContractClass: z.ZodFunction<z.ZodTuple<[artifact: z.ZodType<import("@aztec/stdlib/abi").ContractArtifact, any, z.core.$ZodTypeInternals<import("@aztec/stdlib/abi").ContractArtifact, any>>], null>, z.ZodType<void, any, z.core.$ZodTypeInternals<void, any>>>;
|
|
15
|
+
simulateTx: z.ZodFunction<z.ZodTuple<[exec: z.ZodType<import("@aztec/stdlib/tx").ExecutionPayload, any, z.core.$ZodTypeInternals<import("@aztec/stdlib/tx").ExecutionPayload, any>>, opts: z.ZodType<import("@aztec/aztec.js/wallet").SimulateOptions, any, z.core.$ZodTypeInternals<import("@aztec/aztec.js/wallet").SimulateOptions, any>>], null>, z.ZodType<import("@aztec/aztec.js/wallet").TxSimulationResultWithAppOffset, any, z.core.$ZodTypeInternals<import("@aztec/aztec.js/wallet").TxSimulationResultWithAppOffset, any>>>;
|
|
16
|
+
executeUtility: z.ZodFunction<z.ZodTuple<[call: z.ZodType<import("@aztec/stdlib/abi").FunctionCall, any, z.core.$ZodTypeInternals<import("@aztec/stdlib/abi").FunctionCall, any>>, opts: z.ZodType<import("@aztec/aztec.js/wallet").ExecuteUtilityOptions, any, z.core.$ZodTypeInternals<import("@aztec/aztec.js/wallet").ExecuteUtilityOptions, any>>], null>, z.ZodType<import("@aztec/stdlib/tx").UtilityExecutionResult, any, z.core.$ZodTypeInternals<import("@aztec/stdlib/tx").UtilityExecutionResult, any>>>;
|
|
17
|
+
profileTx: z.ZodFunction<z.ZodTuple<[exec: z.ZodType<import("@aztec/stdlib/tx").ExecutionPayload, any, z.core.$ZodTypeInternals<import("@aztec/stdlib/tx").ExecutionPayload, any>>, opts: z.ZodType<import("@aztec/aztec.js/wallet").ProfileOptions, any, z.core.$ZodTypeInternals<import("@aztec/aztec.js/wallet").ProfileOptions, any>>], null>, z.ZodType<import("@aztec/stdlib/tx").TxProfileResult, any, z.core.$ZodTypeInternals<import("@aztec/stdlib/tx").TxProfileResult, any>>>;
|
|
18
|
+
sendTx: z.ZodFunction<z.ZodTuple<[exec: z.ZodType<import("@aztec/stdlib/tx").ExecutionPayload, any, z.core.$ZodTypeInternals<import("@aztec/stdlib/tx").ExecutionPayload, any>>, opts: z.ZodType<import("@aztec/aztec.js/wallet").SendOptions<import("@aztec/aztec.js/contracts").InteractionWaitOptions>, any, z.core.$ZodTypeInternals<import("@aztec/aztec.js/wallet").SendOptions<import("@aztec/aztec.js/contracts").InteractionWaitOptions>, any>>], null>, z.ZodType<import("@aztec/aztec.js/contracts").TxSendResultImmediate | import("@aztec/aztec.js/contracts").TxSendResultMined<import("@aztec/stdlib/tx").TxReceipt>, any, z.core.$ZodTypeInternals<import("@aztec/aztec.js/contracts").TxSendResultImmediate | import("@aztec/aztec.js/contracts").TxSendResultMined<import("@aztec/stdlib/tx").TxReceipt>, any>>>;
|
|
19
|
+
createAuthWit: z.ZodFunction<z.ZodTuple<[from: z.ZodType<AztecAddress, any, z.core.$ZodTypeInternals<AztecAddress, any>>, messageHashOrIntent: z.ZodType<import("@aztec/aztec.js/authorization").CallIntent | import("@aztec/aztec.js/authorization").IntentInnerHash, any, z.core.$ZodTypeInternals<import("@aztec/aztec.js/authorization").CallIntent | import("@aztec/aztec.js/authorization").IntentInnerHash, any>>], null>, z.ZodType<import("@aztec/stdlib/auth-witness").AuthWitness, any, z.core.$ZodTypeInternals<import("@aztec/stdlib/auth-witness").AuthWitness, any>>>;
|
|
20
|
+
requestCapabilities: z.ZodFunction<z.ZodTuple<[manifest: z.ZodType<import("@aztec/aztec.js/wallet").AppCapabilities, any, z.core.$ZodTypeInternals<import("@aztec/aztec.js/wallet").AppCapabilities, any>>], null>, z.ZodType<import("@aztec/aztec.js/wallet").WalletCapabilities, any, z.core.$ZodTypeInternals<import("@aztec/aztec.js/wallet").WalletCapabilities, any>>>;
|
|
21
|
+
batch: z.ZodFunction<z.ZodTuple<[methods: z.ZodType<readonly import("@aztec/aztec.js/wallet").BatchedMethod[], any, z.core.$ZodTypeInternals<readonly import("@aztec/aztec.js/wallet").BatchedMethod[], any>>], null>, z.ZodType<readonly import("@aztec/aztec.js/wallet").BatchedMethodResultWrapper<import("@aztec/aztec.js/wallet").BatchedMethod>[], any, z.core.$ZodTypeInternals<readonly import("@aztec/aztec.js/wallet").BatchedMethodResultWrapper<import("@aztec/aztec.js/wallet").BatchedMethod>[], any>>>;
|
|
21
22
|
proveTx: z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
22
|
-
calls: z.ZodArray<z.
|
|
23
|
+
calls: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
23
24
|
name: z.ZodString;
|
|
24
25
|
to: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
25
26
|
selector: import("@aztec/foundation/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
|
|
26
|
-
type: z.
|
|
27
|
+
type: z.ZodEnum<typeof import("@aztec/stdlib/abi").FunctionType>;
|
|
27
28
|
isStatic: z.ZodBoolean;
|
|
28
29
|
hideMsgSender: z.ZodBoolean;
|
|
29
|
-
args: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr
|
|
30
|
-
returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.
|
|
31
|
-
},
|
|
30
|
+
args: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>>;
|
|
31
|
+
returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, unknown, z.core.$ZodTypeInternals<import("@aztec/stdlib/abi").AbiType, unknown>>>;
|
|
32
|
+
}, z.core.$strip>, z.ZodTransform<import("@aztec/stdlib/abi").FunctionCall, {
|
|
32
33
|
name: string;
|
|
33
34
|
to: AztecAddress;
|
|
34
35
|
selector: import("@aztec/stdlib/abi").FunctionSelector;
|
|
@@ -37,238 +38,123 @@ export declare const WorkerWalletSchema: {
|
|
|
37
38
|
hideMsgSender: boolean;
|
|
38
39
|
args: import("@aztec/foundation/schemas").Fr[];
|
|
39
40
|
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
hideMsgSender: boolean;
|
|
56
|
-
args: any[];
|
|
57
|
-
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
58
|
-
}>, "many">;
|
|
59
|
-
authWitnesses: z.ZodArray<z.ZodType<import("@aztec/stdlib/auth-witness").AuthWitness, any, string>, "many">;
|
|
60
|
-
capsules: z.ZodArray<z.ZodType<import("@aztec/stdlib/tx").Capsule, any, string>, "many">;
|
|
61
|
-
extraHashedArgs: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/stdlib/tx").HashedValues>, "many">;
|
|
62
|
-
feePayer: import("@aztec/foundation/schemas").ZodNullableOptional<import("@aztec/foundation/schemas").ZodFor<AztecAddress>>;
|
|
63
|
-
}, "strip", z.ZodTypeAny, {
|
|
64
|
-
calls: import("@aztec/stdlib/abi").FunctionCall[];
|
|
65
|
-
authWitnesses: import("@aztec/stdlib/auth-witness").AuthWitness[];
|
|
66
|
-
capsules: import("@aztec/stdlib/tx").Capsule[];
|
|
67
|
-
extraHashedArgs: import("@aztec/stdlib/tx").HashedValues[];
|
|
68
|
-
feePayer?: AztecAddress | undefined;
|
|
69
|
-
}, {
|
|
70
|
-
calls: {
|
|
71
|
-
name: string;
|
|
72
|
-
to?: any;
|
|
73
|
-
selector?: any;
|
|
74
|
-
type: import("@aztec/stdlib/abi").FunctionType;
|
|
75
|
-
isStatic: boolean;
|
|
76
|
-
hideMsgSender: boolean;
|
|
77
|
-
args: any[];
|
|
78
|
-
returnTypes: import("@aztec/stdlib/abi").AbiType[];
|
|
79
|
-
}[];
|
|
80
|
-
authWitnesses: string[];
|
|
81
|
-
capsules: string[];
|
|
82
|
-
extraHashedArgs: any[];
|
|
83
|
-
feePayer?: any;
|
|
84
|
-
}>, z.ZodObject<{
|
|
85
|
-
from: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
86
|
-
authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<import("@aztec/stdlib/auth-witness").AuthWitness, any, string>, "many">>;
|
|
87
|
-
capsules: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<import("@aztec/stdlib/tx").Capsule, any, string>, "many">>;
|
|
88
|
-
fee: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
|
|
89
|
-
gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
|
|
90
|
-
gasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
91
|
-
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
92
|
-
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
93
|
-
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
}>>>;
|
|
42
|
+
authWitnesses: z.ZodArray<z.ZodType<import("@aztec/stdlib/auth-witness").AuthWitness, string, z.core.$ZodTypeInternals<import("@aztec/stdlib/auth-witness").AuthWitness, string>>>;
|
|
43
|
+
capsules: z.ZodArray<z.ZodType<import("@aztec/stdlib/tx").Capsule, string, z.core.$ZodTypeInternals<import("@aztec/stdlib/tx").Capsule, string>>>;
|
|
44
|
+
extraHashedArgs: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/stdlib/tx").HashedValues>>;
|
|
45
|
+
feePayer: z.ZodPipe<z.ZodOptional<z.ZodNullable<import("@aztec/foundation/schemas").ZodFor<AztecAddress>>>, z.ZodTransform<AztecAddress | undefined, AztecAddress | null | undefined>>;
|
|
46
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
+
from: z.ZodUnion<readonly [import("@aztec/foundation/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"NO_FROM">]>;
|
|
48
|
+
authWitnesses: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<import("@aztec/stdlib/auth-witness").AuthWitness, string, z.core.$ZodTypeInternals<import("@aztec/stdlib/auth-witness").AuthWitness, string>>>>>, z.ZodTransform<import("@aztec/stdlib/auth-witness").AuthWitness[] | undefined, import("@aztec/stdlib/auth-witness").AuthWitness[] | null | undefined>>;
|
|
49
|
+
capsules: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<import("@aztec/stdlib/tx").Capsule, string, z.core.$ZodTypeInternals<import("@aztec/stdlib/tx").Capsule, string>>>>>, z.ZodTransform<import("@aztec/stdlib/tx").Capsule[] | undefined, import("@aztec/stdlib/tx").Capsule[] | null | undefined>>;
|
|
50
|
+
fee: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
51
|
+
gasSettings: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
52
|
+
gasLimits: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
|
|
53
|
+
daGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
|
|
54
|
+
l2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
|
|
55
|
+
}, z.core.$strip>, z.ZodTransform<import("@aztec/stdlib/gas").Gas, {
|
|
94
56
|
daGas: number;
|
|
95
57
|
l2Gas: number;
|
|
96
|
-
},
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
l2Gas: string | number | bigint;
|
|
102
|
-
}>>;
|
|
103
|
-
teardownGasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
|
|
104
|
-
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
105
|
-
l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
106
|
-
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
}>>>>, z.ZodTransform<import("@aztec/stdlib/gas").Gas | undefined, import("@aztec/stdlib/gas").Gas | null | undefined>>;
|
|
59
|
+
teardownGasLimits: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
|
|
60
|
+
daGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
|
|
61
|
+
l2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
|
|
62
|
+
}, z.core.$strip>, z.ZodTransform<import("@aztec/stdlib/gas").Gas, {
|
|
107
63
|
daGas: number;
|
|
108
64
|
l2Gas: number;
|
|
109
|
-
},
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
l2Gas: string | number | bigint;
|
|
115
|
-
}>>;
|
|
116
|
-
maxFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
|
|
117
|
-
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
118
|
-
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
119
|
-
}, "strip", z.ZodTypeAny, {
|
|
65
|
+
}>>>>, z.ZodTransform<import("@aztec/stdlib/gas").Gas | undefined, import("@aztec/stdlib/gas").Gas | null | undefined>>;
|
|
66
|
+
maxFeePerGas: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
67
|
+
feePerDaGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
|
|
68
|
+
feePerL2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
|
|
69
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
120
70
|
feePerDaGas: bigint;
|
|
121
71
|
feePerL2Gas: bigint;
|
|
122
|
-
}, {
|
|
123
|
-
feePerDaGas: string | number | bigint;
|
|
124
|
-
feePerL2Gas: string | number | bigint;
|
|
125
|
-
}>>;
|
|
126
|
-
maxPriorityFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
|
|
127
|
-
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
128
|
-
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
129
|
-
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
} | undefined, {
|
|
130
73
|
feePerDaGas: bigint;
|
|
131
74
|
feePerL2Gas: bigint;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
gasLimits?: import("@aztec/stdlib/gas").Gas | undefined;
|
|
138
|
-
teardownGasLimits?: import("@aztec/stdlib/gas").Gas | undefined;
|
|
139
|
-
maxFeePerGas?: {
|
|
75
|
+
} | null | undefined>>;
|
|
76
|
+
maxPriorityFeePerGas: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
77
|
+
feePerDaGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
|
|
78
|
+
feePerL2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
|
|
79
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
140
80
|
feePerDaGas: bigint;
|
|
141
81
|
feePerL2Gas: bigint;
|
|
142
|
-
} | undefined
|
|
143
|
-
maxPriorityFeePerGas?: {
|
|
82
|
+
} | undefined, {
|
|
144
83
|
feePerDaGas: bigint;
|
|
145
84
|
feePerL2Gas: bigint;
|
|
146
|
-
} | undefined
|
|
147
|
-
}, {
|
|
148
|
-
gasLimits
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
} | undefined;
|
|
152
|
-
teardownGasLimits?: {
|
|
153
|
-
daGas: string | number | bigint;
|
|
154
|
-
l2Gas: string | number | bigint;
|
|
155
|
-
} | undefined;
|
|
156
|
-
maxFeePerGas?: {
|
|
157
|
-
feePerDaGas: string | number | bigint;
|
|
158
|
-
feePerL2Gas: string | number | bigint;
|
|
159
|
-
} | undefined;
|
|
160
|
-
maxPriorityFeePerGas?: {
|
|
161
|
-
feePerDaGas: string | number | bigint;
|
|
162
|
-
feePerL2Gas: string | number | bigint;
|
|
163
|
-
} | undefined;
|
|
164
|
-
}>>;
|
|
165
|
-
}, "strip", z.ZodTypeAny, {
|
|
166
|
-
gasSettings?: {
|
|
167
|
-
gasLimits?: import("@aztec/stdlib/gas").Gas | undefined;
|
|
168
|
-
teardownGasLimits?: import("@aztec/stdlib/gas").Gas | undefined;
|
|
169
|
-
maxFeePerGas?: {
|
|
85
|
+
} | null | undefined>>;
|
|
86
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
87
|
+
gasLimits: import("@aztec/stdlib/gas").Gas | undefined;
|
|
88
|
+
teardownGasLimits: import("@aztec/stdlib/gas").Gas | undefined;
|
|
89
|
+
maxFeePerGas: {
|
|
170
90
|
feePerDaGas: bigint;
|
|
171
91
|
feePerL2Gas: bigint;
|
|
172
92
|
} | undefined;
|
|
173
|
-
maxPriorityFeePerGas
|
|
93
|
+
maxPriorityFeePerGas: {
|
|
174
94
|
feePerDaGas: bigint;
|
|
175
95
|
feePerL2Gas: bigint;
|
|
176
96
|
} | undefined;
|
|
177
|
-
} | undefined
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
} | undefined;
|
|
184
|
-
teardownGasLimits?: {
|
|
185
|
-
daGas: string | number | bigint;
|
|
186
|
-
l2Gas: string | number | bigint;
|
|
187
|
-
} | undefined;
|
|
188
|
-
maxFeePerGas?: {
|
|
189
|
-
feePerDaGas: string | number | bigint;
|
|
190
|
-
feePerL2Gas: string | number | bigint;
|
|
97
|
+
} | undefined, {
|
|
98
|
+
gasLimits: import("@aztec/stdlib/gas").Gas | undefined;
|
|
99
|
+
teardownGasLimits: import("@aztec/stdlib/gas").Gas | undefined;
|
|
100
|
+
maxFeePerGas: {
|
|
101
|
+
feePerDaGas: bigint;
|
|
102
|
+
feePerL2Gas: bigint;
|
|
191
103
|
} | undefined;
|
|
192
|
-
maxPriorityFeePerGas
|
|
193
|
-
feePerDaGas:
|
|
194
|
-
feePerL2Gas:
|
|
104
|
+
maxPriorityFeePerGas: {
|
|
105
|
+
feePerDaGas: bigint;
|
|
106
|
+
feePerL2Gas: bigint;
|
|
195
107
|
} | undefined;
|
|
196
|
-
} | undefined
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
}, "strip", z.ZodTypeAny, {
|
|
204
|
-
ignoreDroppedReceiptsFor?: number | undefined;
|
|
205
|
-
timeout?: number | undefined;
|
|
206
|
-
interval?: number | undefined;
|
|
207
|
-
dontThrowOnRevert?: boolean | undefined;
|
|
208
|
-
}, {
|
|
209
|
-
ignoreDroppedReceiptsFor?: number | undefined;
|
|
210
|
-
timeout?: number | undefined;
|
|
211
|
-
interval?: number | undefined;
|
|
212
|
-
dontThrowOnRevert?: boolean | undefined;
|
|
213
|
-
}>]>>;
|
|
214
|
-
additionalScopes: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<import("@aztec/foundation/schemas").ZodFor<AztecAddress>, "many">>;
|
|
215
|
-
}, "strip", z.ZodTypeAny, {
|
|
216
|
-
from: AztecAddress;
|
|
217
|
-
authWitnesses?: import("@aztec/stdlib/auth-witness").AuthWitness[] | undefined;
|
|
218
|
-
capsules?: import("@aztec/stdlib/tx").Capsule[] | undefined;
|
|
219
|
-
fee?: {
|
|
220
|
-
gasSettings?: {
|
|
221
|
-
gasLimits?: import("@aztec/stdlib/gas").Gas | undefined;
|
|
222
|
-
teardownGasLimits?: import("@aztec/stdlib/gas").Gas | undefined;
|
|
223
|
-
maxFeePerGas?: {
|
|
108
|
+
} | null | undefined>>;
|
|
109
|
+
congestionEstimate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("@aztec/stdlib/gas").ManaUsageEstimate>>>, z.ZodTransform<import("@aztec/stdlib/gas").ManaUsageEstimate | undefined, import("@aztec/stdlib/gas").ManaUsageEstimate | null | undefined>>;
|
|
110
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
111
|
+
gasSettings: {
|
|
112
|
+
gasLimits: import("@aztec/stdlib/gas").Gas | undefined;
|
|
113
|
+
teardownGasLimits: import("@aztec/stdlib/gas").Gas | undefined;
|
|
114
|
+
maxFeePerGas: {
|
|
224
115
|
feePerDaGas: bigint;
|
|
225
116
|
feePerL2Gas: bigint;
|
|
226
117
|
} | undefined;
|
|
227
|
-
maxPriorityFeePerGas
|
|
118
|
+
maxPriorityFeePerGas: {
|
|
228
119
|
feePerDaGas: bigint;
|
|
229
120
|
feePerL2Gas: bigint;
|
|
230
121
|
} | undefined;
|
|
231
122
|
} | undefined;
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
}, {
|
|
241
|
-
from?: any;
|
|
242
|
-
authWitnesses?: string[] | undefined;
|
|
243
|
-
capsules?: string[] | undefined;
|
|
244
|
-
fee?: {
|
|
245
|
-
gasSettings?: {
|
|
246
|
-
gasLimits?: {
|
|
247
|
-
daGas: string | number | bigint;
|
|
248
|
-
l2Gas: string | number | bigint;
|
|
249
|
-
} | undefined;
|
|
250
|
-
teardownGasLimits?: {
|
|
251
|
-
daGas: string | number | bigint;
|
|
252
|
-
l2Gas: string | number | bigint;
|
|
253
|
-
} | undefined;
|
|
254
|
-
maxFeePerGas?: {
|
|
255
|
-
feePerDaGas: string | number | bigint;
|
|
256
|
-
feePerL2Gas: string | number | bigint;
|
|
123
|
+
congestionEstimate: import("@aztec/stdlib/gas").ManaUsageEstimate | undefined;
|
|
124
|
+
} | undefined, {
|
|
125
|
+
gasSettings: {
|
|
126
|
+
gasLimits: import("@aztec/stdlib/gas").Gas | undefined;
|
|
127
|
+
teardownGasLimits: import("@aztec/stdlib/gas").Gas | undefined;
|
|
128
|
+
maxFeePerGas: {
|
|
129
|
+
feePerDaGas: bigint;
|
|
130
|
+
feePerL2Gas: bigint;
|
|
257
131
|
} | undefined;
|
|
258
|
-
maxPriorityFeePerGas
|
|
259
|
-
feePerDaGas:
|
|
260
|
-
feePerL2Gas:
|
|
132
|
+
maxPriorityFeePerGas: {
|
|
133
|
+
feePerDaGas: bigint;
|
|
134
|
+
feePerL2Gas: bigint;
|
|
261
135
|
} | undefined;
|
|
262
136
|
} | undefined;
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
137
|
+
congestionEstimate: import("@aztec/stdlib/gas").ManaUsageEstimate | undefined;
|
|
138
|
+
} | null | undefined>>;
|
|
139
|
+
wait: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<"NO_WAIT">, z.ZodObject<{
|
|
140
|
+
ignoreDroppedReceiptsFor: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
141
|
+
timeout: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
142
|
+
interval: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodTransform<number | undefined, number | null | undefined>>;
|
|
143
|
+
dontThrowOnRevert: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean | undefined, boolean | null | undefined>>;
|
|
144
|
+
}, z.core.$strip>]>>>, z.ZodTransform<NonNullable<"NO_WAIT" | {
|
|
145
|
+
ignoreDroppedReceiptsFor: number | undefined;
|
|
146
|
+
timeout: number | undefined;
|
|
147
|
+
interval: number | undefined;
|
|
148
|
+
dontThrowOnRevert: boolean | undefined;
|
|
149
|
+
}> | undefined, "NO_WAIT" | {
|
|
150
|
+
ignoreDroppedReceiptsFor: number | undefined;
|
|
151
|
+
timeout: number | undefined;
|
|
152
|
+
interval: number | undefined;
|
|
153
|
+
dontThrowOnRevert: boolean | undefined;
|
|
154
|
+
} | null | undefined>>;
|
|
155
|
+
additionalScopes: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<import("@aztec/foundation/schemas").ZodFor<AztecAddress>>>>, z.ZodTransform<AztecAddress[] | undefined, AztecAddress[] | null | undefined>>;
|
|
156
|
+
sendMessagesAs: z.ZodPipe<z.ZodOptional<z.ZodNullable<import("@aztec/foundation/schemas").ZodFor<AztecAddress>>>, z.ZodTransform<AztecAddress | undefined, AztecAddress | null | undefined>>;
|
|
157
|
+
}, z.core.$strip>], null>, import("@aztec/foundation/schemas").ZodFor<Tx>>;
|
|
158
|
+
registerAccount: z.ZodFunction<z.ZodTuple<[z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>, z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>], null>, import("@aztec/foundation/schemas").ZodFor<AztecAddress>>;
|
|
273
159
|
};
|
|
274
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
160
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid29ya2VyX3dhbGxldF9zY2hlbWEuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy90ZXN0LXdhbGxldC93b3JrZXJfd2FsbGV0X3NjaGVtYS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sNkJBQTZCLENBQUM7QUFDM0QsT0FBTyxFQUFFLEVBQUUsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBRXRDLE9BQU8sRUFBRSxDQUFDLEVBQUUsTUFBTSxLQUFLLENBQUM7QUFFeEIsaUdBQStGO0FBQy9GLGVBQU8sTUFBTSxrQkFBa0I7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Q0FJOUIsQ0FBQyJ9
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worker_wallet_schema.d.ts","sourceRoot":"","sources":["../../src/test-wallet/worker_wallet_schema.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AAEtC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,iGAA+F;AAC/F,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"worker_wallet_schema.d.ts","sourceRoot":"","sources":["../../src/test-wallet/worker_wallet_schema.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AAEtC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,iGAA+F;AAC/F,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI9B,CAAC"}
|
|
@@ -5,6 +5,18 @@ import { Tx } from '@aztec/stdlib/tx';
|
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
/** Schema for the WorkerWallet API — extends WalletSchema with proveTx and registerAccount. */ export const WorkerWalletSchema = {
|
|
7
7
|
...WalletSchema,
|
|
8
|
-
proveTx: z.function(
|
|
9
|
-
|
|
8
|
+
proveTx: z.function({
|
|
9
|
+
input: z.tuple([
|
|
10
|
+
ExecutionPayloadSchema,
|
|
11
|
+
SendOptionsSchema
|
|
12
|
+
]),
|
|
13
|
+
output: Tx.schema
|
|
14
|
+
}),
|
|
15
|
+
registerAccount: z.function({
|
|
16
|
+
input: z.tuple([
|
|
17
|
+
schemas.Fr,
|
|
18
|
+
schemas.Fr
|
|
19
|
+
]),
|
|
20
|
+
output: AztecAddress.schema
|
|
21
|
+
})
|
|
10
22
|
};
|
package/package.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/end-to-end",
|
|
3
|
-
"version": "0.0.1-commit.
|
|
3
|
+
"version": "0.0.1-commit.7cbc774",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"exports":
|
|
5
|
+
"exports": {
|
|
6
|
+
".": "./dest/index.js",
|
|
7
|
+
"./*": "./dest/*"
|
|
8
|
+
},
|
|
6
9
|
"inherits": [
|
|
7
10
|
"../package.common.json",
|
|
8
11
|
"./package.local.json"
|
|
@@ -12,12 +15,12 @@
|
|
|
12
15
|
"build:dev": "../scripts/tsc.sh --watch",
|
|
13
16
|
"clean": "rm -rf ./dest .tsbuildinfo",
|
|
14
17
|
"test:with-alerts": "./scripts/test-with-alerts.sh",
|
|
15
|
-
"test:e2e": "LOG_LEVEL=${LOG_LEVEL:-verbose} NODE_NO_WARNINGS=1 node --experimental-vm-modules ../node_modules/.bin/jest --testTimeout=300000
|
|
18
|
+
"test:e2e": "LOG_LEVEL=${LOG_LEVEL:-verbose} NODE_NO_WARNINGS=1 node --experimental-vm-modules ../node_modules/.bin/jest --testTimeout=300000",
|
|
16
19
|
"test:e2e-docker": "./scripts/run_test.sh simple",
|
|
17
20
|
"test:e2e-no-docker": "echo 'The command test:e2e-no-docker is now the same as test:e2e. You can now run this dropping the no-docker suffix.'; yarn test:e2e",
|
|
18
|
-
"test:profile": "LOG_LEVEL=${LOG_LEVEL:-verbose} NODE_NO_WARNINGS=1 0x --output-dir \"flame_graph/{pid}.0x\" -- node --experimental-vm-modules ../node_modules/jest/bin/jest.js --runInBand --testTimeout=300000
|
|
21
|
+
"test:profile": "LOG_LEVEL=${LOG_LEVEL:-verbose} NODE_NO_WARNINGS=1 0x --output-dir \"flame_graph/{pid}.0x\" -- node --experimental-vm-modules ../node_modules/jest/bin/jest.js --runInBand --testTimeout=300000",
|
|
19
22
|
"serve:flames": "python3 -m http.server --directory \"flame_graph\" 8000",
|
|
20
|
-
"test:debug": "LOG_LEVEL=${LOG_LEVEL:-verbose} NODE_NO_WARNINGS=1 node --inspect --experimental-vm-modules ../node_modules/.bin/jest --testTimeout=300000
|
|
23
|
+
"test:debug": "LOG_LEVEL=${LOG_LEVEL:-verbose} NODE_NO_WARNINGS=1 node --inspect --experimental-vm-modules ../node_modules/.bin/jest --testTimeout=300000",
|
|
21
24
|
"test:integration": "concurrently -k -s first -c reset,dim -n test,anvil \"yarn test:integration:run\" \"anvil\"",
|
|
22
25
|
"test:integration:run": "NODE_NO_WARNINGS=1 node --experimental-vm-modules ../node_modules/.bin/jest --no-cache --runInBand --config jest.integration.config.json",
|
|
23
26
|
"test": "NODE_NO_WARNINGS=1 node --experimental-vm-modules ../node_modules/.bin/jest --passWithNoTests src/fixtures",
|
|
@@ -26,45 +29,45 @@
|
|
|
26
29
|
"formatting": "run -T prettier --check ./src && run -T eslint ./src"
|
|
27
30
|
},
|
|
28
31
|
"dependencies": {
|
|
29
|
-
"@aztec/accounts": "0.0.1-commit.
|
|
30
|
-
"@aztec/archiver": "0.0.1-commit.
|
|
31
|
-
"@aztec/aztec": "0.0.1-commit.
|
|
32
|
-
"@aztec/aztec-node": "0.0.1-commit.
|
|
33
|
-
"@aztec/aztec.js": "0.0.1-commit.
|
|
34
|
-
"@aztec/bb-prover": "0.0.1-commit.
|
|
35
|
-
"@aztec/bb.js": "0.0.1-commit.
|
|
36
|
-
"@aztec/blob-client": "0.0.1-commit.
|
|
37
|
-
"@aztec/blob-lib": "0.0.1-commit.
|
|
38
|
-
"@aztec/bot": "0.0.1-commit.
|
|
39
|
-
"@aztec/cli": "0.0.1-commit.
|
|
40
|
-
"@aztec/constants": "0.0.1-commit.
|
|
41
|
-
"@aztec/entrypoints": "0.0.1-commit.
|
|
42
|
-
"@aztec/epoch-cache": "0.0.1-commit.
|
|
43
|
-
"@aztec/ethereum": "0.0.1-commit.
|
|
44
|
-
"@aztec/foundation": "0.0.1-commit.
|
|
45
|
-
"@aztec/kv-store": "0.0.1-commit.
|
|
46
|
-
"@aztec/l1-artifacts": "0.0.1-commit.
|
|
47
|
-
"@aztec/
|
|
48
|
-
"@aztec/
|
|
49
|
-
"@aztec/noir-
|
|
50
|
-
"@aztec/noir-
|
|
51
|
-
"@aztec/noir-
|
|
52
|
-
"@aztec/
|
|
53
|
-
"@aztec/
|
|
54
|
-
"@aztec/
|
|
55
|
-
"@aztec/prover-
|
|
56
|
-
"@aztec/
|
|
57
|
-
"@aztec/
|
|
58
|
-
"@aztec/
|
|
59
|
-
"@aztec/
|
|
60
|
-
"@aztec/
|
|
61
|
-
"@aztec/stdlib": "0.0.1-commit.
|
|
62
|
-
"@aztec/telemetry-client": "0.0.1-commit.
|
|
63
|
-
"@aztec/validator-client": "0.0.1-commit.
|
|
64
|
-
"@aztec/validator-ha-signer": "0.0.1-commit.
|
|
65
|
-
"@aztec/wallet-sdk": "0.0.1-commit.
|
|
66
|
-
"@aztec/wallets": "0.0.1-commit.
|
|
67
|
-
"@aztec/world-state": "0.0.1-commit.
|
|
32
|
+
"@aztec/accounts": "0.0.1-commit.7cbc774",
|
|
33
|
+
"@aztec/archiver": "0.0.1-commit.7cbc774",
|
|
34
|
+
"@aztec/aztec": "0.0.1-commit.7cbc774",
|
|
35
|
+
"@aztec/aztec-node": "0.0.1-commit.7cbc774",
|
|
36
|
+
"@aztec/aztec.js": "0.0.1-commit.7cbc774",
|
|
37
|
+
"@aztec/bb-prover": "0.0.1-commit.7cbc774",
|
|
38
|
+
"@aztec/bb.js": "0.0.1-commit.7cbc774",
|
|
39
|
+
"@aztec/blob-client": "0.0.1-commit.7cbc774",
|
|
40
|
+
"@aztec/blob-lib": "0.0.1-commit.7cbc774",
|
|
41
|
+
"@aztec/bot": "0.0.1-commit.7cbc774",
|
|
42
|
+
"@aztec/cli": "0.0.1-commit.7cbc774",
|
|
43
|
+
"@aztec/constants": "0.0.1-commit.7cbc774",
|
|
44
|
+
"@aztec/entrypoints": "0.0.1-commit.7cbc774",
|
|
45
|
+
"@aztec/epoch-cache": "0.0.1-commit.7cbc774",
|
|
46
|
+
"@aztec/ethereum": "0.0.1-commit.7cbc774",
|
|
47
|
+
"@aztec/foundation": "0.0.1-commit.7cbc774",
|
|
48
|
+
"@aztec/kv-store": "0.0.1-commit.7cbc774",
|
|
49
|
+
"@aztec/l1-artifacts": "0.0.1-commit.7cbc774",
|
|
50
|
+
"@aztec/node-keystore": "0.0.1-commit.7cbc774",
|
|
51
|
+
"@aztec/noir-contracts.js": "0.0.1-commit.7cbc774",
|
|
52
|
+
"@aztec/noir-noirc_abi": "0.0.1-commit.7cbc774",
|
|
53
|
+
"@aztec/noir-protocol-circuits-types": "0.0.1-commit.7cbc774",
|
|
54
|
+
"@aztec/noir-test-contracts.js": "0.0.1-commit.7cbc774",
|
|
55
|
+
"@aztec/p2p": "0.0.1-commit.7cbc774",
|
|
56
|
+
"@aztec/protocol-contracts": "0.0.1-commit.7cbc774",
|
|
57
|
+
"@aztec/prover-client": "0.0.1-commit.7cbc774",
|
|
58
|
+
"@aztec/prover-node": "0.0.1-commit.7cbc774",
|
|
59
|
+
"@aztec/pxe": "0.0.1-commit.7cbc774",
|
|
60
|
+
"@aztec/sequencer-client": "0.0.1-commit.7cbc774",
|
|
61
|
+
"@aztec/simulator": "0.0.1-commit.7cbc774",
|
|
62
|
+
"@aztec/slasher": "0.0.1-commit.7cbc774",
|
|
63
|
+
"@aztec/standard-contracts": "0.0.1-commit.7cbc774",
|
|
64
|
+
"@aztec/stdlib": "0.0.1-commit.7cbc774",
|
|
65
|
+
"@aztec/telemetry-client": "0.0.1-commit.7cbc774",
|
|
66
|
+
"@aztec/validator-client": "0.0.1-commit.7cbc774",
|
|
67
|
+
"@aztec/validator-ha-signer": "0.0.1-commit.7cbc774",
|
|
68
|
+
"@aztec/wallet-sdk": "0.0.1-commit.7cbc774",
|
|
69
|
+
"@aztec/wallets": "0.0.1-commit.7cbc774",
|
|
70
|
+
"@aztec/world-state": "0.0.1-commit.7cbc774",
|
|
68
71
|
"@iarna/toml": "^2.2.5",
|
|
69
72
|
"@jest/globals": "^30.0.0",
|
|
70
73
|
"@noble/curves": "=1.0.0",
|
|
@@ -76,7 +79,6 @@
|
|
|
76
79
|
"@types/koa-static": "^4.0.2",
|
|
77
80
|
"@types/lodash.every": "^4.6.7",
|
|
78
81
|
"@types/node": "^22.15.17",
|
|
79
|
-
"@viem/anvil": "^0.0.9",
|
|
80
82
|
"buffer": "^6.0.3",
|
|
81
83
|
"crypto-browserify": "^3.12.1",
|
|
82
84
|
"fs-extra": "^11.2.0",
|
|
@@ -103,7 +105,7 @@
|
|
|
103
105
|
"typescript": "^5.3.3",
|
|
104
106
|
"util": "^0.12.5",
|
|
105
107
|
"viem": "npm:@aztec/viem@2.38.2",
|
|
106
|
-
"zod": "^
|
|
108
|
+
"zod": "^4"
|
|
107
109
|
},
|
|
108
110
|
"devDependencies": {
|
|
109
111
|
"0x": "^5.7.0",
|
|
@@ -161,6 +163,7 @@
|
|
|
161
163
|
"moduleNameMapper": {
|
|
162
164
|
"^(\\.{1,2}/.*)\\.[cm]?js$": "$1"
|
|
163
165
|
},
|
|
166
|
+
"resolver": "<rootDir>/legacy-jest-resolver.cjs",
|
|
164
167
|
"testRegex": "./src/.*\\.test\\.(js|mjs|ts)$",
|
|
165
168
|
"rootDir": "./src",
|
|
166
169
|
"testTimeout": 120000,
|