Repository navigation
[release] 20261029 - #3054
[release] 20261029#3054
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Caution Review failedThe pull request is closed. Walkthrough
Merge Risk:
|
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
|---|---|---|---|
| 🟢 | Statements | 87.05% (+16.94% 🔼) |
70787/81320 |
| 🟢 | Branches | 80.19% (+1.9% 🔼) |
3299/4114 |
| 🟡 | Functions | 65.81% (+3.31% 🔼) |
1261/1916 |
| 🟢 | Lines | 87.05% (+16.94% 🔼) |
70787/81320 |
⚠️ Details were not displayed: the report size has exceeded the limit.
Test suite run failed
Failed tests: 27/739. Failed suites: 7/116.
● Dictionary V1 › coreDictionary › set startHeight of this dictionary
DictionaryQueryError: Dictionary returned HTTP 503 without data: {
"message":"failure to get a peer from the ring-balancer",
"request_id":"3705d178f98d493cb5a52a2d83cd0950"
}
94 | const data = body?.data;
95 | if (!response.ok || typeof data !== 'object' || data === null || Array.isArray(data)) {
> 96 | throw new DictionaryQueryError(
| ^
97 | `Dictionary returned HTTP ${response.status} without data: ${text.slice(0, 500)}`,
98 | response.status,
99 | [],
at TestDictionaryV1.query (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:96:13)
at TestDictionaryV1.init (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:110:20)
at prepareDictionary (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:49:3)
at Object.<anonymous> (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:58:18)
● Dictionary V1 › coreDictionary › validateChainMeta and useDictionary
DictionaryQueryError: Dictionary returned HTTP 503 without data: {
"message":"failure to get a peer from the ring-balancer",
"request_id":"3705d178f98d493cb5a52a2d83cd0950"
}
94 | const data = body?.data;
95 | if (!response.ok || typeof data !== 'object' || data === null || Array.isArray(data)) {
> 96 | throw new DictionaryQueryError(
| ^
97 | `Dictionary returned HTTP ${response.status} without data: ${text.slice(0, 500)}`,
98 | response.status,
99 | [],
at TestDictionaryV1.query (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:96:13)
at TestDictionaryV1.init (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:110:20)
at prepareDictionary (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:49:3)
at Object.<anonymous> (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:58:18)
● Dictionary V1 › coreDictionary › validate dictionary with a height
DictionaryQueryError: Dictionary returned HTTP 503 without data: {
"message":"failure to get a peer from the ring-balancer",
"request_id":"3705d178f98d493cb5a52a2d83cd0950"
}
94 | const data = body?.data;
95 | if (!response.ok || typeof data !== 'object' || data === null || Array.isArray(data)) {
> 96 | throw new DictionaryQueryError(
| ^
97 | `Dictionary returned HTTP ${response.status} without data: ${text.slice(0, 500)}`,
98 | response.status,
99 | [],
at TestDictionaryV1.query (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:96:13)
at TestDictionaryV1.init (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:110:20)
at prepareDictionary (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:49:3)
at Object.<anonymous> (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:58:18)
● Dictionary V1 › coreDictionary › able to build queryEntryMap
DictionaryQueryError: Dictionary returned HTTP 503 without data: {
"message":"failure to get a peer from the ring-balancer",
"request_id":"3705d178f98d493cb5a52a2d83cd0950"
}
94 | const data = body?.data;
95 | if (!response.ok || typeof data !== 'object' || data === null || Array.isArray(data)) {
> 96 | throw new DictionaryQueryError(
| ^
97 | `Dictionary returned HTTP ${response.status} without data: ${text.slice(0, 500)}`,
98 | response.status,
99 | [],
at TestDictionaryV1.query (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:96:13)
at TestDictionaryV1.init (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:110:20)
at prepareDictionary (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:49:3)
at Object.<anonymous> (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:58:18)
● Dictionary V1 › coreDictionary › can use scoped dictionary query
DictionaryQueryError: Dictionary returned HTTP 503 without data: {
"message":"failure to get a peer from the ring-balancer",
"request_id":"3705d178f98d493cb5a52a2d83cd0950"
}
94 | const data = body?.data;
95 | if (!response.ok || typeof data !== 'object' || data === null || Array.isArray(data)) {
> 96 | throw new DictionaryQueryError(
| ^
97 | `Dictionary returned HTTP ${response.status} without data: ${text.slice(0, 500)}`,
98 | response.status,
99 | [],
at TestDictionaryV1.query (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:96:13)
at TestDictionaryV1.init (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:110:20)
at prepareDictionary (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:49:3)
at Object.<anonymous> (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:58:18)
● Dictionary V1 › coreDictionary › able to getDicitonaryQueryEntries
DictionaryQueryError: Dictionary returned HTTP 503 without data: {
"message":"failure to get a peer from the ring-balancer",
"request_id":"3705d178f98d493cb5a52a2d83cd0950"
}
94 | const data = body?.data;
95 | if (!response.ok || typeof data !== 'object' || data === null || Array.isArray(data)) {
> 96 | throw new DictionaryQueryError(
| ^
97 | `Dictionary returned HTTP ${response.status} without data: ${text.slice(0, 500)}`,
98 | response.status,
99 | [],
at TestDictionaryV1.query (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:96:13)
at TestDictionaryV1.init (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:110:20)
at prepareDictionary (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:49:3)
at Object.<anonymous> (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:58:18)
● Dictionary V1 › get metadata
DictionaryQueryError: Dictionary returned HTTP 503 without data: {
"message":"failure to get a peer from the ring-balancer",
"request_id":"3705d178f98d493cb5a52a2d83cd0950"
}
94 | const data = body?.data;
95 | if (!response.ok || typeof data !== 'object' || data === null || Array.isArray(data)) {
> 96 | throw new DictionaryQueryError(
| ^
97 | `Dictionary returned HTTP ${response.status} without data: ${text.slice(0, 500)}`,
98 | response.status,
99 | [],
at TestDictionaryV1.query (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:96:13)
at TestDictionaryV1.init (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:110:20)
at prepareDictionary (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:49:3)
at Object.<anonymous> (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:58:18)
● Dictionary V1 › init metadata and get metadata
DictionaryQueryError: Dictionary returned HTTP 503 without data: {
"message":"failure to get a peer from the ring-balancer",
"request_id":"3705d178f98d493cb5a52a2d83cd0950"
}
94 | const data = body?.data;
95 | if (!response.ok || typeof data !== 'object' || data === null || Array.isArray(data)) {
> 96 | throw new DictionaryQueryError(
| ^
97 | `Dictionary returned HTTP ${response.status} without data: ${text.slice(0, 500)}`,
98 | response.status,
99 | [],
at TestDictionaryV1.query (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:96:13)
at TestDictionaryV1.init (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:110:20)
at prepareDictionary (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:49:3)
at Object.<anonymous> (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:58:18)
● Dictionary V1 › return dictionary query result
DictionaryQueryError: Dictionary returned HTTP 503 without data: {
"message":"failure to get a peer from the ring-balancer",
"request_id":"3705d178f98d493cb5a52a2d83cd0950"
}
94 | const data = body?.data;
95 | if (!response.ok || typeof data !== 'object' || data === null || Array.isArray(data)) {
> 96 | throw new DictionaryQueryError(
| ^
97 | `Dictionary returned HTTP ${response.status} without data: ${text.slice(0, 500)}`,
98 | response.status,
99 | [],
at TestDictionaryV1.query (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:96:13)
at TestDictionaryV1.init (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:110:20)
at prepareDictionary (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:49:3)
at Object.<anonymous> (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:58:18)
● Dictionary V1 › should return undefined startblock height greater than dictionary last processed height
DictionaryQueryError: Dictionary returned HTTP 503 without data: {
"message":"failure to get a peer from the ring-balancer",
"request_id":"3705d178f98d493cb5a52a2d83cd0950"
}
94 | const data = body?.data;
95 | if (!response.ok || typeof data !== 'object' || data === null || Array.isArray(data)) {
> 96 | throw new DictionaryQueryError(
| ^
97 | `Dictionary returned HTTP ${response.status} without data: ${text.slice(0, 500)}`,
98 | response.status,
99 | [],
at TestDictionaryV1.query (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:96:13)
at TestDictionaryV1.init (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:110:20)
at prepareDictionary (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:49:3)
at Object.<anonymous> (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:58:18)
● Dictionary V1 › should use metadata last process height at end of query height
DictionaryQueryError: Dictionary returned HTTP 503 without data: {
"message":"failure to get a peer from the ring-balancer",
"request_id":"3705d178f98d493cb5a52a2d83cd0950"
}
94 | const data = body?.data;
95 | if (!response.ok || typeof data !== 'object' || data === null || Array.isArray(data)) {
> 96 | throw new DictionaryQueryError(
| ^
97 | `Dictionary returned HTTP ${response.status} without data: ${text.slice(0, 500)}`,
98 | response.status,
99 | [],
at TestDictionaryV1.query (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:96:13)
at TestDictionaryV1.init (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:110:20)
at prepareDictionary (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:49:3)
at Object.<anonymous> (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:58:18)
● Individual dictionary V1 test › return undefined when dictionary api failed
DictionaryQueryError: Dictionary returned HTTP 503 without data: {
"message":"failure to get a peer from the ring-balancer",
"request_id":"ff80535ca4b57315b115732dd8d48e18"
}
94 | const data = body?.data;
95 | if (!response.ok || typeof data !== 'object' || data === null || Array.isArray(data)) {
> 96 | throw new DictionaryQueryError(
| ^
97 | `Dictionary returned HTTP ${response.status} without data: ${text.slice(0, 500)}`,
98 | response.status,
99 | [],
at TestDictionaryV1.query (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:96:13)
at TestDictionaryV1.init (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:110:20)
at prepareDictionary (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:49:3)
at Object.<anonymous> (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:186:18)
● Individual dictionary V1 test › limits the dictionary query to that block range
DictionaryQueryError: Dictionary returned HTTP 503 without data: {
"message":"failure to get a peer from the ring-balancer",
"request_id":"2c2f9a0569dcfd4aa2d6766063346b7e"
}
94 | const data = body?.data;
95 | if (!response.ok || typeof data !== 'object' || data === null || Array.isArray(data)) {
> 96 | throw new DictionaryQueryError(
| ^
97 | `Dictionary returned HTTP ${response.status} without data: ${text.slice(0, 500)}`,
98 | response.status,
99 | [],
at TestDictionaryV1.query (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:96:13)
at TestDictionaryV1.init (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:110:20)
at prepareDictionary (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:49:3)
at Object.<anonymous> (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:186:18)
● Individual dictionary V1 test › test query the correct range
DictionaryQueryError: Dictionary returned HTTP 503 without data: {
"message":"failure to get a peer from the ring-balancer",
"request_id":"929be173d4c5b65a11e442068ea05a07"
}
94 | const data = body?.data;
95 | if (!response.ok || typeof data !== 'object' || data === null || Array.isArray(data)) {
> 96 | throw new DictionaryQueryError(
| ^
97 | `Dictionary returned HTTP ${response.status} without data: ${text.slice(0, 500)}`,
98 | response.status,
99 | [],
at TestDictionaryV1.query (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:96:13)
at TestDictionaryV1.init (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:110:20)
at prepareDictionary (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:49:3)
at Object.<anonymous> (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:186:18)
● Individual dictionary V1 test › use minimum value of event/extrinsic returned block as batch end block
DictionaryQueryError: Dictionary returned HTTP 503 without data: {
"message":"failure to get a peer from the ring-balancer",
"request_id":"2d7b1f6275ab2917c18009269cb64453"
}
94 | const data = body?.data;
95 | if (!response.ok || typeof data !== 'object' || data === null || Array.isArray(data)) {
> 96 | throw new DictionaryQueryError(
| ^
97 | `Dictionary returned HTTP ${response.status} without data: ${text.slice(0, 500)}`,
98 | response.status,
99 | [],
at TestDictionaryV1.query (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:96:13)
at TestDictionaryV1.init (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.ts:110:20)
at prepareDictionary (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:49:3)
at Object.<anonymous> (packages/node-core/src/indexer/dictionary/v1/dictionaryV1.spec.ts:186:18)
● Load chain type hasher › should use new hasher function, types hasher string should be replaced with function
thrown: "Exceeded timeout of 90000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
509 | };
510 |
> 511 | it('should use new hasher function, types hasher string should be replaced with function', async () => {
| ^
512 | const apiService = await prepareApiService();
513 | const api = apiService.api;
514 | expect(typeof (api as any)._options.typesBundle.spec.gargantua.hasher).toBe(
at packages/node/src/indexer/api.service.test.ts:511:3
at Object.<anonymous> (packages/node/src/indexer/api.service.test.ts:447:1)
● Substrate DictionaryService › should return all specVersion
expect(received).toBeGreaterThan(expected)
Matcher error: received value must be a number or bigint
Received has value: undefined
63 | const specVersions = await dictionaryService.getSpecVersions();
64 |
> 65 | expect(specVersions?.length).toBeGreaterThan(0);
| ^
66 | dictionaryService.onApplicationShutdown();
67 | }, 50000);
68 | });
at Object.<anonymous> (packages/node/src/indexer/dictionary/v1/substrateDictionaryV1.spec.ts:65:34)
● substrate utils › return undefined if no timestamp set extrinsic
RpcError: 4003: Client error: Api called for an unknown Block: State already discarded for 0xf1cf9022c7ebb34b162d5b5e34e705a5a740b2d0ecc1009fb89023e62a488108
150 | formatted_error = new LargeResponseError(e);
151 | } else {
> 152 | formatted_error = new ApiConnectionError(
| ^
153 | e.name,
154 | e.message,
155 | ApiErrorType.Default,
at ApiPromiseConnection.handleError (packages/node/src/indexer/apiPromise.connection.ts:152:25)
at packages/node/src/utils/substrate.ts:312:32
at getBlockByHeight (packages/node/src/utils/substrate.ts:308:17)
at Object.<anonymous> (packages/node/src/utils/substrate.test.ts:102:20)
● substrate utils › return defined if no timestamp set extrinsic
RpcError: 4003: Client error: Api called for an unknown Block: State already discarded for 0x96ee06f85333baba93e16da4384978e2c1ac4bfed789446b975ffda894da90be
150 | formatted_error = new LargeResponseError(e);
151 | } else {
> 152 | formatted_error = new ApiConnectionError(
| ^
153 | e.name,
154 | e.message,
155 | ApiErrorType.Default,
at ApiPromiseConnection.handleError (packages/node/src/indexer/apiPromise.connection.ts:152:25)
at packages/node/src/utils/substrate.ts:312:32
at getBlockByHeight (packages/node/src/utils/substrate.ts:308:17)
at Object.<anonymous> (packages/node/src/utils/substrate.test.ts:110:20)
● etherscan api › Deployment information › can get the deploy height of a contract
Etherscan API error: Free API access is not supported for this chain. Please upgrade your api plan for full chain coverage. https://etherscan.io/apis
24 | return undefined;
25 | }
> 26 | throw new Error(`Etherscan API error: ${data.result}`);
| ^
27 | }
28 |
29 | return data.result;
at runRequest (packages/cli/src/utils/etherscan.ts:26:11)
at fetchContractDeployHeight (packages/cli/src/utils/etherscan.ts:69:18)
at Object.<anonymous> (packages/cli/src/utils/etherscan.spec.ts:41:22)
● Integration test - Publish › overwrites any existing CID files
Failed to generate manifest from typescript /tmp/BGN3od/mocked_starter/project.ts, Failed to build /tmp/BGN3od/mocked_starter/project.ts: TypeError: Cannot read properties of undefined (reading 'fileExists'), undefined
55 | await codegen(root, manifests);
56 | }
> 57 |
| ^
58 | export default class Codegen extends Command {
59 | static description = 'Generate entity types from the GraphQL schema and contract interfaces';
60 | static args = zodToArgs(codegenInputs);
at Object.error (node_modules/@oclif/core/lib/errors/error.js:44:15)
at Codegen.error (node_modules/@oclif/core/lib/command.js:216:23)
at Codegen.run (packages/cli/src/commands/codegen/index.ts:57:18)
at async Codegen._run (node_modules/@oclif/core/lib/command.js:182:22)
at async installAndBuild (packages/cli/src/createProject.fixtures.ts:75:5)
at async createTestProject (packages/cli/src/createProject.fixtures.ts:84:5)
at async Object.<anonymous> (packages/cli/src/commands/publish.test.ts:17:22)
● Integration test - Publish › create ipfsCID file stored in local with dictiory path
Failed to generate manifest from typescript /tmp/BGN3od/mocked_starter/project.ts, Failed to build /tmp/BGN3od/mocked_starter/project.ts: TypeError: Cannot read properties of undefined (reading 'fileExists'), undefined
55 | await codegen(root, manifests);
56 | }
> 57 |
| ^
58 | export default class Codegen extends Command {
59 | static description = 'Generate entity types from the GraphQL schema and contract interfaces';
60 | static args = zodToArgs(codegenInputs);
at Object.error (node_modules/@oclif/core/lib/errors/error.js:44:15)
at Codegen.error (node_modules/@oclif/core/lib/command.js:216:23)
at Codegen.run (packages/cli/src/commands/codegen/index.ts:57:18)
at async Codegen._run (node_modules/@oclif/core/lib/command.js:182:22)
at async installAndBuild (packages/cli/src/createProject.fixtures.ts:75:5)
at async createTestProject (packages/cli/src/createProject.fixtures.ts:84:5)
at async Object.<anonymous> (packages/cli/src/commands/publish.test.ts:17:22)
● Integration test - Publish › file name consistent with manifest file name, if -f <manifest path> is used
Failed to generate manifest from typescript /tmp/BGN3od/mocked_starter/project.ts, Failed to build /tmp/BGN3od/mocked_starter/project.ts: TypeError: Cannot read properties of undefined (reading 'fileExists'), undefined
55 | await codegen(root, manifests);
56 | }
> 57 |
| ^
58 | export default class Codegen extends Command {
59 | static description = 'Generate entity types from the GraphQL schema and contract interfaces';
60 | static args = zodToArgs(codegenInputs);
at Object.error (node_modules/@oclif/core/lib/errors/error.js:44:15)
at Codegen.error (node_modules/@oclif/core/lib/command.js:216:23)
at Codegen.run (packages/cli/src/commands/codegen/index.ts:57:18)
at async Codegen._run (node_modules/@oclif/core/lib/command.js:182:22)
at async installAndBuild (packages/cli/src/createProject.fixtures.ts:75:5)
at async createTestProject (packages/cli/src/createProject.fixtures.ts:84:5)
at async Object.<anonymous> (packages/cli/src/commands/publish.test.ts:17:22)
● Cli publish › should upload appropriate project to IPFS
Failed to generate manifest from typescript /tmp/9Us4M4/mocked_starter/project.ts, Failed to build /tmp/9Us4M4/mocked_starter/project.ts: TypeError: Cannot read properties of undefined (reading 'fileExists'), undefined
55 | await codegen(root, manifests);
56 | }
> 57 |
| ^
58 | export default class Codegen extends Command {
59 | static description = 'Generate entity types from the GraphQL schema and contract interfaces';
60 | static args = zodToArgs(codegenInputs);
at Object.error (node_modules/@oclif/core/lib/errors/error.js:44:15)
at Codegen.error (node_modules/@oclif/core/lib/command.js:216:23)
at Codegen.run (packages/cli/src/commands/codegen/index.ts:57:18)
at async Codegen._run (node_modules/@oclif/core/lib/command.js:182:22)
at async installAndBuild (packages/cli/src/createProject.fixtures.ts:75:5)
at async createTestProject (packages/cli/src/createProject.fixtures.ts:84:5)
at async Promise.all (index 0)
at async Object.<anonymous> (packages/cli/src/controller/publish-controller.spec.ts:18:21)
● Cli publish › convert to deployment and removed descriptive field
Failed to generate manifest from typescript /tmp/9Us4M4/mocked_starter/project.ts, Failed to build /tmp/9Us4M4/mocked_starter/project.ts: TypeError: Cannot read properties of undefined (reading 'fileExists'), undefined
55 | await codegen(root, manifests);
56 | }
> 57 |
| ^
58 | export default class Codegen extends Command {
59 | static description = 'Generate entity types from the GraphQL schema and contract interfaces';
60 | static args = zodToArgs(codegenInputs);
at Object.error (node_modules/@oclif/core/lib/errors/error.js:44:15)
at Codegen.error (node_modules/@oclif/core/lib/command.js:216:23)
at Codegen.run (packages/cli/src/commands/codegen/index.ts:57:18)
at async Codegen._run (node_modules/@oclif/core/lib/command.js:182:22)
at async installAndBuild (packages/cli/src/createProject.fixtures.ts:75:5)
at async createTestProject (packages/cli/src/createProject.fixtures.ts:84:5)
at async Promise.all (index 0)
at async Object.<anonymous> (packages/cli/src/controller/publish-controller.spec.ts:18:21)
● Cli publish › convert js object to JSON object
Failed to generate manifest from typescript /tmp/9Us4M4/mocked_starter/project.ts, Failed to build /tmp/9Us4M4/mocked_starter/project.ts: TypeError: Cannot read properties of undefined (reading 'fileExists'), undefined
55 | await codegen(root, manifests);
56 | }
> 57 |
| ^
58 | export default class Codegen extends Command {
59 | static description = 'Generate entity types from the GraphQL schema and contract interfaces';
60 | static args = zodToArgs(codegenInputs);
at Object.error (node_modules/@oclif/core/lib/errors/error.js:44:15)
at Codegen.error (node_modules/@oclif/core/lib/command.js:216:23)
at Codegen.run (packages/cli/src/commands/codegen/index.ts:57:18)
at async Codegen._run (node_modules/@oclif/core/lib/command.js:182:22)
at async installAndBuild (packages/cli/src/createProject.fixtures.ts:75:5)
at async createTestProject (packages/cli/src/createProject.fixtures.ts:84:5)
at async Promise.all (index 0)
at async Object.<anonymous> (packages/cli/src/controller/publish-controller.spec.ts:18:21)
● Cli publish › Get directory CID from multi-chain project
Failed to generate manifest from typescript /tmp/9Us4M4/mocked_starter/project.ts, Failed to build /tmp/9Us4M4/mocked_starter/project.ts: TypeError: Cannot read properties of undefined (reading 'fileExists'), undefined
55 | await codegen(root, manifests);
56 | }
> 57 |
| ^
58 | export default class Codegen extends Command {
59 | static description = 'Generate entity types from the GraphQL schema and contract interfaces';
60 | static args = zodToArgs(codegenInputs);
at Object.error (node_modules/@oclif/core/lib/errors/error.js:44:15)
at Codegen.error (node_modules/@oclif/core/lib/command.js:216:23)
at Codegen.run (packages/cli/src/commands/codegen/index.ts:57:18)
at async Codegen._run (node_modules/@oclif/core/lib/command.js:182:22)
at async installAndBuild (packages/cli/src/createProject.fixtures.ts:75:5)
at async createTestProject (packages/cli/src/createProject.fixtures.ts:84:5)
at async Promise.all (index 0)
at async Object.<anonymous> (packages/cli/src/controller/publish-controller.spec.ts:18:21)
Report generated by 🧪jest coverage report action from a56e4d8
Releases
@subql/node-core19.4.0 and@subql/node6.5.0.@subql/node-core19.4.0Expect best header and checking header to be at the same heightassertion (fix(node-core): rewind a fork found while registering an unfinalized block #3052).DictionaryV1sends queries with a protectedquery()method instead of an Apolloclient, and@apollo/clientis no longer a dependency (fix(node-core): stop dictionary v1 queries retaining every parsed document #3048).@subql/node6.5.0@subql/node-core~19.0.0to 19.4.0, so Substrate projects get the fixes above and those from 19.1.0 to 19.3.1.DictionaryV1.query()(fix(node-core): stop dictionary v1 queries retaining every parsed document #3048).subquery#437 depends on
@subql/node-core@^19.4.0and can be merged once this is published.Summary by CodeRabbit
Release
@subql/noderelease to version 6.5.0 and@subql/node-coreto version 19.4.0.Documentation