@fuel-ts/account 0.0.0-rc-2329-20240517140938 → 0.0.0-rc-2143-20240517141129

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.toString());
3427
+ const [decodedLog] = interfaceToUse.decodeLog(data, receipt.val1.toNumber());
3428
3428
  logs.push(decodedLog);
3429
3429
  }
3430
3430
  return logs;
@@ -8427,7 +8427,6 @@ var generateTestWallet = async (provider, quantities) => {
8427
8427
  import { UTXO_ID_LEN as UTXO_ID_LEN3 } from "@fuel-ts/abi-coder";
8428
8428
  import { randomBytes as randomBytes6 } from "@fuel-ts/crypto";
8429
8429
  import { defaultSnapshotConfigs, defaultConsensusKey, hexlify as hexlify18 } from "@fuel-ts/utils";
8430
- import { findBinPath } from "@fuel-ts/utils/cli-utils";
8431
8430
  import { spawn } from "child_process";
8432
8431
  import { randomUUID } from "crypto";
8433
8432
  import { existsSync, mkdirSync, rmSync, writeFileSync } from "fs";
@@ -8470,7 +8469,7 @@ var launchNode = async ({
8470
8469
  ip,
8471
8470
  port,
8472
8471
  args = [],
8473
- useSystemFuelCore = false,
8472
+ fuelCorePath = process.env.FUEL_CORE_PATH ?? void 0,
8474
8473
  loggingEnabled = true,
8475
8474
  debugEnabled = false,
8476
8475
  basePath
@@ -8490,8 +8489,7 @@ var launchNode = async ({
8490
8489
  const poaInstantFlagValue = getFlagValueFromArgs(args, "--poa-instant");
8491
8490
  const poaInstant = poaInstantFlagValue === "true" || poaInstantFlagValue === void 0;
8492
8491
  const graphQLStartSubstring = "Binding GraphQL provider to";
8493
- const binPath = findBinPath("fuels-core", __dirname);
8494
- const command = useSystemFuelCore ? "fuel-core" : binPath;
8492
+ const command = fuelCorePath ?? "fuel-core";
8495
8493
  const ipToUse = ip || "0.0.0.0";
8496
8494
  const portToUse = port || (await getPortPromise({
8497
8495
  port: 4e3,