@fuel-ts/account 0.0.0-rc-2143-20240517141129 → 0.0.0-rc-2143-20240517152329

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.

Potentially problematic release.


This version of @fuel-ts/account might be problematic. Click here for more details.

@@ -3438,7 +3438,7 @@ function getDecodedLogs(receipts, mainAbi, externalAbis = {}) {
3438
3438
  if (receipt.type === import_transactions18.ReceiptType.LogData || receipt.type === import_transactions18.ReceiptType.Log) {
3439
3439
  const interfaceToUse = new import_abi_coder5.Interface(externalAbis[receipt.id] || mainAbi);
3440
3440
  const data = receipt.type === import_transactions18.ReceiptType.Log ? new import_abi_coder5.BigNumberCoder("u64").encode(receipt.val0) : receipt.data;
3441
- const [decodedLog] = interfaceToUse.decodeLog(data, receipt.val1.toNumber());
3441
+ const [decodedLog] = interfaceToUse.decodeLog(data, receipt.val1.toString());
3442
3442
  logs.push(decodedLog);
3443
3443
  }
3444
3444
  return logs;