0g-chain/x/community/keeper
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
..
disable_inflation_test.go feat: disable inflation upgrade logic (#1706) 2023-10-02 13:10:22 -07:00
disable_inflation.go Emit events for inflation disable and staking rewards (#1743) 2023-10-03 15:10:22 -07:00
grpc_query_test.go Community Pool Staking Rewards Implementation & Improvements (#1742) 2023-10-03 08:41:54 -07:00
grpc_query.go feat(community): add switchover param (#1704) 2023-09-22 09:05:12 -07:00
keeper_test.go Community Pool Staking Rewards Implementation & Improvements (#1742) 2023-10-03 08:41:54 -07:00
keeper.go Community Pool Staking Rewards Implementation & Improvements (#1742) 2023-10-03 08:41:54 -07:00
migrations.go feat(community): add switchover param (#1704) 2023-09-22 09:05:12 -07:00
msg_server_test.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
msg_server.go add x/kavamint & x/community modules (#1400) 2022-12-09 13:24:35 -08:00
params_test.go Community Pool Staking Rewards Implementation & Improvements (#1742) 2023-10-03 08:41:54 -07:00
params.go Community Pool Staking Rewards Implementation & Improvements (#1742) 2023-10-03 08:41:54 -07:00
proposal_handler_test.go feat: add community cdp withdraw collateral proposal (#1567) 2023-04-20 16:08:53 -07:00
proposal_handler.go feat: add community cdp withdraw collateral proposal (#1567) 2023-04-20 16:08:53 -07:00
staking_test.go Community Pool Staking Rewards Implementation & Improvements (#1742) 2023-10-03 08:41:54 -07:00
staking.go Emit events for inflation disable and staking rewards (#1743) 2023-10-03 15:10:22 -07:00