@aztec/end-to-end 0.0.1-commit.4ad48494d → 0.0.1-commit.4eabbdb

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.
Files changed (82) hide show
  1. package/dest/e2e_blacklist_token_contract/blacklist_token_contract_test.d.ts +2 -2
  2. package/dest/e2e_blacklist_token_contract/blacklist_token_contract_test.d.ts.map +1 -1
  3. package/dest/e2e_blacklist_token_contract/blacklist_token_contract_test.js +3 -3
  4. package/dest/e2e_epochs/epochs_test.d.ts +9 -7
  5. package/dest/e2e_epochs/epochs_test.d.ts.map +1 -1
  6. package/dest/e2e_epochs/epochs_test.js +53 -34
  7. package/dest/e2e_p2p/p2p_network.d.ts +1 -1
  8. package/dest/e2e_p2p/p2p_network.d.ts.map +1 -1
  9. package/dest/e2e_p2p/p2p_network.js +16 -2
  10. package/dest/e2e_p2p/reqresp/utils.d.ts +3 -3
  11. package/dest/e2e_p2p/reqresp/utils.d.ts.map +1 -1
  12. package/dest/e2e_p2p/reqresp/utils.js +32 -8
  13. package/dest/e2e_token_contract/token_contract_test.d.ts +2 -2
  14. package/dest/e2e_token_contract/token_contract_test.d.ts.map +1 -1
  15. package/dest/e2e_token_contract/token_contract_test.js +3 -3
  16. package/dest/fixtures/authwit_proxy.d.ts +15 -0
  17. package/dest/fixtures/authwit_proxy.d.ts.map +1 -0
  18. package/dest/fixtures/authwit_proxy.js +30 -0
  19. package/dest/fixtures/e2e_prover_test.d.ts +3 -3
  20. package/dest/fixtures/e2e_prover_test.d.ts.map +1 -1
  21. package/dest/fixtures/e2e_prover_test.js +27 -34
  22. package/dest/fixtures/fixtures.d.ts +5 -1
  23. package/dest/fixtures/fixtures.d.ts.map +1 -1
  24. package/dest/fixtures/fixtures.js +6 -0
  25. package/dest/fixtures/setup.d.ts +25 -8
  26. package/dest/fixtures/setup.d.ts.map +1 -1
  27. package/dest/fixtures/setup.js +46 -77
  28. package/dest/fixtures/setup_p2p_test.d.ts +6 -3
  29. package/dest/fixtures/setup_p2p_test.d.ts.map +1 -1
  30. package/dest/fixtures/setup_p2p_test.js +12 -9
  31. package/dest/shared/index.d.ts +2 -1
  32. package/dest/shared/index.d.ts.map +1 -1
  33. package/dest/shared/index.js +1 -0
  34. package/dest/shared/mock_state_view.d.ts +86 -0
  35. package/dest/shared/mock_state_view.d.ts.map +1 -0
  36. package/dest/shared/mock_state_view.js +186 -0
  37. package/dest/spartan/setup_test_wallets.d.ts +8 -1
  38. package/dest/spartan/setup_test_wallets.d.ts.map +1 -1
  39. package/dest/spartan/setup_test_wallets.js +28 -0
  40. package/dest/spartan/utils/bot.d.ts +3 -2
  41. package/dest/spartan/utils/bot.d.ts.map +1 -1
  42. package/dest/spartan/utils/bot.js +2 -1
  43. package/dest/spartan/utils/index.d.ts +2 -2
  44. package/dest/spartan/utils/index.d.ts.map +1 -1
  45. package/dest/spartan/utils/index.js +1 -1
  46. package/dest/spartan/utils/k8s.d.ts +3 -1
  47. package/dest/spartan/utils/k8s.d.ts.map +1 -1
  48. package/dest/spartan/utils/k8s.js +6 -0
  49. package/dest/test-wallet/test_wallet.d.ts +4 -3
  50. package/dest/test-wallet/test_wallet.d.ts.map +1 -1
  51. package/dest/test-wallet/test_wallet.js +2 -2
  52. package/dest/test-wallet/wallet_worker_script.d.ts +2 -0
  53. package/dest/test-wallet/wallet_worker_script.d.ts.map +1 -0
  54. package/dest/test-wallet/wallet_worker_script.js +40 -0
  55. package/dest/test-wallet/worker_wallet.d.ts +52 -0
  56. package/dest/test-wallet/worker_wallet.d.ts.map +1 -0
  57. package/dest/test-wallet/worker_wallet.js +103 -0
  58. package/dest/test-wallet/worker_wallet_schema.d.ts +271 -0
  59. package/dest/test-wallet/worker_wallet_schema.d.ts.map +1 -0
  60. package/dest/test-wallet/worker_wallet_schema.js +10 -0
  61. package/package.json +40 -40
  62. package/src/e2e_blacklist_token_contract/blacklist_token_contract_test.ts +3 -3
  63. package/src/e2e_epochs/epochs_test.ts +66 -66
  64. package/src/e2e_p2p/p2p_network.ts +24 -2
  65. package/src/e2e_p2p/reqresp/utils.ts +36 -8
  66. package/src/e2e_token_contract/token_contract_test.ts +3 -3
  67. package/src/fixtures/authwit_proxy.ts +50 -0
  68. package/src/fixtures/dumps/epoch_proof_result.json +1 -1
  69. package/src/fixtures/e2e_prover_test.ts +25 -35
  70. package/src/fixtures/fixtures.ts +10 -0
  71. package/src/fixtures/setup.ts +62 -105
  72. package/src/fixtures/setup_p2p_test.ts +9 -17
  73. package/src/shared/index.ts +1 -0
  74. package/src/shared/mock_state_view.ts +188 -0
  75. package/src/spartan/setup_test_wallets.ts +40 -0
  76. package/src/spartan/utils/bot.ts +3 -0
  77. package/src/spartan/utils/index.ts +1 -0
  78. package/src/spartan/utils/k8s.ts +8 -0
  79. package/src/test-wallet/test_wallet.ts +4 -3
  80. package/src/test-wallet/wallet_worker_script.ts +43 -0
  81. package/src/test-wallet/worker_wallet.ts +165 -0
  82. package/src/test-wallet/worker_wallet_schema.ts +13 -0
