-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(x/rewards): move state to use collections (#475)
* state works in a backwards compatible manner * migrate contract metadata to use collections * move params in a backwards compatible way * move params to use collections * flat fees moved in backwards compatible way * move flat fees fully to use collections * flat fee keys cleanup * move min cons fee in a non state breaking way * move min cons fee to use collections fully * cleanup keys.go * move blockrewards to collections in a state compatible way * move genesis to use collections * move more code to use collections * remove more code * move DeleteBLockRewardsCascade from State to Keeper * move tx rewards to collections in a safe way * more of TxRewards state moved to collections * fully migrate TxRewards to collections * checkpoint * remove GetRewardsByRewardAddr in state_rewards_record.go * remove CreateRewardsRecord in state_rewards_record.go * remove more from state_rewards_record.go * tmp commit * remove all unneeded things * finalise fast removal * fix prefix and cleanup * lint fully + CHANGELOG.md * address nits
- Loading branch information
Showing
45 changed files
with
776 additions
and
1,219 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
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
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
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
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
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
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.