[x] Refactor StakingReservePoolAcc, to using DeriveAddress and StakingCoinDenom
[x] Add TotalStakingsRecords
[x] Update Invariant for TotalStakingsAmount
[x] Deprecate global StakingReserveAcc
[x] Set default ReserveAddressType
[x] Add testcases
[x] Refactor relevant functions
[x] Resolve in-line todo list
[x] Update docs and spec
References
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
[ ] Appropriate labels applied
[ ] Targeted PR against correct branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
Description
closes: #220
Tasks
References
Before we can merge this PR, please make sure that all the following items have been checked off. If any of the checklist items are not applicable, please leave them but write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes