@aztec/cli-wallet 5.0.0-nightly.20260601 → 5.0.0-nightly.20260610

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.
@@ -11,10 +11,9 @@ export async function checkTx(wallet, aztecNode, txHash, statusOnly, log) {
11
11
  // The rest of the code here was copied over here from CLI because in CLI I needed to prune the inspect function of the PXE
12
12
  // dependency when dropping PXE JSON RPC Server.
13
13
  async function inspectTx(wallet, aztecNode, txHash, log) {
14
- const [receipt, effectsInBlock] = await Promise.all([
15
- aztecNode.getTxReceipt(txHash),
16
- aztecNode.getTxEffect(txHash)
17
- ]);
14
+ const receipt = await aztecNode.getTxReceipt(txHash, {
15
+ includeTxEffect: true
16
+ });
18
17
  // Base tx data
19
18
  log(`Tx ${txHash.toString()}`);
20
19
  log(` Status: ${receipt.status}`);
@@ -24,10 +23,10 @@ async function inspectTx(wallet, aztecNode, txHash, log) {
24
23
  if (receipt.error) {
25
24
  log(` Error: ${receipt.error}`);
26
25
  }
27
- if (!effectsInBlock) {
26
+ if (!receipt.isMined() || !receipt.txEffect) {
28
27
  return;
29
28
  }
30
- const effects = effectsInBlock.data;
29
+ const effects = receipt.txEffect;
31
30
  const artifactMap = await getKnownArtifacts(wallet);
32
31
  log(` Block: ${receipt.blockNumber} (${receipt.blockHash?.toString()})`);
33
32
  if (receipt.transactionFee) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/cli-wallet",
3
- "version": "5.0.0-nightly.20260601",
3
+ "version": "5.0.0-nightly.20260610",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./dest/cmds/index.js",
@@ -67,20 +67,20 @@
67
67
  ]
68
68
  },
69
69
  "dependencies": {
70
- "@aztec/accounts": "5.0.0-nightly.20260601",
71
- "@aztec/aztec.js": "5.0.0-nightly.20260601",
72
- "@aztec/bb.js": "5.0.0-nightly.20260601",
73
- "@aztec/cli": "5.0.0-nightly.20260601",
74
- "@aztec/entrypoints": "5.0.0-nightly.20260601",
75
- "@aztec/ethereum": "5.0.0-nightly.20260601",
76
- "@aztec/foundation": "5.0.0-nightly.20260601",
77
- "@aztec/kv-store": "5.0.0-nightly.20260601",
78
- "@aztec/noir-contracts.js": "5.0.0-nightly.20260601",
79
- "@aztec/noir-noirc_abi": "5.0.0-nightly.20260601",
80
- "@aztec/pxe": "5.0.0-nightly.20260601",
81
- "@aztec/standard-contracts": "5.0.0-nightly.20260601",
82
- "@aztec/stdlib": "5.0.0-nightly.20260601",
83
- "@aztec/wallet-sdk": "5.0.0-nightly.20260601",
70
+ "@aztec/accounts": "5.0.0-nightly.20260610",
71
+ "@aztec/aztec.js": "5.0.0-nightly.20260610",
72
+ "@aztec/bb.js": "5.0.0-nightly.20260610",
73
+ "@aztec/cli": "5.0.0-nightly.20260610",
74
+ "@aztec/entrypoints": "5.0.0-nightly.20260610",
75
+ "@aztec/ethereum": "5.0.0-nightly.20260610",
76
+ "@aztec/foundation": "5.0.0-nightly.20260610",
77
+ "@aztec/kv-store": "5.0.0-nightly.20260610",
78
+ "@aztec/noir-contracts.js": "5.0.0-nightly.20260610",
79
+ "@aztec/noir-noirc_abi": "5.0.0-nightly.20260610",
80
+ "@aztec/pxe": "5.0.0-nightly.20260610",
81
+ "@aztec/standard-contracts": "5.0.0-nightly.20260610",
82
+ "@aztec/stdlib": "5.0.0-nightly.20260610",
83
+ "@aztec/wallet-sdk": "5.0.0-nightly.20260610",
84
84
  "commander": "^12.1.0",
85
85
  "inquirer": "^10.1.8",
86
86
  "source-map-support": "^0.5.21",
@@ -33,7 +33,7 @@ export async function checkTx(
33
33
  // dependency when dropping PXE JSON RPC Server.
34
34
 
35
35
  async function inspectTx(wallet: CLIWallet, aztecNode: AztecNode, txHash: TxHash, log: LogFn) {
36
- const [receipt, effectsInBlock] = await Promise.all([aztecNode.getTxReceipt(txHash), aztecNode.getTxEffect(txHash)]);
36
+ const receipt = await aztecNode.getTxReceipt(txHash, { includeTxEffect: true });
37
37
  // Base tx data
38
38
  log(`Tx ${txHash.toString()}`);
39
39
  log(` Status: ${receipt.status}`);
@@ -44,11 +44,11 @@ async function inspectTx(wallet: CLIWallet, aztecNode: AztecNode, txHash: TxHash
44
44
  log(` Error: ${receipt.error}`);
45
45
  }
46
46
 
47
- if (!effectsInBlock) {
47
+ if (!receipt.isMined() || !receipt.txEffect) {
48
48
  return;
49
49
  }
50
50
 
51
- const effects = effectsInBlock.data;
51
+ const effects = receipt.txEffect;
52
52
  const artifactMap = await getKnownArtifacts(wallet);
53
53
 
54
54
  log(` Block: ${receipt.blockNumber} (${receipt.blockHash?.toString()})`);