0g-chain/x/incentive/testutil
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
..
builder.go Add incentive earn tests with real keepers (#1354) 2022-10-19 16:13:37 -07:00
earn_builder.go Add incentive earn tests with real keepers (#1354) 2022-10-19 16:13:37 -07:00
integration.go Add incentive earn tests with real keepers (#1354) 2022-10-19 16:13:37 -07:00
mint_builder.go Add incentive earn tests with real keepers (#1354) 2022-10-19 16:13:37 -07:00
staking_builder.go Add incentive earn tests with real keepers (#1354) 2022-10-19 16:13:37 -07:00