0g-chain/x/incentive
Derrick Lee 937e5f339f
Add incentive migrations for earn rewards (#1406)
* Add initial earn claim migrations

* Use existing types for migrations, add accural time migrations

* Add MigrateRewardIndexes

* Delete old state after migration

* Update store test with multiple entries

* Move key methods to keys.go

* Update incentive consensus version to 3

* Call MigrateRewardIndexes in main migration, remove debugging statements

* Fix migration version to v3

* Update module versions

* Update outdated v1 comment
2022-12-05 16:54:18 -08:00
..
client Add /incentive/apy query endpoint (#1328) 2022-10-05 11:39:50 -07:00
keeper Use different accumulator for earn (#1395) 2022-11-29 14:23:33 -08:00
legacy Add base earn incentives (#1292) 2022-09-22 11:26:08 -07:00
migrations/v3 Add incentive migrations for earn rewards (#1406) 2022-12-05 16:54:18 -08: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 Use different accumulator for earn (#1395) 2022-11-29 14:23:33 -08:00
types Add incentive migrations for earn rewards (#1406) 2022-12-05 16:54:18 -08:00
abci.go Use different accumulator for earn (#1395) 2022-11-29 14:23:33 -08:00
genesis_test.go Add generic incentive AccumulateRewards method (#1392) 2022-11-29 13:59:11 -08:00
genesis.go Use different accumulator for earn (#1395) 2022-11-29 14:23:33 -08:00
integration_test.go Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
module.go Add incentive migrations for earn rewards (#1406) 2022-12-05 16:54:18 -08:00