chore: added missing imports #12852
Annotations
5 errors
packages/fuel-gauge/src/min-gas.test.ts > /home/runner/work/fuels-ts/fuels-ts/packages/fuel-gauge/src/min-gas.test.ts > sets gas requirements (contract):
packages/account/src/account.ts#L4093
FuelError: The block height 000001ca should be higher than the previous block height 000001ca
❯ 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.estimateTxDependencies packages/account/src/account.ts:4312:11
❯ _Provider.getTransactionCost packages/account/src/account.ts:4553:74
❯ Module.seedTestWallet packages/account/src/wallet/base-wallet-unlocked.ts:8657:18
❯ packages/fuel-gauge/src/min-gas.test.ts:33:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { VERSIONS: { FORC: '0.61.2', FUEL_CORE: '0.31.0', FUELS: '0.92.0' }, metadata: {}, rawError: {}, code: 'invalid-request', toObject: 'Function<toObject>' }
|
node@22
Process completed with exit code 1.
|
packages/fuel-gauge/src/fee.test.ts > Fee > should ensure fee is properly calculated on transactions with 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
❯ packages/fuel-gauge/src/fee.test.ts:295:17
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { VERSIONS: { FORC: '0.61.2', FUEL_CORE: '0.31.0', FUELS: '0.92.0' }, metadata: {}, rawError: {}, code: 'invalid-request', toObject: 'Function<toObject>' }
|
apps/docs-snippets/src/guide/predicates/send-and-spend-funds-from-predicates.test.ts > /home/runner/work/fuels-ts/fuels-ts/apps/docs-snippets/src/guide/predicates/send-and-spend-funds-from-predicates.test.ts > should be able to pre-stage a transaction, get TX ID, and then send the transaction:
packages/account/src/account.ts#L4093
FuelError: Invalid transaction data: Validity(InsufficientFeeAmount { expected: 229576, provided: 216400 })
❯ 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.sendTransaction packages/account/src/account.ts:4228:9
❯ apps/docs-snippets/src/guide/predicates/send-and-spend-funds-from-predicates.test.ts:233:17
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { VERSIONS: { FORC: '0.61.2', FUEL_CORE: '0.31.0', FUELS: '0.92.0' }, metadata: {}, rawError: {}, code: 'invalid-request', toObject: 'Function<toObject>' }
|
node@20
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
browser
|
1.25 MB |
|
node
|
1.26 MB |
|