0g-chain/migrate/v0_8/testdata/slashing-new.json

69 lines
1.9 KiB
JSON
Raw Normal View History

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 19:35:00 +00:00
{
"missed_blocks": {
"kavavalcons1029jhm4lz26q78ftrmazf8hw7lmrt08l2vq3cs": [
{
"index": "66",
"missed": false
},
{
"index": "67",
"missed": false
},
{
"index": "68",
"missed": false
},
{
"index": "76",
"missed": false
},
{
"index": "1241",
"missed": false
}
],
"kavavalcons1030yrl85a6vskx5xn0fyt4446grfk9zy4uxssy": [
{
"index": "0",
"missed": false
},
{
"index": "1",
"missed": false
},
{
"index": "2",
"missed": false
},
{
"index": "4",
"missed": false
}
]
},
"params": {
"downtime_jail_duration": "600000000000",
"min_signed_per_window": "0.050000000000000000",
"signed_blocks_window": "10000",
"slash_fraction_double_sign": "0.050000000000000000",
"slash_fraction_downtime": "0.000100000000000000"
},
"signing_infos": {
"kavavalcons1029jhm4lz26q78ftrmazf8hw7lmrt08l2vq3cs": {
"address": "kavavalcons1029jhm4lz26q78ftrmazf8hw7lmrt08l2vq3cs",
"index_offset": "2345571",
"jailed_until": "1970-01-01T00:00:00Z",
"missed_blocks_counter": "0",
"start_height": "5",
"tombstoned": false
},
"kavavalcons1030yrl85a6vskx5xn0fyt4446grfk9zy4uxssy": {
"address": "kavavalcons1030yrl85a6vskx5xn0fyt4446grfk9zy4uxssy",
"index_offset": "1222230",
"jailed_until": "2020-02-12T19:09:03.214161979Z",
"missed_blocks_counter": "147",
"start_height": "5",
"tombstoned": false
}
}
}