@aztec/end-to-end 3.0.0-nightly.20251209 → 3.0.0-nightly.20251211

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 (76) hide show
  1. package/dest/bench/client_flows/client_flows_benchmark.d.ts +2 -2
  2. package/dest/bench/client_flows/client_flows_benchmark.d.ts.map +1 -1
  3. package/dest/bench/client_flows/client_flows_benchmark.js +5 -3
  4. package/dest/e2e_cross_chain_messaging/cross_chain_messaging_test.d.ts +3 -2
  5. package/dest/e2e_cross_chain_messaging/cross_chain_messaging_test.d.ts.map +1 -1
  6. package/dest/e2e_cross_chain_messaging/cross_chain_messaging_test.js +2 -1
  7. package/dest/e2e_epochs/epochs_test.d.ts +2 -2
  8. package/dest/e2e_epochs/epochs_test.d.ts.map +1 -1
  9. package/dest/e2e_epochs/epochs_test.js +3 -2
  10. package/dest/e2e_fees/bridging_race.notest.js +1 -1
  11. package/dest/e2e_fees/fees_test.d.ts +3 -2
  12. package/dest/e2e_fees/fees_test.d.ts.map +1 -1
  13. package/dest/e2e_fees/fees_test.js +2 -1
  14. package/dest/e2e_multi_validator/utils.js +1 -1
  15. package/dest/e2e_p2p/inactivity_slash_test.d.ts +2 -2
  16. package/dest/e2e_p2p/inactivity_slash_test.d.ts.map +1 -1
  17. package/dest/e2e_p2p/p2p_network.d.ts +5 -3
  18. package/dest/e2e_p2p/p2p_network.d.ts.map +1 -1
  19. package/dest/e2e_p2p/p2p_network.js +5 -1
  20. package/dest/e2e_p2p/shared.d.ts +2 -2
  21. package/dest/e2e_p2p/shared.d.ts.map +1 -1
  22. package/dest/fixtures/e2e_prover_test.d.ts +2 -2
  23. package/dest/fixtures/e2e_prover_test.d.ts.map +1 -1
  24. package/dest/fixtures/get_acvm_config.js +1 -1
  25. package/dest/fixtures/l1_to_l2_messaging.d.ts +4 -3
  26. package/dest/fixtures/l1_to_l2_messaging.d.ts.map +1 -1
  27. package/dest/fixtures/l1_to_l2_messaging.js +2 -2
  28. package/dest/fixtures/setup_l1_contracts.d.ts +3 -3
  29. package/dest/fixtures/setup_l1_contracts.d.ts.map +1 -1
  30. package/dest/fixtures/setup_l1_contracts.js +1 -1
  31. package/dest/fixtures/snapshot_manager.d.ts +2 -2
  32. package/dest/fixtures/snapshot_manager.d.ts.map +1 -1
  33. package/dest/fixtures/snapshot_manager.js +4 -2
  34. package/dest/fixtures/utils.d.ts +3 -3
  35. package/dest/fixtures/utils.d.ts.map +1 -1
  36. package/dest/fixtures/utils.js +12 -4
  37. package/dest/fixtures/web3signer.js +1 -1
  38. package/dest/shared/cross_chain_test_harness.d.ts +3 -2
  39. package/dest/shared/cross_chain_test_harness.d.ts.map +1 -1
  40. package/dest/shared/cross_chain_test_harness.js +1 -1
  41. package/dest/shared/gas_portal_test_harness.d.ts +2 -2
  42. package/dest/shared/gas_portal_test_harness.d.ts.map +1 -1
  43. package/dest/shared/uniswap_l1_l2.d.ts +3 -2
  44. package/dest/shared/uniswap_l1_l2.d.ts.map +1 -1
  45. package/dest/shared/uniswap_l1_l2.js +4 -2
  46. package/dest/simulators/lending_simulator.d.ts +2 -2
  47. package/dest/simulators/lending_simulator.d.ts.map +1 -1
  48. package/dest/simulators/lending_simulator.js +1 -1
  49. package/dest/spartan/setup_test_wallets.d.ts +1 -1
  50. package/dest/spartan/setup_test_wallets.d.ts.map +1 -1
  51. package/dest/spartan/setup_test_wallets.js +2 -1
  52. package/dest/spartan/utils.d.ts +3 -2
  53. package/dest/spartan/utils.d.ts.map +1 -1
  54. package/package.json +38 -38
  55. package/src/bench/client_flows/client_flows_benchmark.ts +5 -3
  56. package/src/e2e_cross_chain_messaging/cross_chain_messaging_test.ts +3 -3
  57. package/src/e2e_epochs/epochs_test.ts +4 -2
  58. package/src/e2e_fees/bridging_race.notest.ts +1 -1
  59. package/src/e2e_fees/fees_test.ts +3 -1
  60. package/src/e2e_multi_validator/utils.ts +1 -1
  61. package/src/e2e_p2p/inactivity_slash_test.ts +1 -1
  62. package/src/e2e_p2p/p2p_network.ts +7 -8
  63. package/src/e2e_p2p/shared.ts +5 -1
  64. package/src/fixtures/e2e_prover_test.ts +1 -1
  65. package/src/fixtures/get_acvm_config.ts +1 -1
  66. package/src/fixtures/l1_to_l2_messaging.ts +4 -2
  67. package/src/fixtures/setup_l1_contracts.ts +2 -1
  68. package/src/fixtures/snapshot_manager.ts +5 -8
  69. package/src/fixtures/utils.ts +12 -11
  70. package/src/fixtures/web3signer.ts +1 -1
  71. package/src/shared/cross_chain_test_harness.ts +3 -1
  72. package/src/shared/gas_portal_test_harness.ts +1 -1
  73. package/src/shared/uniswap_l1_l2.ts +5 -8
  74. package/src/simulators/lending_simulator.ts +2 -2
  75. package/src/spartan/setup_test_wallets.ts +2 -1
  76. package/src/spartan/utils.ts +2 -1
