test: consider gas price #29
Annotations
5 errors and 2 warnings
get-expected-input.test.ts > get expected input bid:
node_modules/@graphql-tools/executor-http/esm/index.js#L111
GraphQLError: Unexpected response: "Error making query."
❯ ../node_modules/@graphql-tools/executor-http/esm/index.js:111:37
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { path: undefined, originalError: { stack: 'SyntaxError: Unexpected token E in JSON at position 0\n at JSON.parse (<anonymous>)\n at /home/runner/work/v2-sdk/v2-sdk/node_modules/@graphql-tools/executor-http/esm/index.js:111:37\n at processTicksAndRejections (node:internal/process/task_queues:95:5)', message: 'Unexpected token E in JSON at position 0', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' }, nodes: undefined, source: undefined, positions: undefined, locations: undefined, extensions: { requestBody: { query: 'query getBooks($baseTokenAddress: String!, $quoteTokenAddress: String!) {\n books(\n where: {base: $baseTokenAddress, quote: $quoteTokenAddress, makerPolicy: "8888308", takerPolicy: "8889608", hooks: "0x0000000000000000000000000000000000000000"}\n ) {\n id\n base {\n id\n name\n symbol\n decimals\n }\n quote {\n id\n name\n symbol\n decimals\n }\n unit\n depths {\n tick\n price\n rawAmount\n }\n }\n}', operationName: undefined }, responseDetails: { status: 500, statusText: 'Internal Server Error' } }, toJSON: 'Function<toJSON>' }
|
get-expected-output.test.ts > get expected output bid:
node_modules/@graphql-tools/executor-http/esm/index.js#L111
GraphQLError: Unexpected response: "Error making query."
❯ ../node_modules/@graphql-tools/executor-http/esm/index.js:111:37
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { path: undefined, originalError: { stack: 'SyntaxError: Unexpected token E in JSON at position 0\n at JSON.parse (<anonymous>)\n at /home/runner/work/v2-sdk/v2-sdk/node_modules/@graphql-tools/executor-http/esm/index.js:111:37\n at processTicksAndRejections (node:internal/process/task_queues:95:5)', message: 'Unexpected token E in JSON at position 0', constructor: 'Function<SyntaxError>', name: 'SyntaxError', toString: 'Function<toString>' }, nodes: undefined, source: undefined, positions: undefined, locations: undefined, extensions: { requestBody: { query: 'query getBooks($baseTokenAddress: String!, $quoteTokenAddress: String!) {\n books(\n where: {base: $baseTokenAddress, quote: $quoteTokenAddress, makerPolicy: "8888308", takerPolicy: "8889608", hooks: "0x0000000000000000000000000000000000000000"}\n ) {\n id\n base {\n id\n name\n symbol\n decimals\n }\n quote {\n id\n name\n symbol\n decimals\n }\n unit\n depths {\n tick\n price\n rawAmount\n }\n }\n}', operationName: undefined }, responseDetails: { status: 500, statusText: 'Internal Server Error' } }, toJSON: 'Function<toJSON>' }
|
limit-order.test.ts > make bid order:
test/limit-order.test.ts#L90
TypeError: Cannot read properties of undefined (reading 'amount')
❯ limit-order.test.ts:90:54
|
limit-order.test.ts > make ask order:
test/limit-order.test.ts#L147
TypeError: Cannot read properties of undefined (reading 'amount')
❯ limit-order.test.ts:147:55
|
NPM Test (18.10)
Process completed with exit code 1.
|
Check TS (18.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
NPM Test (18.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|