subql icon indicating copy to clipboard operation
subql copied to clipboard

Get Current & Future ds, instead of all ds

Open bz888 opened this issue 2 years ago • 1 comments

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

bz888 avatar Nov 16 '23 00:11 bz888

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 avatar Nov 16 '23 03:11 stwiname

This was fixed in https://github.com/subquery/subql/pull/2225 and regression restored https://github.com/subquery/subql/pull/2320

stwiname avatar May 22 '24 01:05 stwiname