docs: add more comments around the create-fuels
template app
#12858
Annotations
3 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/account/src/test-utils/launchNode-singular-test.test.ts > launchNode-singular-test > synchronous cleanup kills node before test runner exits:
packages/account/src/test-utils/launchNode-singular-test.test.ts#L15
AssertionError: promise resolved "Response { status: 405, statusText: 'Method Not Allowed', headers: Headers { 'access-control-allow-origin': '*', 'access-control-allow-methods': '*', 'access-control-allow-headers': '*', 'content-length': '0', date: 'Mon, 15 Jul 2024 13:29:05 GMT' }, body: ReadableStream { locked: false, state: 'readable', supportsBYOB: true }, bodyUsed: false, ok: false, redirected: false, type: 'basic', url: 'http://0.0.0.0:4002/v1/graphql' }" instead of rejecting
- Expected
+ Received
- [Error: rejected promise]
+ Response {
+ Symbol(state): Object {
+ "aborted": false,
+ "body": Object {
+ "length": null,
+ "source": null,
+ "stream": ReadableStream {
+ Symbol(kType): "ReadableStream",
+ Symbol(kState): Object {
+ "controller": ReadableByteStreamController {
+ Symbol(kType): "ReadableByteStreamController",
+ Symbol(kState): Object {
+ "autoAllocateChunkSize": undefined,
+ "byobRequest": null,
+ "cancelAlgorithm": [Function bound cancel],
+ "closeRequested": false,
+ "highWaterMark": 0,
+ "pendingPullIntos": Array [],
+ "pullAgain": false,
+ "pullAlgorithm": [Function bound pull],
+ "pulling": false,
+ "queue": Array [],
+ "queueTotalSize": 0,
+ "started": true,
+ "stream": ReadableStream {
+ Symbol(kType): "ReadableStream",
+ Symbol(kState): [Circular],
+ Symbol(nodejs.webstream.isClosedPromise): Object {
+ "promise": Promise {},
+ "reject": [Function anonymous],
+ "resolve": [Function anonymous],
+ },
+ Symbol(nodejs.webstream.controllerErrorFunction): [Function anonymous],
+ },
+ },
+ },
+ "disturbed": false,
+ "reader": undefined,
+ "state": "readable",
+ "storedError": undefined,
+ "stream": undefined,
+ "transfer": Object {
+ "port1": undefined,
+ "port2": undefined,
+ "promise": undefined,
+ "writable": undefined,
+ },
+ },
+ Symbol(nodejs.webstream.isClosedPromise): Object {
+ "promise": Promise {},
+ "reject": [Function anonymous],
+ "resolve": [Function anonymous],
+ },
+ Symbol(nodejs.webstream.controllerErrorFunction): [Function anonymous],
+ },
+ },
+ "cacheState": "",
+ "headersList": HeadersList {
+ "cookies": null,
+ Symbol(headers map): Map {
+ "access-control-allow-origin" => Object {
+ "name": "access-control-allow-origin",
+ "value": "*",
+ },
+ "access-control-allow-methods" => Object {
+ "name": "access-control-allow-methods",
+ "value": "*",
+ },
+ "access-control-allow-headers" => Object {
+ "name": "access-control-allow-headers",
+ "value": "*",
+ },
+ "content-length" => Object {
+ "name": "content-length",
+ "value": "0",
+ },
+ "date" => Object {
+ "name": "date",
+ "value": "Mon, 15 Jul 2024 13:29:05 GMT",
+ },
+ },
+ Symbol(headers map sorted): null,
+ },
+ "rangeRequested": false,
+ "requestIncludesCredentials": true,
+ "status": 405,
+ "statusText": "Method Not Allowed",
+ "timingAllowPassed": true,
+ "timingInfo": Object {
+ "decodedBodySize": 0,
+ "encodedBodySize": 0,
+ "endTime": 0,
+ "finalConnectionTimingInfo": Object {
+ "ALPNNegotiatedProtocol": undefined,
+ "connectionEndTime": 129962.879446,
+ "connectionStartTime": 129962.879446,
+ "domainLookupEndTime": 129962.879446,
+ "domainLookupStartTime": 129962.879446,
+ "secureConnectionStartTime": 12
|
node@20
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
browser
|
1.25 MB |
|
node
|
1.26 MB |
|