0g-chain/migrate/v0_15
Ruaridh 013093ecb5
Incentive genesis refactor: remove sync on export (#954)
* move defualt values to file where they're used

* add type to hold RewardIndexes in genesis state

* add reward indexes state to genesis

* fix genesis state importers

* add iterator keeper methods for accrual times

* remove syncing from export/init genesis

* separate incentive migration to new file

* refactor out common funcs from incentive migration

* update legacy genesis state to v0.14.3

* add test and example migrated json

* fully initialize rewards in genesis builder

* add kava-7-mainnet incentive state

* run aliasgen

* add missing type to incentive/legacy

Co-authored-by: karzak <kjydavis3@gmail.com>
2021-07-15 15:41:55 +01:00
..
testdata Incentive genesis refactor: remove sync on export (#954) 2021-07-15 15:41:55 +01:00
incentive.go Incentive genesis refactor: remove sync on export (#954) 2021-07-15 15:41:55 +01:00
migrate_test.go Incentive genesis refactor: remove sync on export (#954) 2021-07-15 15:41:55 +01:00
migrate.go Incentive genesis refactor: remove sync on export (#954) 2021-07-15 15:41:55 +01:00