0g-chain/x/cdp/keeper
Ruaridh 4a8b5696cb
v0.8 Migration Scripts (#518)
* initial sketch

* add module migrations

* add migrations for all accout types

* test account migration

* add tendermint migration and migrate cmd

* remove need for errors pkg dependency

* add bech32 decoding fork

* add suggested params and cmd to write them

* add basic upgrade instructions

* fix tests

* address some migration todos

* tidy contrib folder

* finalize params values

* align cdp init genesis with other modules

* add tendermint and distribution test
add custom distribution migration to patch bug

* add staking migration test

* add slashing, evidence tests, refactor auth tests

* add full migration test

* remove go-amino dependency from go.mod
also tidy up unused indirect dependencies

* address remaining TODOs

* remove commented out code from legacy types

* add spot/liquidation markets ids to kava-3 params

* Apply suggestions from code review

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* address code review suggestions

* add validate genesis to migrate test

* refactor add params func

* remove commented out code from old types

* fix add params

* add deputy address

* add tests using exported kava-2 state

* incorporate new cdp params from master

* update params from review

Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>

* add deputy account

* add committee permissions for new params

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
2020-06-03 15:35:00 -04:00
..
auctions_test.go Add surplus and debt auction lot params (#531) 2020-05-31 09:59:40 -04:00
auctions.go Add surplus and debt auction lot params (#531) 2020-05-31 09:59:40 -04:00
cdp_test.go [R4R] Add liquidation pricefeed (#524) 2020-05-24 09:42:46 -04:00
cdp.go [R4R] Add liquidation pricefeed (#524) 2020-05-24 09:42:46 -04:00
deposit_test.go update format 2020-04-30 10:23:41 -04:00
deposit.go [R4R] Add liquidation pricefeed (#524) 2020-05-24 09:42:46 -04:00
draw_test.go update format 2020-04-30 10:23:41 -04:00
draw.go CDP revisions (#508) 2020-05-13 10:19:19 -04:00
fees_test.go update format 2020-04-30 10:23:41 -04:00
fees.go CDP revisions (#508) 2020-05-13 10:19:19 -04:00
integration_test.go Add surplus and debt auction lot params (#531) 2020-05-31 09:59:40 -04:00
keeper_bench_test.go update format 2020-04-30 10:23:41 -04:00
keeper.go [R4R] Blacklist module accounts (#517) 2020-05-21 00:50:12 -04:00
params.go [R4R] Add liquidation pricefeed (#524) 2020-05-24 09:42:46 -04:00
querier_test.go [R4R] Add liquidation pricefeed (#524) 2020-05-24 09:42:46 -04:00
querier.go [R4R] Add liquidation pricefeed (#524) 2020-05-24 09:42:46 -04:00
savings_test.go v0.8 Migration Scripts (#518) 2020-06-03 15:35:00 -04:00
savings.go [R4R] Blacklist module accounts (#517) 2020-05-21 00:50:12 -04:00
seize_test.go fix: simplify collateral auction logic 2020-05-11 18:35:16 -04:00
seize.go Merge branch 'master' into ro-auction-audit-revisions 2020-05-12 01:09:32 +01:00