-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <alberto.penayo@parity.io> Co-authored-by: Imod7 <dominique@imodworks.io>
- Loading branch information
1 parent
0b763f8
commit b1e84be
Showing
3 changed files
with
2,339 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.