Skip to content
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

Get Current & Future ds, instead of all ds #2168

Closed
bz888 opened this issue Nov 16, 2023 · 2 comments
Closed

Get Current & Future ds, instead of all ds #2168

bz888 opened this issue Nov 16, 2023 · 2 comments

Comments

@bz888
Copy link
Contributor

bz888 commented Nov 16, 2023

Prerequisites

  • When running a project with multiple datasources

Description

const handlers = [...this.projectService.getAllDataSources().map((ds) => ds.mapping.handlers)].flat();

Should be getting current and future datasources instead of all ds

@stwiname
Copy link
Collaborator

getModulos implementation is also using getAllDataSources. getModulos should be updated to take in the datasources that are used with this change

https://github.com/subquery/subql/blob/main/packages/node/src/indexer/fetch.service.ts#L225

@stwiname
Copy link
Collaborator

This was fixed in #2225 and regression restored #2320

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants