subquery / subql

SubQuery is an Open, Flexible, Fast and Universal data indexing framework for web3. Our mission is to help developers create the decentralised products of the future.
https://subquery.network
GNU General Public License v3.0
19.06k stars 328 forks source link

[release] 20240805 #2519

Closed stwiname closed 1 month ago

github-actions[bot] commented 1 month ago

Coverage report for .

[!CAUTION] Test run failed

St.:grey_question:
Category Percentage Covered / Total
🟡 Statements
64.64% (-5.47% 🔻)
19297/29854
🟡 Branches
79.5% (+1.21% 🔼)
2556/3215
🟡 Functions
67.84% (+5.34% 🔼)
1078/1589
🟡 Lines
64.64% (-5.47% 🔻)
19297/29854

:warning: Details were not displayed: the report size has exceeded the limit.

Test suite run failed

Failed tests: 28/580. Failed suites: 7/104.
``` ● Dictionary V1 › coreDictionary › set startHeight of this dictionary ApolloError: Response not successful: Received status code 500 at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28) at node_modules/@apollo/client/core/QueryManager.js:777:71 at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31) at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72 at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24) at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at node_modules/@apollo/client/utilities/observables/iteration.js:7:68 at Array.forEach () at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25) at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14) at node_modules/@apollo/client/link/http/createHttpLink.js:145:17 Cause: ServerError: Response not successful: Received status code 500 at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17) at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9) at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48 ● Dictionary V1 › coreDictionary › validateChainMeta and useDictionary ApolloError: Response not successful: Received status code 500 at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28) at node_modules/@apollo/client/core/QueryManager.js:777:71 at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31) at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72 at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24) at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at node_modules/@apollo/client/utilities/observables/iteration.js:7:68 at Array.forEach () at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25) at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14) at node_modules/@apollo/client/link/http/createHttpLink.js:145:17 Cause: ServerError: Response not successful: Received status code 500 at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17) at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9) at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48 ● Dictionary V1 › coreDictionary › validate dictionary with a height ApolloError: Response not successful: Received status code 500 at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28) at node_modules/@apollo/client/core/QueryManager.js:777:71 at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31) at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72 at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24) at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at node_modules/@apollo/client/utilities/observables/iteration.js:7:68 at Array.forEach () at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25) at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14) at node_modules/@apollo/client/link/http/createHttpLink.js:145:17 Cause: ServerError: Response not successful: Received status code 500 at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17) at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9) at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48 ● Dictionary V1 › coreDictionary › able to build queryEntryMap ApolloError: Response not successful: Received status code 500 at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28) at node_modules/@apollo/client/core/QueryManager.js:777:71 at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31) at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72 at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24) at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at node_modules/@apollo/client/utilities/observables/iteration.js:7:68 at Array.forEach () at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25) at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14) at node_modules/@apollo/client/link/http/createHttpLink.js:145:17 Cause: ServerError: Response not successful: Received status code 500 at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17) at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9) at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48 ● Dictionary V1 › coreDictionary › can use scoped dictionary query ApolloError: Response not successful: Received status code 500 at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28) at node_modules/@apollo/client/core/QueryManager.js:777:71 at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31) at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72 at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24) at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at node_modules/@apollo/client/utilities/observables/iteration.js:7:68 at Array.forEach () at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25) at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14) at node_modules/@apollo/client/link/http/createHttpLink.js:145:17 Cause: ServerError: Response not successful: Received status code 500 at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17) at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9) at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48 ● Dictionary V1 › coreDictionary › able to getDicitonaryQueryEntries ApolloError: Response not successful: Received status code 500 at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28) at node_modules/@apollo/client/core/QueryManager.js:777:71 at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31) at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72 at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24) at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at node_modules/@apollo/client/utilities/observables/iteration.js:7:68 at Array.forEach () at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25) at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14) at node_modules/@apollo/client/link/http/createHttpLink.js:145:17 Cause: ServerError: Response not successful: Received status code 500 at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17) at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9) at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48 ● Dictionary V1 › get metadata ApolloError: Response not successful: Received status code 500 at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28) at node_modules/@apollo/client/core/QueryManager.js:777:71 at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31) at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72 at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24) at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at node_modules/@apollo/client/utilities/observables/iteration.js:7:68 at Array.forEach () at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25) at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14) at node_modules/@apollo/client/link/http/createHttpLink.js:145:17 Cause: ServerError: Response not successful: Received status code 500 at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17) at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9) at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48 ● Dictionary V1 › init metadata and get metadata ApolloError: Response not successful: Received status code 500 at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28) at node_modules/@apollo/client/core/QueryManager.js:777:71 at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31) at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72 at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24) at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at node_modules/@apollo/client/utilities/observables/iteration.js:7:68 at Array.forEach () at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25) at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14) at node_modules/@apollo/client/link/http/createHttpLink.js:145:17 Cause: ServerError: Response not successful: Received status code 500 at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17) at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9) at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48 ● Dictionary V1 › return dictionary query result ApolloError: Response not successful: Received status code 500 at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28) at node_modules/@apollo/client/core/QueryManager.js:777:71 at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31) at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72 at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24) at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at node_modules/@apollo/client/utilities/observables/iteration.js:7:68 at Array.forEach () at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25) at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14) at node_modules/@apollo/client/link/http/createHttpLink.js:145:17 Cause: ServerError: Response not successful: Received status code 500 at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17) at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9) at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48 ● Dictionary V1 › should return undefined startblock height greater than dictionary last processed height ApolloError: Response not successful: Received status code 500 at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28) at node_modules/@apollo/client/core/QueryManager.js:777:71 at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31) at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72 at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24) at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at node_modules/@apollo/client/utilities/observables/iteration.js:7:68 at Array.forEach () at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25) at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14) at node_modules/@apollo/client/link/http/createHttpLink.js:145:17 Cause: ServerError: Response not successful: Received status code 500 at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17) at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9) at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48 ● Dictionary V1 › should use metadata last process height at end of query height ApolloError: Response not successful: Received status code 500 at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28) at node_modules/@apollo/client/core/QueryManager.js:777:71 at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31) at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72 at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24) at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at node_modules/@apollo/client/utilities/observables/iteration.js:7:68 at Array.forEach () at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25) at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14) at node_modules/@apollo/client/link/http/createHttpLink.js:145:17 Cause: ServerError: Response not successful: Received status code 500 at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17) at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9) at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48 ● Individual dictionary V1 test › return undefined when dictionary api failed ApolloError: Response not successful: Received status code 500 at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28) at node_modules/@apollo/client/core/QueryManager.js:777:71 at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31) at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72 at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24) at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at node_modules/@apollo/client/utilities/observables/iteration.js:7:68 at Array.forEach () at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25) at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14) at node_modules/@apollo/client/link/http/createHttpLink.js:145:17 Cause: ServerError: Response not successful: Received status code 500 at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17) at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9) at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48 ● Individual dictionary V1 test › limits the dictionary query to that block range ApolloError: Response not successful: Received status code 500 at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28) at node_modules/@apollo/client/core/QueryManager.js:777:71 at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31) at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72 at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24) at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at node_modules/@apollo/client/utilities/observables/iteration.js:7:68 at Array.forEach () at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25) at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14) at node_modules/@apollo/client/link/http/createHttpLink.js:145:17 Cause: ServerError: Response not successful: Received status code 500 at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17) at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9) at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48 ● Individual dictionary V1 test › test query the correct range ApolloError: Response not successful: Received status code 500 at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28) at node_modules/@apollo/client/core/QueryManager.js:777:71 at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31) at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72 at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24) at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at node_modules/@apollo/client/utilities/observables/iteration.js:7:68 at Array.forEach () at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25) at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14) at node_modules/@apollo/client/link/http/createHttpLink.js:145:17 Cause: ServerError: Response not successful: Received status code 500 at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17) at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9) at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48 ● Individual dictionary V1 test › use minimum value of event/extrinsic returned block as batch end block ApolloError: Response not successful: Received status code 500 at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28) at node_modules/@apollo/client/core/QueryManager.js:777:71 at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31) at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72 at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24) at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at node_modules/@apollo/client/utilities/observables/iteration.js:7:68 at Array.forEach () at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25) at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21) at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18) at onNotify (node_modules/zen-observable/lib/Observable.js:179:3) at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7) at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14) at node_modules/@apollo/client/link/http/createHttpLink.js:145:17 Cause: ServerError: Response not successful: Received status code 500 at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17) at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9) at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48 ``` --- ``` ● Substrate DictionaryService › should return all specVersion expect(received).toBeGreaterThan(expected) Matcher error: received value must be a number or bigint Received has value: undefined 55 | const specVersions = await dictionaryService.getSpecVersions(); 56 | > 57 | expect(specVersions?.length).toBeGreaterThan(0); | ^ 58 | dictionaryService.onApplicationShutdown(); 59 | }, 50000); 60 | }); at Object. (packages/node/src/indexer/dictionary/v1/substrateDictionaryV1.spec.ts:57:34) ``` --- ``` ● AutoQueue › resumes after flushing expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 2 @@ -1,8 +1,10 @@ Array [ 1, 2, + 3, + 4, 11, 12, 13, 14, 15, 192 | ); 193 | > 194 | expect(results).toEqual([1, 2, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]); | ^ 195 | }); 196 | }); 197 | at Object. (packages/node-core/src/utils/autoQueue.spec.ts:194:21) ``` --- ``` ● IPFSClient Lite › should upload files and yield results Failed to upload files to IPFS 116 | return jsonLines.map((line) => JSON.parse(line)).map(mapResponse); 117 | } catch (error) { > 118 | throw new Error(`Failed to upload files to IPFS`, {cause: error}); | ^ 119 | } 120 | } 121 | at IPFSHTTPClientLite.addAll (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:118:13) at Object. (packages/common/src/project/IpfsHttpClientLite/IpfsHttpClientLite.spec.ts:25:21) Cause: AxiosError: Request failed with status code 403 at settle (node_modules/axios/lib/core/settle.js:17:12) at IncomingMessage.handleStreamEnd (node_modules/axios/lib/adapters/http.js:382:11) ● IPFSClient Lite › should add a file to IPFS and return AddResult Failed to upload files to IPFS 116 | return jsonLines.map((line) => JSON.parse(line)).map(mapResponse); 117 | } catch (error) { > 118 | throw new Error(`Failed to upload files to IPFS`, {cause: error}); | ^ 119 | } 120 | } 121 | at IPFSHTTPClientLite.addAll (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:118:13) at IPFSHTTPClientLite.add (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:52:21) at Object. (packages/common/src/project/IpfsHttpClientLite/IpfsHttpClientLite.spec.ts:55:23) Cause: AxiosError: Request failed with status code 403 at settle (node_modules/axios/lib/core/settle.js:17:12) at IncomingMessage.handleStreamEnd (node_modules/axios/lib/adapters/http.js:382:11) ● IPFSClient Lite › should pin a content with given CID to a remote pinning service Failed to pin CID QmQKeYj2UZJoTN5yXSvzJy4A3CjUuSmEWAKeZV4herh5bS to remote service 74 | return response.data; 75 | } catch (e) { > 76 | throw new Error(`Failed to pin CID ${cid} to remote service`, {cause: e}); | ^ 77 | } 78 | } 79 | at IPFSHTTPClientLite.pinRemoteAdd (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:76:13) at Object. (packages/common/src/project/IpfsHttpClientLite/IpfsHttpClientLite.spec.ts:64:20) Cause: AxiosError: Request failed with status code 403 at settle (node_modules/axios/lib/core/settle.js:17:12) at IncomingMessage.handleStreamEnd (node_modules/axios/lib/adapters/http.js:382:11) ``` --- ``` ● Intergration test - Publish › overwrites any exisiting CID files [tsl] ERROR in /tmp/U61pOH/mocked_starter/src/mappings/mappingHandlers.ts(45,5) TS2322: Type 'Date | undefined' is not assignable to type 'Date'. Type 'undefined' is not assignable to type 'Date'. 70 | ); 71 | } > 72 | | ^ 73 | for (const i in buildEntries) { 74 | if (typeof buildEntries[i] !== 'string') { 75 | this.warn(`Ignoring entry ${i} from build.`); at Object.error (node_modules/@oclif/core/lib/errors/index.js:27:15) at Build.error (node_modules/@oclif/core/lib/command.js:139:23) at Build.run (packages/cli/src/commands/build/index.ts:72:18) at async Build._run (node_modules/@oclif/core/lib/command.js:117:22) at async createTestProject (packages/cli/src/createProject.fixtures.ts:76:5) at async Object. (packages/cli/src/commands/publish.test.ts:17:22) ● Intergration test - Publish › create ipfsCID file stored in local with dictiory path [tsl] ERROR in /tmp/U61pOH/mocked_starter/src/mappings/mappingHandlers.ts(45,5) TS2322: Type 'Date | undefined' is not assignable to type 'Date'. Type 'undefined' is not assignable to type 'Date'. 70 | ); 71 | } > 72 | | ^ 73 | for (const i in buildEntries) { 74 | if (typeof buildEntries[i] !== 'string') { 75 | this.warn(`Ignoring entry ${i} from build.`); at Object.error (node_modules/@oclif/core/lib/errors/index.js:27:15) at Build.error (node_modules/@oclif/core/lib/command.js:139:23) at Build.run (packages/cli/src/commands/build/index.ts:72:18) at async Build._run (node_modules/@oclif/core/lib/command.js:117:22) at async createTestProject (packages/cli/src/createProject.fixtures.ts:76:5) at async Object. (packages/cli/src/commands/publish.test.ts:17:22) ● Intergration test - Publish › file name consistent with manfiest file name, if -f is used [tsl] ERROR in /tmp/U61pOH/mocked_starter/src/mappings/mappingHandlers.ts(45,5) TS2322: Type 'Date | undefined' is not assignable to type 'Date'. Type 'undefined' is not assignable to type 'Date'. 70 | ); 71 | } > 72 | | ^ 73 | for (const i in buildEntries) { 74 | if (typeof buildEntries[i] !== 'string') { 75 | this.warn(`Ignoring entry ${i} from build.`); at Object.error (node_modules/@oclif/core/lib/errors/index.js:27:15) at Build.error (node_modules/@oclif/core/lib/command.js:139:23) at Build.run (packages/cli/src/commands/build/index.ts:72:18) at async Build._run (node_modules/@oclif/core/lib/command.js:117:22) at async createTestProject (packages/cli/src/createProject.fixtures.ts:76:5) at async Object. (packages/cli/src/commands/publish.test.ts:17:22) ``` --- ``` ● Cli publish › should upload appropriate project to IPFS [tsl] ERROR in /tmp/rCXVYb/mocked_starter/src/mappings/mappingHandlers.ts(45,5) TS2322: Type 'Date | undefined' is not assignable to type 'Date'. Type 'undefined' is not assignable to type 'Date'. 70 | ); 71 | } > 72 | | ^ 73 | for (const i in buildEntries) { 74 | if (typeof buildEntries[i] !== 'string') { 75 | this.warn(`Ignoring entry ${i} from build.`); at Object.error (node_modules/@oclif/core/lib/errors/index.js:27:15) at Build.error (node_modules/@oclif/core/lib/command.js:139:23) at Build.run (packages/cli/src/commands/build/index.ts:72:18) at async Build._run (node_modules/@oclif/core/lib/command.js:117:22) at async createTestProject (packages/cli/src/createProject.fixtures.ts:76:5) at async Promise.all (index 0) at async Object. (packages/cli/src/controller/publish-controller.spec.ts:18:21) ● Cli publish › convert to deployment and removed descriptive field [tsl] ERROR in /tmp/rCXVYb/mocked_starter/src/mappings/mappingHandlers.ts(45,5) TS2322: Type 'Date | undefined' is not assignable to type 'Date'. Type 'undefined' is not assignable to type 'Date'. 70 | ); 71 | } > 72 | | ^ 73 | for (const i in buildEntries) { 74 | if (typeof buildEntries[i] !== 'string') { 75 | this.warn(`Ignoring entry ${i} from build.`); at Object.error (node_modules/@oclif/core/lib/errors/index.js:27:15) at Build.error (node_modules/@oclif/core/lib/command.js:139:23) at Build.run (packages/cli/src/commands/build/index.ts:72:18) at async Build._run (node_modules/@oclif/core/lib/command.js:117:22) at async createTestProject (packages/cli/src/createProject.fixtures.ts:76:5) at async Promise.all (index 0) at async Object. (packages/cli/src/controller/publish-controller.spec.ts:18:21) ● Cli publish › convert js object to JSON object [tsl] ERROR in /tmp/rCXVYb/mocked_starter/src/mappings/mappingHandlers.ts(45,5) TS2322: Type 'Date | undefined' is not assignable to type 'Date'. Type 'undefined' is not assignable to type 'Date'. 70 | ); 71 | } > 72 | | ^ 73 | for (const i in buildEntries) { 74 | if (typeof buildEntries[i] !== 'string') { 75 | this.warn(`Ignoring entry ${i} from build.`); at Object.error (node_modules/@oclif/core/lib/errors/index.js:27:15) at Build.error (node_modules/@oclif/core/lib/command.js:139:23) at Build.run (packages/cli/src/commands/build/index.ts:72:18) at async Build._run (node_modules/@oclif/core/lib/command.js:117:22) at async createTestProject (packages/cli/src/createProject.fixtures.ts:76:5) at async Promise.all (index 0) at async Object. (packages/cli/src/controller/publish-controller.spec.ts:18:21) ● Cli publish › Get directory CID from multi-chain project [tsl] ERROR in /tmp/rCXVYb/mocked_starter/src/mappings/mappingHandlers.ts(45,5) TS2322: Type 'Date | undefined' is not assignable to type 'Date'. Type 'undefined' is not assignable to type 'Date'. 70 | ); 71 | } > 72 | | ^ 73 | for (const i in buildEntries) { 74 | if (typeof buildEntries[i] !== 'string') { 75 | this.warn(`Ignoring entry ${i} from build.`); at Object.error (node_modules/@oclif/core/lib/errors/index.js:27:15) at Build.error (node_modules/@oclif/core/lib/command.js:139:23) at Build.run (packages/cli/src/commands/build/index.ts:72:18) at async Build._run (node_modules/@oclif/core/lib/command.js:117:22) at async createTestProject (packages/cli/src/createProject.fixtures.ts:76:5) at async Promise.all (index 0) at async Object. (packages/cli/src/controller/publish-controller.spec.ts:18:21) ``` --- ``` ● 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." 494 | }; 495 | > 496 | it('should use new hasher function, types hasher string should be replaced with function', async () => { | ^ 497 | const apiService = await prepareApiService(); 498 | const api = apiService.api; 499 | expect(typeof (api as any)._options.typesBundle.spec.gargantua.hasher).toBe( at packages/node/src/indexer/api.service.test.ts:496:3 at Object. (packages/node/src/indexer/api.service.test.ts:439:1) ```

Report generated by 🧪jest coverage report action from cfce7416d606a6060db63fe4e2743d0edccf3a06