@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.

@@ -3424,7 +3424,7 @@ function getDecodedLogs(receipts, mainAbi, externalAbis = {}) {
3424
3424
  if (receipt.type === ReceiptType6.LogData || receipt.type === ReceiptType6.Log) {
3425
3425
  const interfaceToUse = new Interface3(externalAbis[receipt.id] || mainAbi);
3426
3426
  const data = receipt.type === ReceiptType6.Log ? new BigNumberCoder("u64").encode(receipt.val0) : receipt.data;
3427
- const [decodedLog] = interfaceToUse.decodeLog(data, receipt.val1.toNumber());
3427
+ const [decodedLog] = interfaceToUse.decodeLog(data, receipt.val1.toString());
3428
3428
  logs.push(decodedLog);
3429
3429
  }
3430
3430
  return logs;