@@ -3,13 +3,13 @@ import { AztecAddress, EthAddress } from '@aztec/aztec.js/addresses';
3
3
  import { type Logger, createLogger } from '@aztec/aztec.js/log';
4
4
  import type { AztecNode } from '@aztec/aztec.js/node';
5
5
  import { CheatCodes } from '@aztec/aztec/testing';
6
+ import { createExtendedL1Client } from '@aztec/ethereum/client';
6
7
  import {
7
8
  type DeployL1ContractsArgs,
8
9
  type DeployL1ContractsReturnType,
9
- type ExtendedViemWalletClient,
10
- createExtendedL1Client,
11
10
  deployL1Contract,
12
- } from '@aztec/ethereum';
11
+ } from '@aztec/ethereum/deploy-l1-contracts';
12
+ import type { ExtendedViemWalletClient } from '@aztec/ethereum/types';
13
13
  import { InboxAbi, OutboxAbi, TestERC20Abi, TestERC20Bytecode } from '@aztec/l1-artifacts';
14
14
  import { TokenContract } from '@aztec/noir-contracts.js/Token';
15
15
  import { TokenBridgeContract } from '@aztec/noir-contracts.js/TokenBridge';
@@ -6,12 +6,14 @@ import type { Logger } from '@aztec/aztec.js/log';
6
6
  import { MerkleTreeId } from '@aztec/aztec.js/trees';
7
7
  import type { Wallet } from '@aztec/aztec.js/wallet';
8
8
  import { EpochCache } from '@aztec/epoch-cache';
9
- import { DefaultL1ContractsConfig, type ExtendedViemWalletClient, createExtendedL1Client } from '@aztec/ethereum';
9
+ import { createExtendedL1Client } from '@aztec/ethereum/client';
10
+ import { DefaultL1ContractsConfig } from '@aztec/ethereum/config';
10
11
  import { RollupContract } from '@aztec/ethereum/contracts';
