feat: new infra for code snippets #12885
Annotations
5 errors
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>' }
|
packages/fuel-gauge/src/token-test-contract.test.ts > TokenTestContract > Contract getBalance:
packages/fuel-gauge/src/token-test-contract.test.ts#L159
AssertionError: expected '0x64' to deeply equal '0x32'
- Expected
+ Received
- 0x32
+ 0x64
❯ packages/fuel-gauge/src/token-test-contract.test.ts:159:42
|
node@22
Process completed with exit code 1.
|
packages/fuel-gauge/src/predicate/predicate-with-script.test.ts > Predicate > With script > calls a predicate and uses proceeds for a script call:
packages/account/src/account.ts#L4093
FuelError: Invalid transaction data: Validity(InsufficientInputAmount { asset: f8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07, expected: 100000, provided: 76255 })
❯ 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
❯ packages/fuel-gauge/src/predicate/predicate-with-script.test.ts:66:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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.27 MB |
|
node
|
1.27 MB |
|