fix: add more historic support for staking-payouts (#1397)
* fix: add more historic support for staking-payouts * Update typings * update nit * historyDepth guard * added currentEra * first commit * updated deriveEraExposure * udpated blockinfo interface * updated payout calc * removed unused types * added eras block info * run linter * some linting * udpated points and rewards * undo * fixed all type errors * get era points at current era s end block * edgecase era 0 * linting * era 0 * disable depth for eras less than 518 * removed extra blocks in erasBlockInfo json file * bug fix * typo * bug fix * fix era err msg * removed commented line * linting --------- Co-authored-by: bee344 <[email protected]> Co-authored-by: Imod7 <[email protected]>
Please register or sign in to comment