@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.js
CHANGED
@@ -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.
|
3441
|
+
const [decodedLog] = interfaceToUse.decodeLog(data, receipt.val1.toString());
|
3442
3442
|
logs.push(decodedLog);
|
3443
3443
|
}
|
3444
3444
|
return logs;
|
@@ -8433,6 +8433,7 @@ var generateTestWallet = async (provider, quantities) => {
|
|
8433
8433
|
var import_abi_coder7 = require("@fuel-ts/abi-coder");
|
8434
8434
|
var import_crypto7 = require("@fuel-ts/crypto");
|
8435
8435
|
var import_utils36 = require("@fuel-ts/utils");
|
8436
|
+
var import_cli_utils = require("@fuel-ts/utils/cli-utils");
|
8436
8437
|
var import_child_process = require("child_process");
|
8437
8438
|
var import_crypto8 = require("crypto");
|
8438
8439
|
var import_fs = require("fs");
|
@@ -8475,7 +8476,7 @@ var launchNode = async ({
|
|
8475
8476
|
ip,
|
8476
8477
|
port,
|
8477
8478
|
args = [],
|
8478
|
-
|
8479
|
+
useSystemFuelCore = false,
|
8479
8480
|
loggingEnabled = true,
|
8480
8481
|
debugEnabled = false,
|
8481
8482
|
basePath
|
@@ -8495,7 +8496,8 @@ var launchNode = async ({
|
|
8495
8496
|
const poaInstantFlagValue = getFlagValueFromArgs(args, "--poa-instant");
|
8496
8497
|
const poaInstant = poaInstantFlagValue === "true" || poaInstantFlagValue === void 0;
|
8497
8498
|
const graphQLStartSubstring = "Binding GraphQL provider to";
|
8498
|
-
const
|
8499
|
+
const binPath = (0, import_cli_utils.findBinPath)("fuels-core", __dirname);
|
8500
|
+
const command = useSystemFuelCore ? "fuel-core" : binPath;
|
8499
8501
|
const ipToUse = ip || "0.0.0.0";
|
8500
8502
|
const portToUse = port || (await (0, import_portfinder.getPortPromise)({
|
8501
8503
|
port: 4e3,
|