chore!: refactored the getTransactionCost
method
#12854
Annotations
3 errors
packages/account/src/account.ts#L4079
FuelError: not enough coins to fit the target
❯ responseMiddleware packages/account/src/account.ts:4079:19
❯ node_modules/.pnpm/[email protected][email protected]/node_modules/graphql-request/src/index.ts:345:11
❯ _Provider.getResourcesToSpend packages/account/src/account.ts:4621:20
❯ Predicate.getResourcesToSpend packages/account/src/account.ts:9504:23
❯ Predicate.fund packages/account/src/account.ts:5561:25
❯ Predicate.estimateAndFundTransaction packages/account/src/account.ts:5880:15
❯ Predicate.createTransfer packages/account/src/account.ts:5623:15
❯ Predicate.transfer packages/account/src/account.ts:5636:21
❯ packages/fuel-gauge/src/fee.test.ts:293: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>' }
|
packages/errors/src/test-utils/safeExec.ts#L102
Error: Passed-in lambda didn't throw.
❯ Module.expectToThrowFuelError packages/errors/src/test-utils/safeExec.ts:102:11
❯ packages/fuel-gauge/src/transaction-response.test.ts:238:5
|
|
This job failed
Loading