11
12
  import { ChainMonitor, DelayedTxUtils, type Delayer, waitUntilL1Timestamp, withDelayer } from '@aztec/ethereum/test';
13
+ import type { ExtendedViemWalletClient } from '@aztec/ethereum/types';
12
14
  import { BlockNumber, CheckpointNumber, EpochNumber } from '@aztec/foundation/branded-types';
13
15
  import { SecretValue } from '@aztec/foundation/config';
14
- import { randomBytes } from '@aztec/foundation/crypto';
16
+ import { randomBytes } from '@aztec/foundation/crypto/random';
15
17
  import { withLogNameSuffix } from '@aztec/foundation/log';
16
18
  import { retryUntil } from '@aztec/foundation/retry';
17
19
  import { sleep } from '@aztec/foundation/sleep';
@@ -1,7 +1,7 @@
1
1
  import { SchnorrAccountContract } from '@aztec/accounts/schnorr';
2
2
  import { Fr } from '@aztec/aztec.js/fields';
3
3
  import type { Logger } from '@aztec/aztec.js/log';
4
- import { Fq } from '@aztec/foundation/fields';
4
+ import { Fq } from '@aztec/foundation/curves/bn254';
5
5
  import { sleep } from '@aztec/foundation/sleep';
6
6
  import type { AztecAddress } from '@aztec/stdlib/aztec-address';
7
7
  import type { TestWallet } from '@aztec/test-wallet/server';
@@ -2,7 +2,9 @@ import type { AztecAddress } from '@aztec/aztec.js/addresses';
2
2
  import { type Logger, createLogger } from '@aztec/aztec.js/log';
3
3
  import type { AztecNode } from '@aztec/aztec.js/node';
4
4
  import { CheatCodes } from '@aztec/aztec/testing';
5
- import { type DeployL1ContractsArgs, RollupContract, createExtendedL1Client } from '@aztec/ethereum';
5
+ import { createExtendedL1Client } from '@aztec/ethereum/client';
6
+ import { RollupContract } from '@aztec/ethereum/contracts';
7
+ import type { DeployL1ContractsArgs } from '@aztec/ethereum/deploy-l1-contracts';
6
8
  import { ChainMonitor } from '@aztec/ethereum/test';
7
9
  import { BlockNumber } from '@aztec/foundation/branded-types';
8
10
  import { EthAddress } from '@aztec/foundation/eth-address';
@@ -1,5 +1,5 @@
1
1
  import { AztecAddress } from '@aztec/aztec.js/addresses';
2
- import { getAddressFromPrivateKey } from '@aztec/ethereum';
2
+ import { getAddressFromPrivateKey } from '@aztec/ethereum/account';
3
3
  import { EthAddress } from '@aztec/foundation/eth-address';
4
4
  import type { EthPrivateKey } from '@aztec/node-keystore';
5
5
 
@@ -1,6 +1,6 @@
1
1
  import type { AztecNodeService } from '@aztec/aztec-node';
2
2
  import { EthAddress } from '@aztec/aztec.js/addresses';
3
- import { RollupContract } from '@aztec/ethereum';
3
+ import { RollupContract } from '@aztec/ethereum/contracts';
4
4
  import { EpochNumber } from '@aztec/foundation/branded-types';
5
5
 
6
6
  import fs from 'fs';
@@ -2,20 +2,19 @@ import type { InitialAccountData } from '@aztec/accounts/testing';
2
2
  import type { AztecNodeConfig, AztecNodeService } from '@aztec/aztec-node';
3
3
  import { AztecAddress, EthAddress } from '@aztec/aztec.js/addresses';
4
4
  import { Fr } from '@aztec/aztec.js/fields';
