0g-chain/x/hard/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
..
borrow_test.go Test users cannot borrow from reserves (#869) 2021-03-09 12:11:13 -07:00
borrow.go Minor best practices edits in Hard module (#877) 2021-03-15 09:15:19 -06:00
deposit_test.go Minor best practices edits in Hard module (#877) 2021-03-15 09:15:19 -06:00
deposit.go don't sync borrow on deposit - it's redundant (#876) 2021-03-15 09:29:13 -06:00
hooks.go Incentive/Hard rebase to master (#773) 2021-01-21 14:52:09 +01:00
interest_test.go don't sync borrow on deposit - it's redundant (#876) 2021-03-15 09:29:13 -06:00
interest.go Fix hard/committee begin blocker order (#867) 2021-03-10 21:38:42 -07:00
keeper_test.go remove auction size param (#815) 2021-02-10 07:59:23 -07:00
keeper.go Additional Hard module queries (#884) 2021-03-22 18:57:07 +01:00
liquidation_test.go Prevent panic-causing param values (#875) 2021-03-15 08:44:23 -06:00
liquidation.go Fix delegation claim syncing (#889) 2021-03-25 00:10:13 -06:00
params.go validate against money markets in store (#839) 2021-02-19 13:23:19 -07:00
querier.go Additional Hard module queries (#884) 2021-03-22 18:57:07 +01:00
repay_test.go fix bug that skipped minimum borrow check (#870) 2021-03-10 21:13:21 -07:00
repay.go Fix: delete incentive reward factors on full withdraw/repay (#885) 2021-03-23 17:28:03 -06:00
timelock_test.go Hard Audit: add minimum borrow USD value (#822) 2021-02-12 08:28:05 -07:00
timelock.go update 'harvest' -> 'hard' (#746) 2020-12-21 18:18:55 +01:00
withdraw_test.go Hard Audit: add minimum borrow USD value (#822) 2021-02-12 08:28:05 -07:00
withdraw.go Hard Audit: refresh borrow/deposit after syncing (#824) 2021-02-12 21:56:03 +01:00