-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix subscriptions including multichain metadata tables #2609
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
---|---|---|---|
🟡 | Statements | 65.76% (-4.35% 🔻) |
20045/30483 |
🟡 | Branches | 79.31% (+1.02% 🔼) |
2653/3345 |
🟡 | Functions | 69.19% (+6.69% 🔼) |
1132/1636 |
🟡 | Lines | 65.76% (-4.35% 🔻) |
20045/30483 |
⚠️ Details were not displayed: the report size has exceeded the limit.
Test suite run failed
Failed tests: 24/599. Failed suites: 6/107.
● 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 (<anonymous>)
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 (<anonymous>)
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 (<anonymous>)
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 (<anonymous>)
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 (<anonymous>)
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 (<anonymous>)
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 (<anonymous>)
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 (<anonymous>)
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 (<anonymous>)
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 (<anonymous>)
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 (<anonymous>)
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 (<anonymous>)
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 (<anonymous>)
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 (<anonymous>)
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 (<anonymous>)
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.<anonymous> (packages/node/src/indexer/dictionary/v1/substrateDictionaryV1.spec.ts:57:34)
● Test suite failed to run
TypeError: Class extends value undefined is not a constructor or null
84 | }
85 |
> 86 | class DsPluginSandbox<P> extends Sandbox {
| ^
87 | constructor(option: Omit<SandboxOption, 'store'>, nodeConfig: NodeConfig) {
88 | super(
89 | option,
at Object.<anonymous> (packages/node-core/src/indexer/ds-processor.service.ts:86:34)
at Object.<anonymous> (packages/node-core/src/indexer/indexer.manager.ts:13:1)
at Object.<anonymous> (packages/node-core/src/indexer/index.ts:23:1)
at Object.<anonymous> (packages/node-core/src/db/migration-service/SchemaMigration.service.ts:8:1)
at Object.<anonymous> (packages/node-core/src/db/migration-service/index.ts:5:1)
at Object.<anonymous> (packages/node-core/src/db/index.ts:5:1)
at Object.<anonymous> (packages/node-core/src/utils/graphql.ts:19:1)
at Object.<anonymous> (packages/node-core/src/utils/index.ts:7:1)
at Object.<anonymous> (packages/node-core/src/indexer/sandbox.ts:14:1)
at Object.<anonymous> (packages/node-core/src/indexer/sandbox.spec.ts:6:1)
● CLI deploy, delete, promote › reDeploy to Hosted Service
thrown: "Exceeded timeout of 120000 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."
152 | });
153 |
> 154 | it('reDeploy to Hosted Service', async () => {
| ^
155 | const {ipfs, org, projectName, type} = projectSpec;
156 | const newIPFS = 'QmbKvrzwSmzTZi5jrhEpa6yDDHQXRURi5S4ztLgJLpBxAi';
157 | const validator = await ipfsCID_validate(projectSpec.ipfs, testAuth, ROOT_API_URL_PROD);
at packages/cli/src/controller/deploy-controller.test.ts:154:3
at Object.<anonymous> (packages/cli/src/controller/deploy-controller.test.ts:79:1)
● Intergration test - Publish › overwrites any exisiting CID files
Command failed: npm i
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @polkadot/[email protected]
npm error node_modules/@polkadot/api
npm error dev @polkadot/api@"^12" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @polkadot/api@"^14" from @subql/[email protected]
npm error node_modules/@subql/types
npm error dev @subql/types@"latest" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/.npm/_logs/2024-11-27T22_13_58_784Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-11-27T22_13_58_784Z-debug-0.log
77 |
78 | // Install dependencies
> 79 | childProcess.execSync(`npm i`, {cwd: projectDir});
| ^
80 | // Set test env to be develop mode, only limit to test
81 | process.env.NODE_ENV = 'develop';
82 |
at createTestProject (packages/cli/src/createProject.fixtures.ts:79:16)
at Object.<anonymous> (packages/cli/src/commands/publish.test.ts:15:18)
● Intergration test - Publish › create ipfsCID file stored in local with dictiory path
Command failed: npm i
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @polkadot/[email protected]
npm error node_modules/@polkadot/api
npm error dev @polkadot/api@"^12" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @polkadot/api@"^14" from @subql/[email protected]
npm error node_modules/@subql/types
npm error dev @subql/types@"latest" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/.npm/_logs/2024-11-27T22_13_58_784Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-11-27T22_13_58_784Z-debug-0.log
77 |
78 | // Install dependencies
> 79 | childProcess.execSync(`npm i`, {cwd: projectDir});
| ^
80 | // Set test env to be develop mode, only limit to test
81 | process.env.NODE_ENV = 'develop';
82 |
at createTestProject (packages/cli/src/createProject.fixtures.ts:79:16)
at Object.<anonymous> (packages/cli/src/commands/publish.test.ts:15:18)
● Intergration test - Publish › file name consistent with manfiest file name, if -f <manifest path> is used
Command failed: npm i
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @polkadot/[email protected]
npm error node_modules/@polkadot/api
npm error dev @polkadot/api@"^12" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @polkadot/api@"^14" from @subql/[email protected]
npm error node_modules/@subql/types
npm error dev @subql/types@"latest" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/.npm/_logs/2024-11-27T22_13_58_784Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-11-27T22_13_58_784Z-debug-0.log
77 |
78 | // Install dependencies
> 79 | childProcess.execSync(`npm i`, {cwd: projectDir});
| ^
80 | // Set test env to be develop mode, only limit to test
81 | process.env.NODE_ENV = 'develop';
82 |
at createTestProject (packages/cli/src/createProject.fixtures.ts:79:16)
at Object.<anonymous> (packages/cli/src/commands/publish.test.ts:15:18)
● Cli publish › should upload appropriate project to IPFS
Command failed: npm i
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @polkadot/[email protected]
npm error node_modules/@polkadot/api
npm error dev @polkadot/api@"^12" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @polkadot/api@"^14" from @subql/[email protected]
npm error node_modules/@subql/types
npm error dev @subql/types@"latest" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/.npm/_logs/2024-11-27T22_13_50_941Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-11-27T22_13_50_941Z-debug-0.log
77 |
78 | // Install dependencies
> 79 | childProcess.execSync(`npm i`, {cwd: projectDir});
| ^
80 | // Set test env to be develop mode, only limit to test
81 | process.env.NODE_ENV = 'develop';
82 |
at createTestProject (packages/cli/src/createProject.fixtures.ts:79:16)
at async Promise.all (index 0)
at Object.<anonymous> (packages/cli/src/controller/publish-controller.spec.ts:19:17)
● Cli publish › convert to deployment and removed descriptive field
Command failed: npm i
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @polkadot/[email protected]
npm error node_modules/@polkadot/api
npm error dev @polkadot/api@"^12" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @polkadot/api@"^14" from @subql/[email protected]
npm error node_modules/@subql/types
npm error dev @subql/types@"latest" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/.npm/_logs/2024-11-27T22_13_50_941Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-11-27T22_13_50_941Z-debug-0.log
77 |
78 | // Install dependencies
> 79 | childProcess.execSync(`npm i`, {cwd: projectDir});
| ^
80 | // Set test env to be develop mode, only limit to test
81 | process.env.NODE_ENV = 'develop';
82 |
at createTestProject (packages/cli/src/createProject.fixtures.ts:79:16)
at async Promise.all (index 0)
at Object.<anonymous> (packages/cli/src/controller/publish-controller.spec.ts:19:17)
● Cli publish › convert js object to JSON object
Command failed: npm i
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @polkadot/[email protected]
npm error node_modules/@polkadot/api
npm error dev @polkadot/api@"^12" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @polkadot/api@"^14" from @subql/[email protected]
npm error node_modules/@subql/types
npm error dev @subql/types@"latest" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/.npm/_logs/2024-11-27T22_13_50_941Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-11-27T22_13_50_941Z-debug-0.log
77 |
78 | // Install dependencies
> 79 | childProcess.execSync(`npm i`, {cwd: projectDir});
| ^
80 | // Set test env to be develop mode, only limit to test
81 | process.env.NODE_ENV = 'develop';
82 |
at createTestProject (packages/cli/src/createProject.fixtures.ts:79:16)
at async Promise.all (index 0)
at Object.<anonymous> (packages/cli/src/controller/publish-controller.spec.ts:19:17)
● Cli publish › Get directory CID from multi-chain project
Command failed: npm i
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @polkadot/[email protected]
npm error node_modules/@polkadot/api
npm error dev @polkadot/api@"^12" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @polkadot/api@"^14" from @subql/[email protected]
npm error node_modules/@subql/types
npm error dev @subql/types@"latest" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/.npm/_logs/2024-11-27T22_13_50_941Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-11-27T22_13_50_941Z-debug-0.log
77 |
78 | // Install dependencies
> 79 | childProcess.execSync(`npm i`, {cwd: projectDir});
| ^
80 | // Set test env to be develop mode, only limit to test
81 | process.env.NODE_ENV = 'develop';
82 |
at createTestProject (packages/cli/src/createProject.fixtures.ts:79:16)
at async Promise.all (index 0)
at Object.<anonymous> (packages/cli/src/controller/publish-controller.spec.ts:19:17)
Report generated by 🧪jest coverage report action from c769ee7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Subscriptions check for the metadata table only checked for
_metadata
and not the multichain metadata tables.Type of change
Checklist