0g-chain/x/incentive
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/cli feat: upgrade to Cosmos v0.46 (#1477) 2023-04-03 20:08:45 -04:00
keeper feat(community): consolidate community funds (#1729) 2023-10-20 09:18:37 -07:00
legacy Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
simulation Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
spec Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
testutil Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
types Cosmos v0.46 upgrade follow ups (#1522) 2023-04-06 12:59:02 +01:00
abci.go feat(metrics): add timing metrics to abci methods (#1669) 2023-08-25 15:14:35 -07:00
genesis_test.go bug: fix invalid accumulation time genesis validation (#1550) 2023-04-13 09:42:01 -07:00
genesis.go bug: fix invalid accumulation time genesis validation (#1550) 2023-04-13 09:42:01 -07:00
integration_test.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
module.go feat: upgrade to Cosmos v0.46 (#1477) 2023-04-03 20:08:45 -04:00