0g-chain/x/incentive/keeper
Ruaridh 54c0793ced
Fix delegation claim syncing (#889)
* sync claims on validator state changes and slashes

* add test notes

* update missed sync delegator calls

* tidy up suite addresses initialization

* test claim synced when validator bonds/unbonds

* test validator slashed

* check reward factor increased

* test redelegation sync claim

* revert mistake

* resolve trailing TODOs

* call incentive hooks after hard liquidation

* check global index in tests after delegator reward sync

Co-authored-by: denalimarsh <denalimarsh@gmail.com>
Co-authored-by: karzak <kjydavis3@gmail.com>
2021-03-25 00:10:13 -06:00
..
diff_test.go Fix: delete incentive reward factors on full withdraw/repay (#885) 2021-03-23 17:28:03 -06:00
hooks.go Fix delegation claim syncing (#889) 2021-03-25 00:10:13 -06:00
integration_test.go Fix delegation claim syncing (#889) 2021-03-25 00:10:13 -06:00
keeper_test.go Fix delegation claim syncing (#889) 2021-03-25 00:10:13 -06:00
keeper.go Accrue Hard module rewards in multiple coin denoms (#785) 2021-02-02 09:17:46 -07:00
params.go Accrue Hard module rewards in multiple coin denoms (#785) 2021-02-02 09:17:46 -07:00
payout_test.go Fix index sync when deposits/borrows are small (#886) 2021-03-22 22:31:21 -06:00
payout.go Incentive module multiple reward denom tests (#788) 2021-02-03 23:23:53 +01:00
querier.go Hard incentive reward querier updates for acceptance (#782) 2021-01-29 13:32:07 -07:00
rewards_test.go Fix delegation claim syncing (#889) 2021-03-25 00:10:13 -06:00
rewards.go Fix delegation claim syncing (#889) 2021-03-25 00:10:13 -06:00