5
+ import { getL1ContractsConfigEnvVars } from '@aztec/ethereum/config';
5
6
  import {
6
7
  type EmpireSlashingProposerContract,
7
- type ExtendedViemWalletClient,
8
8
  GSEContract,
9
- MultiAdderArtifact,
10
- type Operator,
11
9
  RollupContract,
12
10
  type TallySlashingProposerContract,
13
- type ViemClient,
14
- createL1TxUtilsFromViemWallet,
15
- deployL1Contract,
16
- getL1ContractsConfigEnvVars,
17
- } from '@aztec/ethereum';
11
+ } from '@aztec/ethereum/contracts';
12
+ import type { Operator } from '@aztec/ethereum/deploy-l1-contracts';
13
+ import { deployL1Contract } from '@aztec/ethereum/deploy-l1-contracts';
14
+ import { MultiAdderArtifact } from '@aztec/ethereum/l1-artifacts';
15
+ import { createL1TxUtilsFromViemWallet } from '@aztec/ethereum/l1-tx-utils';
18
16
  import { ChainMonitor } from '@aztec/ethereum/test';
17
+ import type { ExtendedViemWalletClient, ViemClient } from '@aztec/ethereum/types';
19
18
  import { EpochNumber } from '@aztec/foundation/branded-types';
20
19
  import { SecretValue } from '@aztec/foundation/config';
21
20
  import { type Logger, createLogger } from '@aztec/foundation/log';
@@ -6,7 +6,11 @@ import { Fr } from '@aztec/aztec.js/fields';
6
6
  import type { Logger } from '@aztec/aztec.js/log';
7
7
  import { Tx, TxStatus } from '@aztec/aztec.js/tx';
8
8
  import type { RollupCheatCodes } from '@aztec/aztec/testing';
9
- import type { EmpireSlashingProposerContract, RollupContract, TallySlashingProposerContract } from '@aztec/ethereum';
9
+ import type {
10
+ EmpireSlashingProposerContract,
11
+ RollupContract,
12
+ TallySlashingProposerContract,
13
+ } from '@aztec/ethereum/contracts';
10
14
  import { EpochNumber } from '@aztec/foundation/branded-types';
11
15
  import { timesAsync, unique } from '@aztec/foundation/collection';
12
16
  import { retryUntil } from '@aztec/foundation/retry';
