0g-chain/migrate/v0_8/testdata/auth-valvesting-old.json

153 lines
5.8 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
{
"params": {
"max_memo_characters": "256",
"sig_verify_cost_ed25519": "590",
"sig_verify_cost_secp256k1": "1000",
"tx_sig_limit": "7",
"tx_size_cost_per_byte": "10"
},
"accounts": [
{
"type": "cosmos-sdk/ValidatorVestingAccount",
"value": {
"PeriodicVestingAccount": {
"BaseVestingAccount": {
"BaseAccount": {
"account_number": "104",
"address": "kava1pjm84k90qnmcexv6704cxe243j52vww572j78u",
"coins": [
{
"amount": "410694803",
"denom": "ukava"
}
],
"public_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "A1dLIMH2gbFq6WhsnOc0aXicwjXva/8QZLQxeLcUxGTk"
},
"sequence": "10"
},
"delegated_free": [],
"delegated_vesting": [
{
"amount": "699980000000",
"denom": "ukava"
}
],
"end_time": "1636120800",
"original_vesting": [
{
"amount": "699990000000",
"denom": "ukava"
}
]
},
"start_time": "1572962400",
"vesting_periods": [
{
"amount": [
{
"amount": "349995000000",
"denom": "ukava"
}
],
"length": "15724800"
},
{
"amount": [
{
"amount": "58332500000",
"denom": "ukava"
}
],
"length": "7948800"
},
{
"amount": [
{
"amount": "58332500000",
"denom": "ukava"
}
],
"length": "7948800"
},
{
"amount": [
{
"amount": "58332500000",
"denom": "ukava"
}
],
"length": "7948800"
},
{
"amount": [
{
"amount": "58332500000",
"denom": "ukava"
}
],
"length": "7689600"
},
{
"amount": [
{
"amount": "58332500000",
"denom": "ukava"
}
],
"length": "7948800"
},
{
"amount": [
{
"amount": "58332500000",
"denom": "ukava"
}
],
"length": "7948800"
}
]
},
"current_period_progress": {
"missed_blocks": "9",
"total_blocks": "190565"
},
"debt_after_failed_vesting": [],
"return_address": "kava1qvsus5qg8yhre7k2c78xkkw4nvqqgev7ezrja8",
"signing_threshold": "90",
"validator_address": "kavavalcons1rcgcrswwvunnfrx73ksc5ks8t9jtcnpaehf726",
"vesting_period_progress": [
{
"period_complete": true,
"vesting_successful": true
},
{
"period_complete": false,
"vesting_successful": false
},
{
"period_complete": false,
"vesting_successful": false
},
{
"period_complete": false,
"vesting_successful": false
},
{
"period_complete": false,
"vesting_successful": false
},
{
"period_complete": false,
"vesting_successful": false
},
{
"period_complete": false,
"vesting_successful": false
}
]
}
}
]
}