0g-chain/migrate/v0_15
Ruaridh 22843cd3df
Incentive migration state fixes: USDX Minting (#998)
* minor migration refactor

* overwrite usdx claims with latest reward indexes

* add missing usdx claims in migration

* add script to calculate missing usdx rewards

* generate missing rewards using preliminary data

* add missing usdx rewards in migration

* update missing rewards data to use correct genesis

* test rewards were not decreased

* add tests for missing reward calculations

* clarify function names

* test to assert total new rewards are as expected

* remove unecessary todo item
2021-08-19 16:20:26 +01:00
..
data SWP airdrop for USDX suppliers to hard (#996) 2021-08-17 11:59:07 -06:00
testdata Incentive migration state fixes: USDX Minting (#998) 2021-08-19 16:20:26 +01:00
usdx_rewards Incentive migration state fixes: USDX Minting (#998) 2021-08-19 16:20:26 +01:00
account_test.go Fix Account Migration for Additive Vesting Periods (#993) 2021-08-16 12:25:15 -06:00
account.go Fix Account Migration for Additive Vesting Periods (#993) 2021-08-16 12:25:15 -06:00
generate-test-auth-data.sh Reset Periodic Vesting Accounts for Kava-8 (#987) 2021-08-12 10:31:58 -05:00
generate-test-incentive-data.sh Incentive migration state fixes: USDX Minting (#998) 2021-08-19 16:20:26 +01:00
incentive_test.go Incentive migration state fixes: USDX Minting (#998) 2021-08-19 16:20:26 +01:00
incentive.go Incentive migration state fixes: USDX Minting (#998) 2021-08-19 16:20:26 +01:00
migrate_cn.md translation (#991) 2021-08-16 07:26:07 -06:00
migrate_test.go Incentive migration state fixes: USDX Minting (#998) 2021-08-19 16:20:26 +01:00
migrate.go Incentive migration state fixes: USDX Minting (#998) 2021-08-19 16:20:26 +01:00
migrate.md translation (#991) 2021-08-16 07:26:07 -06:00
rewards.go Incentive migration state fixes: USDX Minting (#998) 2021-08-19 16:20:26 +01:00
rollback_cn.md translation (#991) 2021-08-16 07:26:07 -06:00
rollback.md translation (#991) 2021-08-16 07:26:07 -06:00
swp_airdrop.go SWP airdrop for USDX suppliers to hard (#996) 2021-08-17 11:59:07 -06:00