@aztec/test-wallet 4.0.0-nightly.20260113 → 4.0.0-nightly.20260114

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.
@@ -50,7 +50,7 @@ import { BaseTestWallet } from './test_wallet.js';
50
50
  const chainInfo = await this.getChainInfo();
51
51
  const originalAccount = await this.getAccountFromAddress(address);
52
52
  const originalAddress = originalAccount.getCompleteAddress();
53
- const { contractInstance } = await this.pxe.getContractMetadata(originalAddress.address);
53
+ const contractInstance = await this.pxe.getContractInstance(originalAddress.address);
54
54
  if (!contractInstance) {
55
55
  throw new Error(`No contract instance found for address: ${originalAddress.address}`);
56
56
  }
@@ -50,7 +50,7 @@ import { BaseTestWallet } from './test_wallet.js';
50
50
  const chainInfo = await this.getChainInfo();
51
51
  const originalAccount = await this.getAccountFromAddress(address);
52
52
  const originalAddress = originalAccount.getCompleteAddress();
53
- const { contractInstance } = await this.pxe.getContractMetadata(originalAddress.address);
53
+ const contractInstance = await this.pxe.getContractInstance(originalAddress.address);
54
54
  if (!contractInstance) {
55
55
  throw new Error(`No contract instance found for address: ${originalAddress.address}`);
56
56
  }
@@ -50,7 +50,7 @@ import { BaseTestWallet } from './test_wallet.js';
50
50
  const chainInfo = await this.getChainInfo();
51
51
  const originalAccount = await this.getAccountFromAddress(address);
52
52
  const originalAddress = originalAccount.getCompleteAddress();
53
- const { contractInstance } = await this.pxe.getContractMetadata(originalAddress.address);
53
+ const contractInstance = await this.pxe.getContractInstance(originalAddress.address);
54
54
  if (!contractInstance) {
55
55
  throw new Error(`No contract instance found for address: ${originalAddress.address}`);
56
56
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aztec/test-wallet",
3
3
  "homepage": "https://github.com/AztecProtocol/aztec-packages/tree/master/yarn-project/test-wallet",
4
- "version": "4.0.0-nightly.20260113",
4
+ "version": "4.0.0-nightly.20260114",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  "./client/bundle": "./dest/bundle.js",
@@ -62,14 +62,14 @@
62
62
  ]
63
63
  },
64
64
  "dependencies": {
65
- "@aztec/accounts": "4.0.0-nightly.20260113",
66
- "@aztec/aztec.js": "4.0.0-nightly.20260113",
67
- "@aztec/entrypoints": "4.0.0-nightly.20260113",
68
- "@aztec/foundation": "4.0.0-nightly.20260113",
69
- "@aztec/noir-contracts.js": "4.0.0-nightly.20260113",
70
- "@aztec/pxe": "4.0.0-nightly.20260113",
71
- "@aztec/stdlib": "4.0.0-nightly.20260113",
72
- "@aztec/wallet-sdk": "4.0.0-nightly.20260113"
65
+ "@aztec/accounts": "4.0.0-nightly.20260114",
66
+ "@aztec/aztec.js": "4.0.0-nightly.20260114",
67
+ "@aztec/entrypoints": "4.0.0-nightly.20260114",
68
+ "@aztec/foundation": "4.0.0-nightly.20260114",
69
+ "@aztec/noir-contracts.js": "4.0.0-nightly.20260114",
70
+ "@aztec/pxe": "4.0.0-nightly.20260114",
71
+ "@aztec/stdlib": "4.0.0-nightly.20260114",
72
+ "@aztec/wallet-sdk": "4.0.0-nightly.20260114"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@jest/globals": "^30.0.0",
@@ -62,7 +62,7 @@ export class TestWallet extends BaseTestWallet {
62
62
  const chainInfo = await this.getChainInfo();
63
63
  const originalAccount = await this.getAccountFromAddress(address);
64
64
  const originalAddress = originalAccount.getCompleteAddress();
65
- const { contractInstance } = await this.pxe.getContractMetadata(originalAddress.address);
65
+ const contractInstance = await this.pxe.getContractInstance(originalAddress.address);
66
66
  if (!contractInstance) {
67
67
  throw new Error(`No contract instance found for address: ${originalAddress.address}`);
68
68
  }
@@ -62,7 +62,7 @@ export class TestWallet extends BaseTestWallet {
62
62
  const chainInfo = await this.getChainInfo();
63
63
  const originalAccount = await this.getAccountFromAddress(address);
64
64
  const originalAddress = originalAccount.getCompleteAddress();
65
- const { contractInstance } = await this.pxe.getContractMetadata(originalAddress.address);
65
+ const contractInstance = await this.pxe.getContractInstance(originalAddress.address);
66
66
  if (!contractInstance) {
67
67
  throw new Error(`No contract instance found for address: ${originalAddress.address}`);
68
68
  }
@@ -62,7 +62,7 @@ export class TestWallet extends BaseTestWallet {
62
62
  const chainInfo = await this.getChainInfo();
63
63
  const originalAccount = await this.getAccountFromAddress(address);
64
64
  const originalAddress = originalAccount.getCompleteAddress();
65
- const { contractInstance } = await this.pxe.getContractMetadata(originalAddress.address);
65
+ const contractInstance = await this.pxe.getContractInstance(originalAddress.address);
66
66
  if (!contractInstance) {
67
67
  throw new Error(`No contract instance found for address: ${originalAddress.address}`);
68
68
  }