Open TarikGul opened 3 months ago
how would you get erasStakersClipped from api.at(hash) then? I haven't been able to use derive API with historical data
That being said, once all relay chain runtimes are updated to 1004000 it is safe to say we can remove the erasStakersClipped, and have support for only erasStakersPaged
This is referring only to the functionality in the derive
, not api.query
I changed the title to be more less confusing.
Via https://github.com/polkadot-js/api/issues/5771
api.derive.staking._erasExposure
needed to change its internal functionality to accommodate the new changes. Currently the derive has forward and backwards compatibility via https://github.com/polkadot-js/api/pull/5815.That being said, once all relay chain runtimes are updated to 1004000 it is safe to say we can remove the
erasStakersClipped
, and have support for onlyerasStakersPaged
. This means we can also adjust the types to ensure there is a single source of truth for the_eraExposure
.This is a tracking issue to ensure we stay on top of it and will be added to the projects board tracking column.