0g-chain/x/community
drklee3 8186367c8b
feat(community): consolidate community funds (#1729)
* Add consolidate methods

* Update distr feepool balance with dust, add tests

* Set params for proposal handler to not influence module balances

* Add StakingRewardsPerSecond param for proposal test

* Update changelog

* Update test to check emitted events

* Log dust amounts for x/distribution

* Modify feepool communitypool field instead of entire replacement

* Update tests to include cases with empty balances

* Move EventsContains to app

* Remove extra copied ModuleName

* Add Require() to incentive claims in tests to reduce errors

* Move consolidate tests to testutil

* Only transfer non-ukava coins

* Add DefaultStakingRewardsState to proposal handler test

* Move event emit before consolidate

* add golangci specific timeout

---------

Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
2023-10-20 09:18:37 -07:00
..
client feat(community): add switchover param (#1704) 2023-09-22 09:05:12 -07:00
keeper feat(community): consolidate community funds (#1729) 2023-10-20 09:18:37 -07:00
migrations/v2 feat(community): consolidate community funds (#1729) 2023-10-20 09:18:37 -07:00
spec update x/community specs for v0.21 release (#1462) 2023-01-30 10:09:26 -08:00
testutil feat(community): consolidate community funds (#1729) 2023-10-20 09:18:37 -07:00
types feat(community): consolidate community funds (#1729) 2023-10-20 09:18:37 -07:00
abci_test.go Community Pool Staking Rewards Implementation & Improvements (#1742) 2023-10-03 08:41:54 -07:00
abci.go Community Pool Staking Rewards Implementation & Improvements (#1742) 2023-10-03 08:41:54 -07:00
disable_inflation_abci_test.go feat: disable inflation upgrade logic (#1706) 2023-10-02 13:10:22 -07:00
genesis_test.go Community Pool Staking Rewards Implementation & Improvements (#1742) 2023-10-03 08:41:54 -07:00
genesis.go Community Pool Staking Rewards Implementation & Improvements (#1742) 2023-10-03 08:41:54 -07:00
handler.go feat: add community cdp withdraw collateral proposal (#1567) 2023-04-20 16:08:53 -07:00
module_test.go add x/kavamint & x/community modules (#1400) 2022-12-09 13:24:35 -08:00
module.go feat: disable inflation upgrade logic (#1706) 2023-10-02 13:10:22 -07:00
staking_rewards_abci_test.go Community Pool Staking Rewards Implementation & Improvements (#1742) 2023-10-03 08:41:54 -07:00