@@ -13,7 +13,7 @@ import {
13
13
  import { BackendType, Barretenberg } from '@aztec/bb.js';
14
14
  import { createBlobSinkClient } from '@aztec/blob-sink/client';
15
15
  import type { BlobSinkServer } from '@aztec/blob-sink/server';
16
- import type { DeployL1ContractsReturnType } from '@aztec/ethereum';
16
+ import type { DeployL1ContractsReturnType } from '@aztec/ethereum/deploy-l1-contracts';
17
17
  import { Buffer32 } from '@aztec/foundation/buffer';
18
18
  import { SecretValue } from '@aztec/foundation/config';
19
19
  import { FeeAssetHandlerAbi } from '@aztec/l1-artifacts';
@@ -1,6 +1,6 @@
1
1
  import type { Logger } from '@aztec/aztec.js/log';
2
2
  import { parseBooleanEnv } from '@aztec/foundation/config';
3
- import { randomBytes } from '@aztec/foundation/crypto';
3
+ import { randomBytes } from '@aztec/foundation/crypto/random';
4
4
  import { tryRmDir } from '@aztec/foundation/fs';
5
5
 
6
6
  import { promises as fs } from 'fs';
@@ -1,5 +1,7 @@
1
- import { type ExtendedViemWalletClient, type L1ContractAddresses, RollupContract } from '@aztec/ethereum';
2
- import { Fr } from '@aztec/foundation/fields';
1
+ import { RollupContract } from '@aztec/ethereum/contracts';
2
+ import type { L1ContractAddresses } from '@aztec/ethereum/l1-contract-addresses';
3
+ import type { ExtendedViemWalletClient } from '@aztec/ethereum/types';
4
+ import { Fr } from '@aztec/foundation/curves/bn254';
3
5
  import { tryJsonStringify } from '@aztec/foundation/json-rpc';
4
6
  import { InboxAbi } from '@aztec/l1-artifacts';
5
7
  import type { AztecAddress } from '@aztec/stdlib/aztec-address';
@@ -1,5 +1,6 @@
1
1
  import type { Logger } from '@aztec/aztec.js/log';
2
- import { type DeployL1ContractsArgs, type L1ContractsConfig, deployL1Contracts } from '@aztec/ethereum';
2
+ import type { L1ContractsConfig } from '@aztec/ethereum/config';
3
+ import { type DeployL1ContractsArgs, deployL1Contracts } from '@aztec/ethereum/deploy-l1-contracts';
3
4
  import { getVKTreeRoot } from '@aztec/noir-protocol-circuits-types/vk-tree';
4
5
  import { protocolContractsHash } from '@aztec/protocol-contracts';
5
6
 
@@ -10,17 +10,14 @@ import type { AztecNode } from '@aztec/aztec.js/node';
10
10
  import type { Wallet } from '@aztec/aztec.js/wallet';
11
11
  import { AnvilTestWatcher, CheatCodes } from '@aztec/aztec/testing';
12
12
  import { type BlobSinkServer, createBlobSinkServer } from '@aztec/blob-sink/server';
13
- import {
14
- type DeployL1ContractsArgs,
15
- type DeployL1ContractsReturnType,
16
- createExtendedL1Client,
17
- deployMulticall3,
18
- getL1ContractsConfigEnvVars,
19
- } from '@aztec/ethereum';
13
+ import { createExtendedL1Client } from '@aztec/ethereum/client';
14
+ import { getL1ContractsConfigEnvVars } from '@aztec/ethereum/config';
15
+ import { deployMulticall3 } from '@aztec/ethereum/contracts';
16
+ import type { DeployL1ContractsArgs, DeployL1ContractsReturnType } from '@aztec/ethereum/deploy-l1-contracts';
20
17
  import { EthCheatCodesWithState, startAnvil } from '@aztec/ethereum/test';
21
18
  import { asyncMap } from '@aztec/foundation/async-map';
22
19
  import { SecretValue } from '@aztec/foundation/config';
23
- import { randomBytes } from '@aztec/foundation/crypto';
20
+ import { randomBytes } from '@aztec/foundation/crypto/random';
24
21
  import { tryRmDir } from '@aztec/foundation/fs';
25
22
  import { createLogger } from '@aztec/foundation/log';
26
23
  import { resolver, reviver } from '@aztec/foundation/serialize';
@@ -12,19 +12,18 @@ import { AnvilTestWatcher, CheatCodes } from '@aztec/aztec/testing';
12
12
  import { createBlobSinkClient } from '@aztec/blob-sink/client';
13
13
  import { type BlobSinkServer, createBlobSinkServer } from '@aztec/blob-sink/server';
14
14
  import { GENESIS_ARCHIVE_ROOT, SPONSORED_FPC_SALT } from '@aztec/constants';
15
+ import { isAnvilTestChain } from '@aztec/ethereum/chain';
16
+ import { createExtendedL1Client } from '@aztec/ethereum/client';
17
+ import { getL1ContractsConfigEnvVars } from '@aztec/ethereum/config';
18
+ import { NULL_KEY } from '@aztec/ethereum/constants';
19
+ import { RollupContract, deployMulticall3 } from '@aztec/ethereum/contracts';
15
20
  import {
16
21
  type DeployL1ContractsArgs,
17
22
  type DeployL1ContractsReturnType,
18
- FeeAssetArtifact,
19
- NULL_KEY,
20
23
  type Operator,
21
- RollupContract,
22
- createExtendedL1Client,
23
24
  deployL1Contracts,
24
- deployMulticall3,
25
- getL1ContractsConfigEnvVars,
26
- isAnvilTestChain,
27
- } from '@aztec/ethereum';
25
+ } from '@aztec/ethereum/deploy-l1-contracts';
26
+ import { FeeAssetArtifact } from '@aztec/ethereum/l1-artifacts';
28
27
  import {
29
28
  DelayedTxUtils,
30
29
  EthCheatCodes,
@@ -34,9 +33,9 @@ import {
34
33
  } from '@aztec/ethereum/test';
35
34
  import { BlockNumber, EpochNumber } from '@aztec/foundation/branded-types';
36
35
  import { SecretValue } from '@aztec/foundation/config';
37
- import { randomBytes } from '@aztec/foundation/crypto';
36
+ import { randomBytes } from '@aztec/foundation/crypto/random';
37
+ import { Fr } from '@aztec/foundation/curves/bn254';
38
38
  import { EthAddress } from '@aztec/foundation/eth-address';
39
- import { Fr } from '@aztec/foundation/fields';
40
39
  import { tryRmDir } from '@aztec/foundation/fs';
41
40
  import { withLogNameSuffix } from '@aztec/foundation/log';
42
41
  import { retryUntil } from '@aztec/foundation/retry';
@@ -449,7 +448,9 @@ export async function setup(
449
448
  config.publisherPrivateKeys = [new SecretValue(`0x${publisherPrivKey!.toString('hex')}` as const)];
450
449
  }
451
450
 
452
- config.coinbase = EthAddress.fromString(publisherHdAccount.address);
451
+ if (config.coinbase === undefined) {
452
+ config.coinbase = EthAddress.fromString(publisherHdAccount.address);
453
+ }
453
454
 
454
455
  if (AZTEC_NODE_URL) {
455
456
  // we are setting up against a remote environment, l1 contracts are assumed to already be deployed
@@ -1,4 +1,4 @@
1
- import { randomBytes } from '@aztec/foundation/crypto';
1
+ import { randomBytes } from '@aztec/foundation/crypto/random';
2
2
  import { retryUntil } from '@aztec/foundation/retry';
3
3
  import { sleep } from '@aztec/foundation/sleep';
4
4
  import { RemoteSigner } from '@aztec/node-keystore';
@@ -13,7 +13,9 @@ import type { AztecNode } from '@aztec/aztec.js/node';
13
13
  import type { SiblingPath } from '@aztec/aztec.js/trees';
14
14
  import type { TxReceipt } from '@aztec/aztec.js/tx';
15
15
  import type { Wallet } from '@aztec/aztec.js/wallet';
16
- import { type ExtendedViemWalletClient, type L1ContractAddresses, deployL1Contract } from '@aztec/ethereum';
16
+ import { deployL1Contract } from '@aztec/ethereum/deploy-l1-contracts';
17
+ import type { L1ContractAddresses } from '@aztec/ethereum/l1-contract-addresses';
18
+ import type { ExtendedViemWalletClient } from '@aztec/ethereum/types';
17
19
  import { BlockNumber } from '@aztec/foundation/branded-types';
18
20
  import { retryUntil } from '@aztec/foundation/retry';
19
21
  import type { FieldsOf } from '@aztec/foundation/types';
@@ -4,7 +4,7 @@ import { Fr } from '@aztec/aztec.js/fields';
4
4
  import type { Logger } from '@aztec/aztec.js/log';
5
5
  import type { AztecNode } from '@aztec/aztec.js/node';
6
6
  import type { Wallet } from '@aztec/aztec.js/wallet';
7
- import type { ExtendedViemWalletClient } from '@aztec/ethereum';
7
+ import type { ExtendedViemWalletClient } from '@aztec/ethereum/types';
8
8
  import { retryUntil } from '@aztec/foundation/retry';
9
9
  import { FeeJuiceContract } from '@aztec/noir-contracts.js/FeeJuice';
10
10
  import { ProtocolContractAddress } from '@aztec/protocol-contracts';
@@ -5,14 +5,11 @@ import { Fr } from '@aztec/aztec.js/fields';
5
5
  import type { Logger } from '@aztec/aztec.js/log';
6
6
  import type { AztecNode } from '@aztec/aztec.js/node';
7
7
  import { CheatCodes } from '@aztec/aztec/testing';
8
- import {
9
- type DeployL1ContractsReturnType,
10
- type ExtendedViemWalletClient,
11
- RollupContract,
12
- deployL1Contract,
13
- extractEvent,
14
- } from '@aztec/ethereum';
15
- import { sha256ToField } from '@aztec/foundation/crypto';
8
+ import { RollupContract } from '@aztec/ethereum/contracts';
9
+ import { type DeployL1ContractsReturnType, deployL1Contract } from '@aztec/ethereum/deploy-l1-contracts';
10
+ import type { ExtendedViemWalletClient } from '@aztec/ethereum/types';
11
+ import { extractEvent } from '@aztec/ethereum/utils';
12
+ import { sha256ToField } from '@aztec/foundation/crypto/sha256';
16
13
  import { InboxAbi, UniswapPortalAbi, UniswapPortalBytecode } from '@aztec/l1-artifacts';
17
14
  import { UniswapContract } from '@aztec/noir-contracts.js/Uniswap';
18
15
  import { computeL2ToL1MessageHash } from '@aztec/stdlib/hash';
@@ -2,9 +2,9 @@
2
2
  import { AztecAddress } from '@aztec/aztec.js/addresses';
3
3
  import { Fr } from '@aztec/aztec.js/fields';
4
4
  import { CheatCodes } from '@aztec/aztec/testing';
5
- import type { RollupContract } from '@aztec/ethereum';
5
+ import type { RollupContract } from '@aztec/ethereum/contracts';
6
6
  import { SlotNumber } from '@aztec/foundation/branded-types';
7
- import { pedersenHash } from '@aztec/foundation/crypto';
7
+ import { pedersenHash } from '@aztec/foundation/crypto/pedersen';
8
8
  import type { TestDateProvider } from '@aztec/foundation/timer';
9
9
  import type { LendingContract } from '@aztec/noir-contracts.js/Lending';
10
10
 
@@ -6,7 +6,8 @@ import { type FeePaymentMethod, SponsoredFeePaymentMethod } from '@aztec/aztec.j
6
6
  import { Fr } from '@aztec/aztec.js/fields';
7
7
  import { type AztecNode, createAztecNodeClient } from '@aztec/aztec.js/node';
8
8
  import type { Wallet } from '@aztec/aztec.js/wallet';
9
- import { createEthereumChain, createExtendedL1Client } from '@aztec/ethereum';
9
+ import { createEthereumChain } from '@aztec/ethereum/chain';
10
+ import { createExtendedL1Client } from '@aztec/ethereum/client';
10
11
  import type { Logger } from '@aztec/foundation/log';
11
12
  import { retryUntil } from '@aztec/foundation/retry';
12
13
  import { TokenContract } from '@aztec/noir-contracts.js/Token';
@@ -1,6 +1,7 @@
1
1
  import { createLogger } from '@aztec/aztec.js/log';
2
2
  import type { RollupCheatCodes } from '@aztec/aztec/testing';
3
- import type { L1ContractAddresses, ViemPublicClient } from '@aztec/ethereum';
3
+ import type { L1ContractAddresses } from '@aztec/ethereum/l1-contract-addresses';
4
+ import type { ViemPublicClient } from '@aztec/ethereum/types';
4
5
  import type { CheckpointNumber } from '@aztec/foundation/branded-types';
5
6
  import type { Logger } from '@aztec/foundation/log';
6
7
  import { promiseWithResolvers } from '@aztec/foundation/promise';