@fuel-ts/account 0.89.0 → 0.89.1
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 +69 -69
- package/dist/index.global.js.map +1 -1
- package/dist/test-utils/launchNode.d.ts.map +1 -1
- package/dist/test-utils.global.js +121 -119
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +3 -1
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +4 -2
- package/dist/test-utils.mjs.map +1 -1
- package/package.json +16 -16
package/dist/test-utils.mjs
CHANGED
@@ -8574,7 +8574,7 @@ var generateTestWallet = async (provider, quantities) => {
|
|
8574
8574
|
};
|
8575
8575
|
|
8576
8576
|
// src/test-utils/launchNode.ts
|
8577
|
-
import {
|
8577
|
+
import { BYTES_32 as BYTES_322 } from "@fuel-ts/abi-coder";
|
8578
8578
|
import { randomBytes as randomBytes6 } from "@fuel-ts/crypto";
|
8579
8579
|
import { defaultSnapshotConfigs, defaultConsensusKey, hexlify as hexlify18 } from "@fuel-ts/utils";
|
8580
8580
|
import { spawn } from "child_process";
|
@@ -8638,6 +8638,7 @@ var launchNode = async ({
|
|
8638
8638
|
const useInMemoryDb = dbTypeFlagValue === "in-memory" || dbTypeFlagValue === void 0;
|
8639
8639
|
const poaInstantFlagValue = getFlagValueFromArgs(args, "--poa-instant");
|
8640
8640
|
const poaInstant = poaInstantFlagValue === "true" || poaInstantFlagValue === void 0;
|
8641
|
+
const nativeExecutorVersion = getFlagValueFromArgs(args, "--native-executor-version") || "0";
|
8641
8642
|
const graphQLStartSubstring = "Binding GraphQL provider to";
|
8642
8643
|
const command = fuelCorePath ?? "fuel-core";
|
8643
8644
|
const ipToUse = ip || "0.0.0.0";
|
@@ -8678,7 +8679,7 @@ var launchNode = async ({
|
|
8678
8679
|
const signer = new Signer(pk);
|
8679
8680
|
process.env.GENESIS_SECRET = hexlify18(pk);
|
8680
8681
|
stateConfigJson.coins.push({
|
8681
|
-
tx_id: hexlify18(randomBytes6(
|
8682
|
+
tx_id: hexlify18(randomBytes6(BYTES_322)),
|
8682
8683
|
owner: signer.address.toHexString(),
|
8683
8684
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
8684
8685
|
amount: "18446744073709551615",
|
@@ -8710,6 +8711,7 @@ var launchNode = async ({
|
|
8710
8711
|
useInMemoryDb ? ["--db-type", "in-memory"] : ["--db-path", tempDirPath],
|
8711
8712
|
["--min-gas-price", "1"],
|
8712
8713
|
poaInstant ? ["--poa-instant", "true"] : [],
|
8714
|
+
["--native-executor-version", nativeExecutorVersion],
|
8713
8715
|
["--consensus-key", consensusKey],
|
8714
8716
|
["--snapshot", snapshotDirToUse],
|
8715
8717
|
"--vm-backtrace",
|