@@ -1 +1 @@
1
- {"version":3,"file":"test_wallet.d.ts","sourceRoot":"","sources":["../../src/test-wallet/test_wallet.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,eAAe,EAAqB,MAAM,yBAAyB,CAAC;AAChG,OAAO,EACL,KAAK,UAAU,EACf,KAAK,qCAAqC,EAC1C,KAAK,eAAe,EACpB,mCAAmC,EAIpC,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1E,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,gCAAgC,CAAC;AAExD,OAAO,EAAE,KAAK,SAAS,EAAgB,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,GAAG,EAAE,KAAK,kBAAkB,EAAa,MAAM,mBAAmB,CAAC;AAC5E,OA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AE,gBAAgB,EAAE,IAAI,EAAE,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAUxF;IAED,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,CAE/C;IAED,QAAQ,CAAC,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC,CAEhD;IAED,oBAAoB,IAAI,OAAO,CAAC,WAAW,CAAC,CAE3C;IAED,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAEpB;IAED,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAEpB;CACF"}
@@ -157,9 +157,9 @@ import { AztecNodeProxy, ProvenTx } from './utils.js';
157
157
  /**
158
158
  * Override simulateViaEntrypoint to use fake accounts for kernelless simulation
159
159
  * when simulatedSimulations is enabled. Otherwise falls through to the real entrypoint path.
160
- */ async simulateViaEntrypoint(executionPayload, from, feeOptions, skipTxValidation, skipFeeEnforcement, scopes) {
160
+ */ async simulateViaEntrypoint(executionPayload, from, feeOptions, scopes, skipTxValidation, skipFeeEnforcement) {
161
161
  if (!this.simulatedSimulations) {
162
- return super.simulateViaEntrypoint(executionPayload, from, feeOptions, skipTxValidation, skipFeeEnforcement, scopes);
162
+ return super.simulateViaEntrypoint(executionPayload, from, feeOptions, scopes, skipTxValidation, skipFeeEnforcement);
163
163
  }
164
164
  const feeExecutionPayload = await feeOptions.walletFeePaymentMethod?.getExecutionPayload();
165
165
  const executionOptions = {
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FsbGV0X3dvcmtlcl9zY3JpcHQuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy90ZXN0LXdhbGxldC93YWxsZXRfd29ya2VyX3NjcmlwdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wallet_worker_script.d.ts","sourceRoot":"","sources":["../../src/test-wallet/wallet_worker_script.ts"],"names":[],"mappings":""}
@@ -0,0 +1,40 @@
1
+ import { createAztecNodeClient } from '@aztec/aztec.js/node';
2
+ import { jsonStringify } from '@aztec/foundation/json-rpc';
3
+ import { parseWithOptionals, schemaHasMethod } from '@aztec/foundation/schemas';
4
+ import { NodeListener, TransportServer } from '@aztec/foundation/transport';
5
+ import { workerData } from 'worker_threads';
6
+ import { TestWallet } from './test_wallet.js';
7
+ import { WorkerWalletSchema } from './worker_wallet_schema.js';
8
+ const { nodeUrl, pxeConfig } = workerData;
9
+ const node = createAztecNodeClient(nodeUrl);
10
+ const wallet = await TestWallet.create(node, pxeConfig);
11
+ /** Handlers for methods that need custom implementation (not direct wallet passthrough). */ const handlers = {
12
+ proveTx: async (exec, opts)=>{
13
+ const provenTx = await wallet.proveTx(exec, opts);
14
+ // ProvenTx has non-serializable fields (node proxy, etc.) — extract only Tx-compatible fields
15
+ const { data, chonkProof, contractClassLogFields, publicFunctionCalldata } = provenTx;
16
+ return {
17
+ data,
18
+ chonkProof,
19
+ contractClassLogFields,
20
+ publicFunctionCalldata
21
+ };
22
+ },
23
+ registerAccount: async (secret, salt)=>{
24
+ const manager = await wallet.createSchnorrAccount(secret, salt);
25
+ return manager.address;
26
+ }
27
+ };
28
+ const schema = WorkerWalletSchema;
29
+ const listener = new NodeListener();
30
+ const server = new TransportServer(listener, async (msg)=>{
31
+ if (!schemaHasMethod(schema, msg.fn)) {
32
+ throw new Error(`Unknown method: ${msg.fn}`);
33
+ }
34
+ const jsonParams = JSON.parse(msg.args);
35
+ const args = await parseWithOptionals(jsonParams, schema[msg.fn].parameters());
36
+ const handler = handlers[msg.fn];
37
+ const result = handler ? await handler(...args) : await wallet[msg.fn](...args);
38
+ return jsonStringify(result);
39
+ });
40
+ server.start();
@@ -0,0 +1,52 @@
1
+ import type { CallIntent, IntentInnerHash } from '@aztec/aztec.js/authorization';
2
+ import type { InteractionWaitOptions, SendReturn } from '@aztec/aztec.js/contracts';
3
+ import type { Aliased, AppCapabilities, BatchResults, BatchedMethod, ContractClassMetadata, ContractMetadata, ExecuteUtilityOptions, PrivateEvent, PrivateEventFilter, ProfileOptions, SendOptions, SimulateOptions, Wallet, WalletCapabilities } from '@aztec/aztec.js/wallet';
4
+ import type { ChainInfo } from '@aztec/entrypoints/interfaces';
5
+ import type { Fr } from '@aztec/foundation/curves/bn254';
6
+ import type { PXEConfig } from '@aztec/pxe/config';
7
+ import type { ContractArtifact, EventMetadataDefinition, FunctionCall } from '@aztec/stdlib/abi';
8
+ import type { AuthWitness } from '@aztec/stdlib/auth-witness';
9
+ import type { AztecAddress } from '@aztec/stdlib/aztec-address';
10
+ import type { ContractInstanceWithAddress } from '@aztec/stdlib/contract';
11
+ import type { ExecutionPayload, TxProfileResult, TxSimulationResult, UtilityExecutionResult } from '@aztec/stdlib/tx';
12
+ import { Tx } from '@aztec/stdlib/tx';
13
+ /**
14
+ * Wallet implementation that offloads all work to a worker thread.
15
+ * Implements the Wallet interface by proxying calls over a transport layer
16
+ * using JSON serialization with Zod schema parsing on both ends.
17
+ */
18
+ export declare class WorkerWallet implements Wallet {
19
+ private worker;
20
+ private client;
21
+ private constructor();
22
+ /**
23
+ * Creates a WorkerWallet by spawning a worker thread that creates a TestWallet internally.
24
+ * @param nodeUrl - URL of the Aztec node to connect to.
25
+ * @param pxeConfig - Optional PXE configuration overrides.
26
+ * @returns A WorkerWallet ready to use.
27
+ */
28
+ static create(nodeUrl: string, pxeConfig?: Partial<PXEConfig>): Promise<WorkerWallet>;
29
+ private callRaw;
30
+ private call;
31
+ getChainInfo(): Promise<ChainInfo>;
32
+ getContractMetadata(address: AztecAddress): Promise<ContractMetadata>;
33
+ getContractClassMetadata(id: Fr): Promise<ContractClassMetadata>;
34
+ getPrivateEvents<T>(eventMetadata: EventMetadataDefinition, eventFilter: PrivateEventFilter): Promise<PrivateEvent<T>[]>;
35
+ registerSender(address: AztecAddress, alias?: string): Promise<AztecAddress>;
36
+ getAddressBook(): Promise<Aliased<AztecAddress>[]>;
37
+ getAccounts(): Promise<Aliased<AztecAddress>[]>;
38
+ registerContract(instance: ContractInstanceWithAddress, artifact?: ContractArtifact, secretKey?: Fr): Promise<ContractInstanceWithAddress>;
39
+ simulateTx(exec: ExecutionPayload, opts: SimulateOptions): Promise<TxSimulationResult>;
40
+ executeUtility(call: FunctionCall, opts: ExecuteUtilityOptions): Promise<UtilityExecutionResult>;
41
+ profileTx(exec: ExecutionPayload, opts: ProfileOptions): Promise<TxProfileResult>;
42
+ sendTx<W extends InteractionWaitOptions = undefined>(exec: ExecutionPayload, opts: SendOptions<W>): Promise<SendReturn<W>>;
43
+ proveTx(exec: ExecutionPayload, opts: Omit<SendOptions, 'wait'>): Promise<Tx>;
44
+ /** Registers an account inside the worker's TestWallet, populating its accounts map. */
45
+ registerAccount(secret: Fr, salt: Fr): Promise<AztecAddress>;
46
+ createAuthWit(from: AztecAddress, messageHashOrIntent: IntentInnerHash | CallIntent): Promise<AuthWitness>;
47
+ requestCapabilities(manifest: AppCapabilities): Promise<WalletCapabilities>;
48
+ batch<const T extends readonly BatchedMethod[]>(methods: T): Promise<BatchResults<T>>;
49
+ /** Shuts down the worker thread and closes the transport. */
50
+ stop(): Promise<void>;
51
+ }
52
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid29ya2VyX3dhbGxldC5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3Rlc3Qtd2FsbGV0L3dvcmtlcl93YWxsZXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLEVBQUUsVUFBVSxFQUFFLGVBQWUsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ2pGLE9BQU8sS0FBSyxFQUFFLHNCQUFzQixFQUFFLFVBQVUsRUFBRSxNQUFN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B,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAE/F;IAED,SAAS,CAAC,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,eAAe,CAAC,CAEhF;IAED,MAAM,CAAC,CAAC,SAAS,sBAAsB,GAAG,SAAS,EACjD,IAAI,EAAE,gBAAgB,EACtB,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,GACnB,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAExB;IAED,OAAO,CAAC,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,EAAE,CAAC,CAE5E;IAED,wFAAwF;IACxF,eAAe,CAAC,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,OAAO,CAAC,YAAY,CAAC,CAE3D;IAED,aAAa,CAAC,IAAI,EAAE,YAAY,EAAE,mBAAmB,EAAE,eAAe,GAAG,UAAU,GAAG,OAAO,CAAC,WAAW,CAAC,CAEzG;IAED,mBAAmB,CAAC,QAAQ,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAE1E;IAED,KAAK,CAAC,KAAK,CAAC,CAAC,SAAS,SAAS,aAAa,EAAE,EAAE,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAEpF;IAED,6DAA6D;IACvD,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAG1B;CACF"}
@@ -0,0 +1,103 @@
1
+ import { jsonStringify } from '@aztec/foundation/json-rpc';
2
+ import { NodeConnector, TransportClient } from '@aztec/foundation/transport';
3
+ import { Worker } from 'worker_threads';
4
+ import { WorkerWalletSchema } from './worker_wallet_schema.js';
5
+ /**
6
+ * Wallet implementation that offloads all work to a worker thread.
7
+ * Implements the Wallet interface by proxying calls over a transport layer
8
+ * using JSON serialization with Zod schema parsing on both ends.
9
+ */ export class WorkerWallet {
10
+ worker;
11
+ client;
12
+ constructor(worker, client){
13
+ this.worker = worker;
14
+ this.client = client;
15
+ }
16
+ /**
17
+ * Creates a WorkerWallet by spawning a worker thread that creates a TestWallet internally.
18
+ * @param nodeUrl - URL of the Aztec node to connect to.
19
+ * @param pxeConfig - Optional PXE configuration overrides.
20
+ * @returns A WorkerWallet ready to use.
21
+ */ static async create(nodeUrl, pxeConfig) {
22
+ const worker = new Worker(new URL('./wallet_worker_script.js', import.meta.url), {
23
+ workerData: {
24
+ nodeUrl,
25
+ pxeConfig
26
+ }
27
+ });
28
+ const connector = new NodeConnector(worker);
29
+ const client = new TransportClient(connector);
30
+ await client.open();
31
+ const wallet = new WorkerWallet(worker, client);
32
+ // Warmup / readiness check — blocks until the worker has finished creating the TestWallet.
33
+ await wallet.getChainInfo();
34
+ return wallet;
35
+ }
36
+ async callRaw(fn, ...args) {
37
+ const argsJson = jsonStringify(args);
38
+ return await this.client.request({
39
+ fn,
40
+ args: argsJson
41
+ });
42
+ }
43
+ async call(fn, ...args) {
44
+ const resultJson = await this.callRaw(fn, ...args);
45
+ const methodSchema = WorkerWalletSchema[fn];
46
+ return methodSchema.returnType().parseAsync(JSON.parse(resultJson));
47
+ }
48
+ getChainInfo() {
49
+ return this.call('getChainInfo');
50
+ }
51
+ getContractMetadata(address) {
52
+ return this.call('getContractMetadata', address);
53
+ }
54
+ getContractClassMetadata(id) {
55
+ return this.call('getContractClassMetadata', id);
56
+ }
57
+ getPrivateEvents(eventMetadata, eventFilter) {
58
+ return this.call('getPrivateEvents', eventMetadata, eventFilter);
59
+ }
60
+ registerSender(address, alias) {
61
+ return this.call('registerSender', address, alias);
62
+ }
63
+ getAddressBook() {
64
+ return this.call('getAddressBook');
65
+ }
66
+ getAccounts() {
67
+ return this.call('getAccounts');
68
+ }
69
+ registerContract(instance, artifact, secretKey) {
70
+ return this.call('registerContract', instance, artifact, secretKey);
71
+ }
72
+ simulateTx(exec, opts) {
73
+ return this.call('simulateTx', exec, opts);
74
+ }
75
+ executeUtility(call, opts) {
76
+ return this.call('executeUtility', call, opts);
77
+ }
78
+ profileTx(exec, opts) {
79
+ return this.call('profileTx', exec, opts);
80
+ }
81
+ sendTx(exec, opts) {
82
+ return this.call('sendTx', exec, opts);
83
+ }
84
+ proveTx(exec, opts) {
85
+ return this.call('proveTx', exec, opts);
86
+ }
87
+ /** Registers an account inside the worker's TestWallet, populating its accounts map. */ registerAccount(secret, salt) {
88
+ return this.call('registerAccount', secret, salt);
89
+ }
90
+ createAuthWit(from, messageHashOrIntent) {
91
+ return this.call('createAuthWit', from, messageHashOrIntent);
92
+ }
93
+ requestCapabilities(manifest) {
94
+ return this.call('requestCapabilities', manifest);
95
+ }
96
+ batch(methods) {
97
+ return this.call('batch', methods);
98
+ }
99
+ /** Shuts down the worker thread and closes the transport. */ async stop() {
100
+ this.client.close();
101
+ await this.worker.terminate();
102
+ }
103
+ }
@@ -0,0 +1,271 @@
1
+ import { AztecAddress } from '@aztec/stdlib/aztec-address';
2
+ import { Tx } from '@aztec/stdlib/tx';
3
+ import { z } from 'zod';
4
+ /** Schema for the WorkerWallet API — extends WalletSchema with proveTx and registerAccount. */
5
+ export declare const WorkerWalletSchema: {
6
+ getPrivateEvents: z.ZodFunction<z.ZodTuple<[z.ZodType<import("@aztec/stdlib/abi").EventMetadataDefinition, z.ZodTypeDef, any>, eventFilter: z.ZodType<import("@aztec/aztec.js/wallet").PrivateEventFilter, z.ZodTypeDef, any>], z.ZodUnknown>, z.ZodType<import("@aztec/aztec.js/wallet").PrivateEvent<unknown>[], z.ZodTypeDef, any>>;
7
+ getChainInfo: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodType<import("@aztec/entrypoints/interfaces").ChainInfo, z.ZodTypeDef, any>>;
8
+ getContractMetadata: z.ZodFunction<z.ZodTuple<[z.ZodType<AztecAddress, z.ZodTypeDef, any>], z.ZodUnknown>, z.ZodType<import("@aztec/aztec.js/wallet").ContractMetadata, z.ZodTypeDef, any>>;
9
+ getContractClassMetadata: z.ZodFunction<z.ZodTuple<[z.ZodType<import("@aztec/foundation/schemas").Fr, z.ZodTypeDef, any>], z.ZodUnknown>, z.ZodType<import("@aztec/aztec.js/wallet").ContractClassMetadata, z.ZodTypeDef, any>>;
10
+ registerSender: z.ZodFunction<z.ZodTuple<[z.ZodType<AztecAddress, z.ZodTypeDef, any>, alias?: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodType<string | undefined, z.ZodTypeDef, any>> | undefined], z.ZodUnknown>, z.ZodType<AztecAddress, z.ZodTypeDef, any>>;
11
+ getAddressBook: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodType<import("@aztec/aztec.js/wallet").Aliased<AztecAddress>[], z.ZodTypeDef, any>>;
12
+ getAccounts: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodType<import("@aztec/aztec.js/wallet").Aliased<AztecAddress>[], z.ZodTypeDef, any>>;
13
+ registerContract: z.ZodFunction<z.ZodTuple<[z.ZodType<import("@aztec/stdlib/contract").ContractInstanceWithAddress, z.ZodTypeDef, any>, artifact?: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodType<import("@aztec/stdlib/abi").ContractArtifact | undefined, z.ZodTypeDef, any>> | undefined, secretKey?: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodType<import("@aztec/foundation/schemas").Fr | undefined, z.ZodTypeDef, any>> | undefined], z.ZodUnknown>, z.ZodType<import("@aztec/stdlib/contract").ContractInstanceWithAddress, z.ZodTypeDef, any>>;
14
+ simulateTx: z.ZodFunction<z.ZodTuple<[z.ZodType<import("@aztec/stdlib/tx").ExecutionPayload, z.ZodTypeDef, any>, opts: z.ZodType<import("@aztec/aztec.js/wallet").SimulateOptions, z.ZodTypeDef, any>], z.ZodUnknown>, z.ZodType<import("@aztec/stdlib/tx").TxSimulationResult, z.ZodTypeDef, any>>;
15
+ executeUtility: z.ZodFunction<z.ZodTuple<[z.ZodType<import("@aztec/stdlib/abi").FunctionCall, z.ZodTypeDef, any>, opts: z.ZodType<import("@aztec/aztec.js/wallet").ExecuteUtilityOptions, z.ZodTypeDef, any>], z.ZodUnknown>, z.ZodType<import("@aztec/stdlib/tx").UtilityExecutionResult, z.ZodTypeDef, any>>;
16
+ profileTx: z.ZodFunction<z.ZodTuple<[z.ZodType<import("@aztec/stdlib/tx").ExecutionPayload, z.ZodTypeDef, any>, opts: z.ZodType<import("@aztec/aztec.js/wallet").ProfileOptions, z.ZodTypeDef, any>], z.ZodUnknown>, z.ZodType<import("@aztec/stdlib/tx").TxProfileResult, z.ZodTypeDef, any>>;
17
+ sendTx: z.ZodFunction<z.ZodTuple<[z.ZodType<import("@aztec/stdlib/tx").ExecutionPayload, z.ZodTypeDef, any>, opts: z.ZodType<import("@aztec/aztec.js/wallet").SendOptions<import("@aztec/aztec.js/contracts").InteractionWaitOptions>, z.ZodTypeDef, any>], z.ZodUnknown>, z.ZodType<import("@aztec/stdlib/tx").TxHash | import("@aztec/stdlib/tx").TxReceipt, z.ZodTypeDef, any>>;
18
+ createAuthWit: z.ZodFunction<z.ZodTuple<[z.ZodType<AztecAddress, z.ZodTypeDef, any>, messageHashOrIntent: z.ZodType<import("@aztec/aztec.js/authorization").CallIntent | import("@aztec/aztec.js/authorization").IntentInnerHash, z.ZodTypeDef, any>], z.ZodUnknown>, z.ZodType<import("@aztec/stdlib/auth-witness").AuthWitness, z.ZodTypeDef, any>>;
19
+ requestCapabilities: z.ZodFunction<z.ZodTuple<[z.ZodType<import("@aztec/aztec.js/wallet").AppCapabilities, z.ZodTypeDef, any>], z.ZodUnknown>, z.ZodType<import("@aztec/aztec.js/wallet").WalletCapabilities, z.ZodTypeDef, any>>;
20
+ batch: z.ZodFunction<z.ZodTuple<[z.ZodType<readonly import("@aztec/aztec.js/wallet").BatchedMethod[], z.ZodTypeDef, any>], z.ZodUnknown>, z.ZodType<readonly import("@aztec/aztec.js/wallet").BatchedMethodResultWrapper<import("@aztec/aztec.js/wallet").BatchedMethod>[], z.ZodTypeDef, any>>;
21
+ proveTx: z.ZodFunction<z.ZodTuple<[z.ZodObject<{
22
+ calls: z.ZodArray<z.ZodEffects<z.ZodObject<{
23
+ name: z.ZodString;
24
+ to: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
25
+ selector: import("@aztec/foundation/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
26
+ type: z.ZodNativeEnum<typeof import("@aztec/stdlib/abi").FunctionType>;
27
+ isStatic: z.ZodBoolean;
28
+ hideMsgSender: z.ZodBoolean;
29
+ args: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>, "many">;
30
+ returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
31
+ }, "strip", z.ZodTypeAny, {
32
+ name: string;
33
+ to: AztecAddress;
34
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
35
+ type: import("@aztec/stdlib/abi").FunctionType;
36
+ isStatic: boolean;
37
+ hideMsgSender: boolean;
38
+ args: import("@aztec/foundation/schemas").Fr[];
39
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
40
+ }, {
41
+ name: string;
42
+ to?: any;
43
+ selector?: any;
44
+ type: import("@aztec/stdlib/abi").FunctionType;
45
+ isStatic: boolean;
46
+ hideMsgSender: boolean;
47
+ args: any[];
48
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
49
+ }>, import("@aztec/stdlib/abi").FunctionCall, {
50
+ name: string;
51
+ to?: any;
52
+ selector?: any;
53
+ type: import("@aztec/stdlib/abi").FunctionType;
54
+ isStatic: boolean;
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, {
94
+ daGas: number;
95
+ l2Gas: number;
96
+ }, {
97
+ daGas: string | number | bigint;
98
+ l2Gas: string | number | bigint;
99
+ }>, import("@aztec/stdlib/gas").Gas, {
100
+ daGas: string | number | bigint;
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, {
107
+ daGas: number;
108
+ l2Gas: number;
109
+ }, {
110
+ daGas: string | number | bigint;
111
+ l2Gas: string | number | bigint;
112
+ }>, import("@aztec/stdlib/gas").Gas, {
113
+ daGas: string | number | bigint;
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, {
120
+ feePerDaGas: bigint;
121
+ 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, {
130
+ feePerDaGas: bigint;
131
+ feePerL2Gas: bigint;
132
+ }, {
133
+ feePerDaGas: string | number | bigint;
134
+ feePerL2Gas: string | number | bigint;
135
+ }>>;
136
+ }, "strip", z.ZodTypeAny, {
137
+ gasLimits?: import("@aztec/stdlib/gas").Gas | undefined;
138
+ teardownGasLimits?: import("@aztec/stdlib/gas").Gas | undefined;
139
+ maxFeePerGas?: {
140
+ feePerDaGas: bigint;
141
+ feePerL2Gas: bigint;
142
+ } | undefined;
143
+ maxPriorityFeePerGas?: {
144
+ feePerDaGas: bigint;
145
+ feePerL2Gas: bigint;
146
+ } | undefined;
147
+ }, {
148
+ gasLimits?: {
149
+ daGas: string | number | bigint;
150
+ l2Gas: string | number | bigint;
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?: {
170
+ feePerDaGas: bigint;
171
+ feePerL2Gas: bigint;
172
+ } | undefined;
173
+ maxPriorityFeePerGas?: {
174
+ feePerDaGas: bigint;
175
+ feePerL2Gas: bigint;
176
+ } | undefined;
177
+ } | undefined;
178
+ }, {
179
+ gasSettings?: {
180
+ gasLimits?: {
181
+ daGas: string | number | bigint;
182
+ l2Gas: string | number | bigint;
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;
191
+ } | undefined;
192
+ maxPriorityFeePerGas?: {
193
+ feePerDaGas: string | number | bigint;
194
+ feePerL2Gas: string | number | bigint;
195
+ } | undefined;
196
+ } | undefined;
197
+ }>>;
198
+ wait: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodLiteral<"NO_WAIT">, z.ZodObject<{
199
+ ignoreDroppedReceiptsFor: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
200
+ timeout: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
201
+ interval: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
202
+ dontThrowOnRevert: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
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
+ }, "strip", z.ZodTypeAny, {
215
+ from: AztecAddress;
216
+ authWitnesses?: import("@aztec/stdlib/auth-witness").AuthWitness[] | undefined;
217
+ capsules?: import("@aztec/stdlib/tx").Capsule[] | undefined;
218
+ fee?: {
219
+ gasSettings?: {
220
+ gasLimits?: import("@aztec/stdlib/gas").Gas | undefined;
221
+ teardownGasLimits?: import("@aztec/stdlib/gas").Gas | undefined;
222
+ maxFeePerGas?: {
223
+ feePerDaGas: bigint;
224
+ feePerL2Gas: bigint;
225
+ } | undefined;
226
+ maxPriorityFeePerGas?: {
227
+ feePerDaGas: bigint;
228
+ feePerL2Gas: bigint;
229
+ } | undefined;
230
+ } | undefined;
231
+ } | undefined;
232
+ wait?: "NO_WAIT" | {
233
+ ignoreDroppedReceiptsFor?: number | undefined;
234
+ timeout?: number | undefined;
235
+ interval?: number | undefined;
236
+ dontThrowOnRevert?: boolean | undefined;
237
+ } | undefined;
238
+ }, {
239
+ from?: any;
240
+ authWitnesses?: string[] | undefined;
241
+ capsules?: string[] | undefined;
242
+ fee?: {
243
+ gasSettings?: {
244
+ gasLimits?: {
245
+ daGas: string | number | bigint;
246
+ l2Gas: string | number | bigint;
247
+ } | undefined;
248
+ teardownGasLimits?: {
249
+ daGas: string | number | bigint;
250
+ l2Gas: string | number | bigint;
251
+ } | undefined;
252
+ maxFeePerGas?: {
253
+ feePerDaGas: string | number | bigint;
254
+ feePerL2Gas: string | number | bigint;
255
+ } | undefined;
256
+ maxPriorityFeePerGas?: {
257
+ feePerDaGas: string | number | bigint;
258
+ feePerL2Gas: string | number | bigint;
259
+ } | undefined;
260
+ } | undefined;
261
+ } | undefined;
262
+ wait?: "NO_WAIT" | {
263
+ ignoreDroppedReceiptsFor?: number | undefined;
264
+ timeout?: number | undefined;
265
+ interval?: number | undefined;
266
+ dontThrowOnRevert?: boolean | undefined;
267
+ } | undefined;
268
+ }>], z.ZodUnknown>, import("@aztec/foundation/schemas").ZodFor<Tx>>;
269
+ registerAccount: z.ZodFunction<z.ZodTuple<[z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>], z.ZodUnknown>, import("@aztec/foundation/schemas").ZodFor<AztecAddress>>;
270
+ };
271
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid29ya2VyX3dhbGxldF9zY2hlbWEuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy90ZXN0LXdhbGxldC93b3JrZXJfd2FsbGV0X3NjaGVtYS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI9B,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { ExecutionPayloadSchema, SendOptionsSchema, WalletSchema } from '@aztec/aztec.js/wallet';
2
+ import { schemas } from '@aztec/foundation/schemas';
3
+ import { AztecAddress } from '@aztec/stdlib/aztec-address';
4
+ import { Tx } from '@aztec/stdlib/tx';
5
+ import { z } from 'zod';
6
+ /** Schema for the WorkerWallet API — extends WalletSchema with proveTx and registerAccount. */ export const WorkerWalletSchema = {
7
+ ...WalletSchema,
8
+ proveTx: z.function().args(ExecutionPayloadSchema, SendOptionsSchema).returns(Tx.schema),
9
+ registerAccount: z.function().args(schemas.Fr, schemas.Fr).returns(AztecAddress.schema)
10
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/end-to-end",
3
- "version": "0.0.1-commit.4ad48494d",
3
+ "version": "0.0.1-commit.4eabbdb",
4
4
  "type": "module",
5
5
  "exports": "./dest/index.js",
6
6
  "inherits": [
@@ -26,45 +26,45 @@
26
26
  "formatting": "run -T prettier --check ./src && run -T eslint ./src"
27
27
  },
28
28
  "dependencies": {
29
- "@aztec/accounts": "0.0.1-commit.4ad48494d",
30
- "@aztec/archiver": "0.0.1-commit.4ad48494d",
31
- "@aztec/aztec": "0.0.1-commit.4ad48494d",
32
- "@aztec/aztec-node": "0.0.1-commit.4ad48494d",
33
- "@aztec/aztec.js": "0.0.1-commit.4ad48494d",
34
- "@aztec/bb-prover": "0.0.1-commit.4ad48494d",
35
- "@aztec/bb.js": "0.0.1-commit.4ad48494d",
36
- "@aztec/blob-client": "0.0.1-commit.4ad48494d",
37
- "@aztec/blob-lib": "0.0.1-commit.4ad48494d",
38
- "@aztec/bot": "0.0.1-commit.4ad48494d",
39
- "@aztec/cli": "0.0.1-commit.4ad48494d",
40
- "@aztec/constants": "0.0.1-commit.4ad48494d",
41
- "@aztec/entrypoints": "0.0.1-commit.4ad48494d",
42
- "@aztec/epoch-cache": "0.0.1-commit.4ad48494d",
43
- "@aztec/ethereum": "0.0.1-commit.4ad48494d",
44
- "@aztec/foundation": "0.0.1-commit.4ad48494d",
45
- "@aztec/kv-store": "0.0.1-commit.4ad48494d",
46
- "@aztec/l1-artifacts": "0.0.1-commit.4ad48494d",
47
- "@aztec/merkle-tree": "0.0.1-commit.4ad48494d",
48
- "@aztec/node-keystore": "0.0.1-commit.4ad48494d",
49
- "@aztec/noir-contracts.js": "0.0.1-commit.4ad48494d",
50
- "@aztec/noir-noirc_abi": "0.0.1-commit.4ad48494d",
51
- "@aztec/noir-protocol-circuits-types": "0.0.1-commit.4ad48494d",
52
- "@aztec/noir-test-contracts.js": "0.0.1-commit.4ad48494d",
53
- "@aztec/p2p": "0.0.1-commit.4ad48494d",
54
- "@aztec/protocol-contracts": "0.0.1-commit.4ad48494d",
55
- "@aztec/prover-client": "0.0.1-commit.4ad48494d",
56
- "@aztec/prover-node": "0.0.1-commit.4ad48494d",
57
- "@aztec/pxe": "0.0.1-commit.4ad48494d",
58
- "@aztec/sequencer-client": "0.0.1-commit.4ad48494d",
59
- "@aztec/simulator": "0.0.1-commit.4ad48494d",
60
- "@aztec/slasher": "0.0.1-commit.4ad48494d",
61
- "@aztec/stdlib": "0.0.1-commit.4ad48494d",
62
- "@aztec/telemetry-client": "0.0.1-commit.4ad48494d",
63
- "@aztec/validator-client": "0.0.1-commit.4ad48494d",
64
- "@aztec/validator-ha-signer": "0.0.1-commit.4ad48494d",
65
- "@aztec/wallet-sdk": "0.0.1-commit.4ad48494d",
66
- "@aztec/wallets": "0.0.1-commit.4ad48494d",
67
- "@aztec/world-state": "0.0.1-commit.4ad48494d",
29
+ "@aztec/accounts": "0.0.1-commit.4eabbdb",
30
+ "@aztec/archiver": "0.0.1-commit.4eabbdb",
31
+ "@aztec/aztec": "0.0.1-commit.4eabbdb",
32
+ "@aztec/aztec-node": "0.0.1-commit.4eabbdb",
33
+ "@aztec/aztec.js": "0.0.1-commit.4eabbdb",
34
+ "@aztec/bb-prover": "0.0.1-commit.4eabbdb",
35
+ "@aztec/bb.js": "0.0.1-commit.4eabbdb",
36
+ "@aztec/blob-client": "0.0.1-commit.4eabbdb",
37
+ "@aztec/blob-lib": "0.0.1-commit.4eabbdb",
38
+ "@aztec/bot": "0.0.1-commit.4eabbdb",
39
+ "@aztec/cli": "0.0.1-commit.4eabbdb",
40
+ "@aztec/constants": "0.0.1-commit.4eabbdb",
41
+ "@aztec/entrypoints": "0.0.1-commit.4eabbdb",
42
+ "@aztec/epoch-cache": "0.0.1-commit.4eabbdb",
43
+ "@aztec/ethereum": "0.0.1-commit.4eabbdb",
44
+ "@aztec/foundation": "0.0.1-commit.4eabbdb",
45
+ "@aztec/kv-store": "0.0.1-commit.4eabbdb",
46
+ "@aztec/l1-artifacts": "0.0.1-commit.4eabbdb",
47
+ "@aztec/merkle-tree": "0.0.1-commit.4eabbdb",
48
+ "@aztec/node-keystore": "0.0.1-commit.4eabbdb",
49
+ "@aztec/noir-contracts.js": "0.0.1-commit.4eabbdb",
50
+ "@aztec/noir-noirc_abi": "0.0.1-commit.4eabbdb",
51
+ "@aztec/noir-protocol-circuits-types": "0.0.1-commit.4eabbdb",
52
+ "@aztec/noir-test-contracts.js": "0.0.1-commit.4eabbdb",
53
+ "@aztec/p2p": "0.0.1-commit.4eabbdb",
54
+ "@aztec/protocol-contracts": "0.0.1-commit.4eabbdb",
55
+ "@aztec/prover-client": "0.0.1-commit.4eabbdb",
56
+ "@aztec/prover-node": "0.0.1-commit.4eabbdb",
57
+ "@aztec/pxe": "0.0.1-commit.4eabbdb",
58
+ "@aztec/sequencer-client": "0.0.1-commit.4eabbdb",
59
+ "@aztec/simulator": "0.0.1-commit.4eabbdb",
60
+ "@aztec/slasher": "0.0.1-commit.4eabbdb",
61
+ "@aztec/stdlib": "0.0.1-commit.4eabbdb",
62
+ "@aztec/telemetry-client": "0.0.1-commit.4eabbdb",
63
+ "@aztec/validator-client": "0.0.1-commit.4eabbdb",
64
+ "@aztec/validator-ha-signer": "0.0.1-commit.4eabbdb",
65
+ "@aztec/wallet-sdk": "0.0.1-commit.4eabbdb",
66
+ "@aztec/wallets": "0.0.1-commit.4eabbdb",
67
+ "@aztec/world-state": "0.0.1-commit.4eabbdb",
68
68
  "@iarna/toml": "^2.2.5",
69
69
  "@jest/globals": "^30.0.0",
70
70
  "@noble/curves": "=1.0.0",