0g-chain/x/community
drklee3 ae4cb15d73
Emit events for inflation disable and staking rewards (#1743)
* Emit events for staking rewards

* Update test to check disable inflation check

* Only emit staking rewards event when non-zero value

* use existing transfer amount for event

* add assertion that no events are emitted for zero rewards; refactor
event assertions to be a little cleaner

---------

Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
2023-10-03 15:10:22 -07:00
..
client feat(community): add switchover param (#1704) 2023-09-22 09:05:12 -07:00
keeper Emit events for inflation disable and staking rewards (#1743) 2023-10-03 15:10:22 -07:00
migrations/v2 Community Pool Staking Rewards Implementation & Improvements (#1742) 2023-10-03 08:41:54 -07:00
spec update x/community specs for v0.21 release (#1462) 2023-01-30 10:09:26 -08:00
testutil Emit events for inflation disable and staking rewards (#1743) 2023-10-03 15:10:22 -07:00
types Emit events for inflation disable and staking rewards (#1743) 2023-10-03 15:10:22 -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