0g-chain/x/incentive
Derrick Lee 73bc32a183
Add incentive earn tests with real keepers (#1354)
* Update incentive test to use beginblocker instead manual accumulation

* Update integration test suite

* Add base integration test, wip staking reward calculation

* Get actual staking reward amounts from BeginBlocker events, calculate expected indexes

* Simplify event parsing

* Add initial earn accum test with real keepers

* Add the rest of the accum integration tests with real keepers

* Check if delegation rewards are zero before transferring

* Update staking integration test to use updated methods
2022-10-19 16:13:37 -07:00
..
client Add /incentive/apy query endpoint (#1328) 2022-10-05 11:39:50 -07:00
keeper Add incentive earn tests with real keepers (#1354) 2022-10-19 16:13:37 -07:00
legacy Add base earn incentives (#1292) 2022-09-22 11:26:08 -07:00
simulation gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
spec update incentive spec (#982) 2021-08-06 08:12:08 -06:00
testutil Add incentive earn tests with real keepers (#1354) 2022-10-19 16:13:37 -07:00
types Add /incentive/apy query endpoint (#1328) 2022-10-05 11:39:50 -07:00
abci.go Add liquid staking reward redistribution via incentive (#1308) 2022-09-28 13:20:01 -07:00
genesis_test.go Revert per-module incentive claim denom multipliers (#1312) 2022-09-27 19:46:14 -07:00
genesis.go Add base earn incentives (#1292) 2022-09-22 11:26:08 -07:00
integration_test.go Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
module.go Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00