Skip to content

chore: integrate launchTestNode into current test suites #12802

chore: integrate launchTestNode into current test suites

chore: integrate launchTestNode into current test suites #12802

Triggered via pull request July 12, 2024 14:39
Status Failure
Total duration 7m 23s
Artifacts

test.yaml

on: pull_request
Matrix: environments
Fit to window
Zoom out
Zoom in

Annotations

28 errors
apps/demo-typegen/src/demo.test.ts > Example predicate: packages/account/src/account.ts#L4093
FuelError: not enough coins to fit the target ❯ responseMiddleware packages/account/src/account.ts:4093:19 ❯ node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-request/src/index.ts:345:11 ❯ _Provider.getResourcesToSpend packages/account/src/account.ts:4671:20 ❯ Predicate.getResourcesToSpend packages/account/src/account.ts:9525:23 ❯ Predicate.fund packages/account/src/account.ts:5597:25 ❯ Predicate.estimateAndFundTransaction packages/account/src/account.ts:5901:15 ❯ Predicate.createTransfer packages/account/src/account.ts:5659:15 ❯ Predicate.transfer packages/account/src/account.ts:5672:21 ❯ apps/demo-typegen/src/demo.test.ts:149:15 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { VERSIONS: { FORC: '0.61.2', FUEL_CORE: '0.31.0', FUELS: '0.92.0' }, metadata: {}, rawError: {}, code: 'invalid-request', toObject: 'Function<toObject>' }
packages/fuel-gauge/src/policies.test.ts > Policies > should ensure TX policies are properly set (ScriptTransactionRequest): packages/account/src/wallet/base-wallet-unlocked.ts#L3951
FuelError: got error during work with storage The historical view is not implemented for `MemoryStore` ❯ responseMiddleware packages/account/src/wallet/base-wallet-unlocked.ts:3951:19 ❯ node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-request/src/index.ts:345:11 ❯ _Provider.estimateTxDependencies packages/account/src/wallet/base-wallet-unlocked.ts:4170:11 ❯ _Provider.getTransactionCost packages/account/src/wallet/base-wallet-unlocked.ts:4411:74 ❯ packages/fuel-gauge/src/policies.test.ts:143:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { VERSIONS: { FORC: '0.61.2', FUEL_CORE: '0.31.0', FUELS: '0.92.0' }, metadata: {}, rawError: {}, code: 'invalid-request', toObject: 'Function<toObject>' }
packages/fuel-gauge/src/policies.test.ts > Policies > should ensure TX policies are properly set (ScriptInvocationScope): packages/account/src/wallet/base-wallet-unlocked.ts#L3951
FuelError: got error during work with storage The historical view is not implemented for `MemoryStore` ❯ responseMiddleware packages/account/src/wallet/base-wallet-unlocked.ts:3951:19 ❯ node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-request/src/index.ts:345:11 ❯ _Provider.estimateTxDependencies packages/account/src/wallet/base-wallet-unlocked.ts:4170:11 ❯ _Provider.getTransactionCost packages/account/src/wallet/base-wallet-unlocked.ts:4411:74 ❯ ScriptInvocationScope.getTransactionCost packages/program/src/utils.ts:613:20 ❯ ScriptInvocationScope.fundWithRequiredCoins packages/program/src/utils.ts:628:20 ❯ ScriptInvocationScope.call packages/program/src/utils.ts:730:32 ❯ packages/fuel-gauge/src/policies.test.ts:269:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { VERSIONS: { FORC: '0.61.2', FUEL_CORE: '0.31.0', FUELS: '0.92.0' }, metadata: {}, rawError: {}, code: 'invalid-request', toObject: 'Function<toObject>' }
packages/fuel-gauge/src/policies.test.ts > Policies > should ensure TX maxFee policy limits TX execution as expected > on account transfer: packages/fuel-gauge/src/policies.test.ts#L412
AssertionError: expected [Function] to throw error matching /Max fee '1' is lower than the required/ but got 'got error during work with storage Th…' - Expected: /Max fee '1' is lower than the required/ + Received: "got error during work with storage The historical view is not implemented for `MemoryStore`" ❯ packages/fuel-gauge/src/policies.test.ts:412:7
node@22
Process completed with exit code 1.
packages/fuel-gauge/src/bytes.test.ts > Bytes Tests > should test bytes input [predicate-bytes]: packages/fuel-gauge/src/bytes.test.ts#L109
ReferenceError: __dirname is not defined ❯ getFuelGaugeForcProject ../../../../../packages/fuel-gauge/test/fixtures/index.ts:73:20 ❯ packages/fuel-gauge/src/bytes.test.ts:109:42
packages/fuel-gauge/src/bytes.test.ts > Bytes Tests > should test bytes input [script-bytes]: packages/fuel-gauge/src/bytes.test.ts#L171
ReferenceError: __dirname is not defined ❯ getFullPath ../../../../../packages/fuel-gauge/src/utils.ts:13:8 ❯ getScript ../../../../../packages/fuel-gauge/src/utils.ts:15:50 ❯ packages/fuel-gauge/src/bytes.test.ts:171:27
packages/fuel-gauge/src/funding-transaction.test.ts: packages/fuel-gauge/src/funding-transaction.test.ts#L11
ReferenceError: __filename is not defined ❯ packages/fuel-gauge/src/funding-transaction.test.ts:11:9
packages/fuel-gauge/src/min-gas.test.ts: packages/fuel-gauge/src/min-gas.test.ts#L25
ReferenceError: __filename is not defined ❯ packages/fuel-gauge/src/min-gas.test.ts:25:9
packages/fuel-gauge/src/raw-slice.test.ts > Raw Slice Tests > should test raw slice input [script-raw-slice]: packages/fuel-gauge/src/raw-slice.test.ts#L140
ReferenceError: __dirname is not defined ❯ getFullPath ../../../../../packages/fuel-gauge/src/utils.ts:13:8 ❯ getScript ../../../../../packages/fuel-gauge/src/utils.ts:15:50 ❯ packages/fuel-gauge/src/raw-slice.test.ts:140:27
packages/fuel-gauge/src/script-main-args.test.ts > Script Coverage > can call script and use main arguments [two args, read logs]: packages/fuel-gauge/src/script-main-args.test.ts#L47
ReferenceError: __dirname is not defined ❯ getFullPath ../../../../../packages/fuel-gauge/src/utils.ts:13:8 ❯ getScript ../../../../../packages/fuel-gauge/src/utils.ts:15:50 ❯ packages/fuel-gauge/src/script-main-args.test.ts:47:27
packages/fuel-gauge/src/script-main-args.test.ts > Script Coverage > can call script and use main arguments [two args, struct return]: packages/fuel-gauge/src/script-main-args.test.ts#L66
ReferenceError: __dirname is not defined ❯ getFullPath ../../../../../packages/fuel-gauge/src/utils.ts:13:8 ❯ getScript ../../../../../packages/fuel-gauge/src/utils.ts:15:50 ❯ packages/fuel-gauge/src/script-main-args.test.ts:66:27
packages/fuel-gauge/src/script-with-vectors.test.ts > Script With Vectors > can call script and use main argument [array]: packages/fuel-gauge/src/script-with-vectors.test.ts#L23
ReferenceError: __dirname is not defined ❯ getFullPath ../../../../../packages/fuel-gauge/src/utils.ts:13:8 ❯ getScript ../../../../../packages/fuel-gauge/src/utils.ts:15:50 ❯ packages/fuel-gauge/src/script-with-vectors.test.ts:23:27
packages/fuel-gauge/src/script-with-vectors.test.ts > Script With Vectors > can call script and use main argument [vec]: packages/fuel-gauge/src/script-with-vectors.test.ts#L43
ReferenceError: __dirname is not defined ❯ getFullPath ../../../../../packages/fuel-gauge/src/utils.ts:13:8 ❯ getScript ../../../../../packages/fuel-gauge/src/utils.ts:15:50 ❯ packages/fuel-gauge/src/script-with-vectors.test.ts:43:27
packages/fuel-gauge/src/script-with-vectors.test.ts > Script With Vectors > can call script and use main argument [struct in vec in struct in vec in struct in vec]: packages/fuel-gauge/src/script-with-vectors.test.ts#L107
ReferenceError: __dirname is not defined ❯ getFullPath ../../../../../packages/fuel-gauge/src/utils.ts:13:8 ❯ getScript ../../../../../packages/fuel-gauge/src/utils.ts:15:50 ❯ packages/fuel-gauge/src/script-with-vectors.test.ts:107:27
apps/demo-typegen/src/demo.test.ts > Example predicate: packages/account/src/account.ts#L4093
FuelError: not enough coins to fit the target ❯ responseMiddleware packages/account/src/account.ts:4093:19 ❯ node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-request/src/index.ts:345:11 ❯ _Provider.getResourcesToSpend packages/account/src/account.ts:4671:20 ❯ Predicate.getResourcesToSpend packages/account/src/account.ts:9525:23 ❯ Predicate.fund packages/account/src/account.ts:5597:25 ❯ Predicate.estimateAndFundTransaction packages/account/src/account.ts:5901:15 ❯ Predicate.createTransfer packages/account/src/account.ts:5659:15 ❯ Predicate.transfer packages/account/src/account.ts:5672:21 ❯ apps/demo-typegen/src/demo.test.ts:149:15 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { VERSIONS: { FORC: '0.61.2', FUEL_CORE: '0.31.0', FUELS: '0.92.0' }, metadata: {}, rawError: {}, code: 'invalid-request', toObject: 'Function<toObject>' }
packages/fuel-gauge/src/policies.test.ts > Policies > should ensure TX policies are properly set (ScriptInvocationScope): packages/account/src/wallet/base-wallet-unlocked.ts#L3951
FuelError: got error during work with storage The historical view is not implemented for `MemoryStore` ❯ responseMiddleware packages/account/src/wallet/base-wallet-unlocked.ts:3951:19 ❯ node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-request/src/index.ts:345:11 ❯ _Provider.estimateTxDependencies packages/account/src/wallet/base-wallet-unlocked.ts:4170:11 ❯ _Provider.getTransactionCost packages/account/src/wallet/base-wallet-unlocked.ts:4411:74 ❯ ScriptInvocationScope.getTransactionCost packages/program/src/utils.ts:613:20 ❯ ScriptInvocationScope.fundWithRequiredCoins packages/program/src/utils.ts:628:20 ❯ ScriptInvocationScope.call packages/program/src/utils.ts:730:32 ❯ packages/fuel-gauge/src/policies.test.ts:269:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { VERSIONS: { FORC: '0.61.2', FUEL_CORE: '0.31.0', FUELS: '0.92.0' }, metadata: {}, rawError: {}, code: 'invalid-request', toObject: 'Function<toObject>' }
packages/fuel-gauge/src/policies.test.ts > Policies > should ensure TX policies are properly set (Account Transfer): packages/account/src/wallet/base-wallet-unlocked.ts#L3951
FuelError: got error during work with storage The historical view is not implemented for `MemoryStore` ❯ responseMiddleware packages/account/src/wallet/base-wallet-unlocked.ts:3951:19 ❯ node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-request/src/index.ts:345:11 ❯ _Provider.estimateTxDependencies packages/account/src/wallet/base-wallet-unlocked.ts:4170:11 ❯ _Provider.getTransactionCost packages/account/src/wallet/base-wallet-unlocked.ts:4411:74 ❯ WalletUnlocked.estimateAndFundTransaction packages/account/src/wallet/base-wallet-unlocked.ts:5575:20 ❯ WalletUnlocked.createTransfer packages/account/src/wallet/base-wallet-unlocked.ts:5342:15 ❯ WalletUnlocked.transfer packages/account/src/wallet/base-wallet-unlocked.ts:5355:21 ❯ packages/fuel-gauge/src/policies.test.ts:302:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { VERSIONS: { FORC: '0.61.2', FUEL_CORE: '0.31.0', FUELS: '0.92.0' }, metadata: {}, rawError: {}, code: 'invalid-request', toObject: 'Function<toObject>' }
packages/fuel-gauge/src/policies.test.ts > Policies > should ensure TX witnessLimit policy limits tx execution as expected: packages/fuel-gauge/src/policies.test.ts#L377
AssertionError: expected [Function] to throw error matching /TransactionWitnessLimitExceeded/ but got 'got error during work with storage Th…' - Expected: /TransactionWitnessLimitExceeded/ + Received: "got error during work with storage The historical view is not implemented for `MemoryStore`" ❯ packages/fuel-gauge/src/policies.test.ts:377:5
packages/fuel-gauge/src/policies.test.ts > Policies > should ensure TX maxFee policy limits TX execution as expected > on account transfer: packages/fuel-gauge/src/policies.test.ts#L412
AssertionError: expected [Function] to throw error matching /Max fee '1' is lower than the required/ but got 'got error during work with storage Th…' - Expected: /Max fee '1' is lower than the required/ + Received: "got error during work with storage The historical view is not implemented for `MemoryStore`" ❯ packages/fuel-gauge/src/policies.test.ts:412:7
node@20
Process completed with exit code 1.
apps/demo-typegen/src/demo.test.ts > Example predicate: packages/account/src/account.ts#L4093
FuelError: not enough coins to fit the target ❯ responseMiddleware packages/account/src/account.ts:4093:19 ❯ node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-request/src/index.ts:345:11 ❯ _Provider.getResourcesToSpend packages/account/src/account.ts:4671:20 ❯ Predicate.getResourcesToSpend packages/account/src/account.ts:9525:23 ❯ Predicate.fund packages/account/src/account.ts:5597:25 ❯ Predicate.estimateAndFundTransaction packages/account/src/account.ts:5901:15 ❯ Predicate.createTransfer packages/account/src/account.ts:5659:15 ❯ Predicate.transfer packages/account/src/account.ts:5672:21 ❯ apps/demo-typegen/src/demo.test.ts:149:15 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { VERSIONS: { FORC: '0.61.2', FUEL_CORE: '0.31.0', FUELS: '0.92.0' }, metadata: {}, rawError: {}, code: 'invalid-request', toObject: 'Function<toObject>' }
packages/fuel-gauge/src/policies.test.ts > Policies > should ensure TX policies are properly set (ScriptTransactionRequest): packages/account/src/wallet/base-wallet-unlocked.ts#L3951
FuelError: got error during work with storage The historical view is not implemented for `MemoryStore` ❯ responseMiddleware packages/account/src/wallet/base-wallet-unlocked.ts:3951:19 ❯ node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-request/src/index.ts:345:11 ❯ _Provider.estimateTxDependencies packages/account/src/wallet/base-wallet-unlocked.ts:4170:11 ❯ _Provider.getTransactionCost packages/account/src/wallet/base-wallet-unlocked.ts:4411:74 ❯ packages/fuel-gauge/src/policies.test.ts:143:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { VERSIONS: { FORC: '0.61.2', FUEL_CORE: '0.31.0', FUELS: '0.92.0' }, metadata: {}, rawError: {}, code: 'invalid-request', toObject: 'Function<toObject>' }
packages/fuel-gauge/src/policies.test.ts > Policies > should ensure TX policies are properly set (ScriptInvocationScope): packages/account/src/wallet/base-wallet-unlocked.ts#L3951
FuelError: got error during work with storage The historical view is not implemented for `MemoryStore` ❯ responseMiddleware packages/account/src/wallet/base-wallet-unlocked.ts:3951:19 ❯ node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-request/src/index.ts:345:11 ❯ _Provider.estimateTxDependencies packages/account/src/wallet/base-wallet-unlocked.ts:4170:11 ❯ _Provider.getTransactionCost packages/account/src/wallet/base-wallet-unlocked.ts:4411:74 ❯ ScriptInvocationScope.getTransactionCost packages/program/src/utils.ts:613:20 ❯ ScriptInvocationScope.fundWithRequiredCoins packages/program/src/utils.ts:628:20 ❯ ScriptInvocationScope.call packages/program/src/utils.ts:730:32 ❯ packages/fuel-gauge/src/policies.test.ts:269:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { VERSIONS: { FORC: '0.61.2', FUEL_CORE: '0.31.0', FUELS: '0.92.0' }, metadata: {}, rawError: {}, code: 'invalid-request', toObject: 'Function<toObject>' }
packages/fuel-gauge/src/policies.test.ts > Policies > should ensure TX policies are properly set (Account Transfer): packages/account/src/wallet/base-wallet-unlocked.ts#L3951
FuelError: got error during work with storage The historical view is not implemented for `MemoryStore` ❯ responseMiddleware packages/account/src/wallet/base-wallet-unlocked.ts:3951:19 ❯ node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-request/src/index.ts:345:11 ❯ _Provider.estimateTxDependencies packages/account/src/wallet/base-wallet-unlocked.ts:4170:11 ❯ _Provider.getTransactionCost packages/account/src/wallet/base-wallet-unlocked.ts:4411:74 ❯ WalletUnlocked.estimateAndFundTransaction packages/account/src/wallet/base-wallet-unlocked.ts:5575:20 ❯ WalletUnlocked.createTransfer packages/account/src/wallet/base-wallet-unlocked.ts:5342:15 ❯ WalletUnlocked.transfer packages/account/src/wallet/base-wallet-unlocked.ts:5355:21 ❯ packages/fuel-gauge/src/policies.test.ts:302:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { VERSIONS: { FORC: '0.61.2', FUEL_CORE: '0.31.0', FUELS: '0.92.0' }, metadata: {}, rawError: {}, code: 'invalid-request', toObject: 'Function<toObject>' }
packages/fuel-gauge/src/policies.test.ts > Policies > should ensure TX witnessLimit policy limits tx execution as expected: packages/fuel-gauge/src/policies.test.ts#L377
AssertionError: expected [Function] to throw error matching /TransactionWitnessLimitExceeded/ but got 'got error during work with storage Th…' - Expected: /TransactionWitnessLimitExceeded/ + Received: "got error during work with storage The historical view is not implemented for `MemoryStore`" ❯ packages/fuel-gauge/src/policies.test.ts:377:5
packages/fuel-gauge/src/policies.test.ts > Policies > should ensure TX maxFee policy limits TX execution as expected > on account transfer: packages/fuel-gauge/src/policies.test.ts#L412
AssertionError: expected [Function] to throw error matching /Max fee '1' is lower than the required/ but got 'got error during work with storage Th…' - Expected: /Max fee '1' is lower than the required/ + Received: "got error during work with storage The historical view is not implemented for `MemoryStore`" ❯ packages/fuel-gauge/src/policies.test.ts:412:7
node@18
Process completed with exit code 1.