subql
subql copied to clipboard
Get Current & Future ds, instead of all ds
Prerequisites
- When running a project with multiple datasources
Description
https://github.com/subquery/subql/blob/c3c5080fdad262ecbd483ff226d5f5348ea98e7c/packages/node-core/src/indexer/fetch.service.ts#L233
Should be getting current and future datasources instead of all ds
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
This was fixed in https://github.com/subquery/subql/pull/2225 and regression restored https://github.com/subquery/subql/pull/2320