@fuel-ts/account 0.0.0-rc-2143-20240517135655 → 0.0.0-rc-2329-20240517140938
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.
- package/dist/index.global.js +2 -2
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/test-utils/launchNode.d.ts +3 -3
- package/dist/test-utils/launchNode.d.ts.map +1 -1
- package/dist/test-utils.global.js +84 -68
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +5 -3
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +5 -3
- package/dist/test-utils.mjs.map +1 -1
- package/package.json +15 -15
package/dist/test-utils.mjs
CHANGED
@@ -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.
|
3427
|
+
const [decodedLog] = interfaceToUse.decodeLog(data, receipt.val1.toString());
|
3428
3428
|
logs.push(decodedLog);
|
3429
3429
|
}
|
3430
3430
|
return logs;
|
@@ -8427,6 +8427,7 @@ 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";
|
8430
8431
|
import { spawn } from "child_process";
|
8431
8432
|
import { randomUUID } from "crypto";
|
8432
8433
|
import { existsSync, mkdirSync, rmSync, writeFileSync } from "fs";
|
@@ -8469,7 +8470,7 @@ var launchNode = async ({
|
|
8469
8470
|
ip,
|
8470
8471
|
port,
|
8471
8472
|
args = [],
|
8472
|
-
|
8473
|
+
useSystemFuelCore = false,
|
8473
8474
|
loggingEnabled = true,
|
8474
8475
|
debugEnabled = false,
|
8475
8476
|
basePath
|
@@ -8489,7 +8490,8 @@ var launchNode = async ({
|
|
8489
8490
|
const poaInstantFlagValue = getFlagValueFromArgs(args, "--poa-instant");
|
8490
8491
|
const poaInstant = poaInstantFlagValue === "true" || poaInstantFlagValue === void 0;
|
8491
8492
|
const graphQLStartSubstring = "Binding GraphQL provider to";
|
8492
|
-
const
|
8493
|
+
const binPath = findBinPath("fuels-core", __dirname);
|
8494
|
+
const command = useSystemFuelCore ? "fuel-core" : binPath;
|
8493
8495
|
const ipToUse = ip || "0.0.0.0";
|
8494
8496
|
const portToUse = port || (await getPortPromise({
|
8495
8497
|
port: 4e3,
|