mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +00:00
495898170c
* draft auth migration from kava-3 to kava-4 * add harvest module accounts to auth state * check account state equality * add supply reconciliation to auth migration * add gov migration * add exact json test (#674) Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> * fix: check err variable * correct import path * feat: add hard accounts Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com>
683 lines
16 KiB
JSON
683 lines
16 KiB
JSON
{
|
|
"params": {
|
|
"max_memo_characters": "512",
|
|
"sig_verify_cost_ed25519": "590",
|
|
"sig_verify_cost_secp256k1": "1000",
|
|
"tx_sig_limit": "7",
|
|
"tx_size_cost_per_byte": "10"
|
|
},
|
|
"accounts": [
|
|
{
|
|
"type": "cosmos-sdk/Account",
|
|
"value": {
|
|
"account_number": "10145",
|
|
"address": "kava1llungtpe0aku8c2gqpm23jvs4r0caqdwjzq078",
|
|
"coins": [
|
|
{
|
|
"amount": "92810900",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"public_key": null,
|
|
"sequence": "0"
|
|
}
|
|
},
|
|
{
|
|
"type": "cosmos-sdk/Account",
|
|
"value": {
|
|
"account_number": "96",
|
|
"address": "kava1ceun2qqw65qce5la33j8zv8ltyyaqqfcxftutz",
|
|
"coins": [
|
|
{
|
|
"amount": "1095029582",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"public_key": {
|
|
"type": "tendermint/PubKeyMultisigThreshold",
|
|
"value": {
|
|
"pubkeys": [
|
|
{
|
|
"type": "tendermint/PubKeySecp256k1",
|
|
"value": "AxUMR/GKoycWplR+2otzaQZ9zhHRQWJFt3h1bPg1ltha"
|
|
},
|
|
{
|
|
"type": "tendermint/PubKeySecp256k1",
|
|
"value": "Az/Xn9XKadn79UpA8TRVrHKbi64QGTxjVSKR9tzMy15o"
|
|
},
|
|
{
|
|
"type": "tendermint/PubKeySecp256k1",
|
|
"value": "As7R9fDUnwsUVLDr1cxspp+cY9UfXfUf7i9/w+N0EzKA"
|
|
},
|
|
{
|
|
"type": "tendermint/PubKeySecp256k1",
|
|
"value": "A708lKSSivhkgH3n1UGy/AlfWyiehRVAp9G+Nlsy+rDj"
|
|
},
|
|
{
|
|
"type": "tendermint/PubKeySecp256k1",
|
|
"value": "ArixmwMR2HoBdIzWiUT6HZFMScZv8odQ0KkIMcoqXHwq"
|
|
}
|
|
],
|
|
"threshold": "2"
|
|
}
|
|
},
|
|
"sequence": "8"
|
|
}
|
|
},
|
|
{
|
|
"type": "cosmos-sdk/ValidatorVestingAccount",
|
|
"value": {
|
|
"account_number": "4",
|
|
"address": "kava1qzvq736hxfwdqgxwek3229z7ec4rfmc6s4kdc2",
|
|
"coins": [
|
|
{
|
|
"amount": "1829450",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"current_period_progress": {
|
|
"missed_blocks": "1540",
|
|
"total_blocks": "3468891"
|
|
},
|
|
"debt_after_failed_vesting": [],
|
|
"delegated_free": [
|
|
{
|
|
"amount": "9990000",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"delegated_vesting": [
|
|
{
|
|
"amount": "333317710000",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"end_time": "1636120800",
|
|
"original_vesting": [
|
|
{
|
|
"amount": "333317710000",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"public_key": {
|
|
"type": "tendermint/PubKeySecp256k1",
|
|
"value": "A9hxcErxj1laSwp7Ipj1eiCDtyqKG18xYFPjknoc0keG"
|
|
},
|
|
"return_address": "kava1qvsus5qg8yhre7k2c78xkkw4nvqqgev7ezrja8",
|
|
"sequence": "24",
|
|
"signing_threshold": "90",
|
|
"start_time": "1572962400",
|
|
"validator_address": "kavavalcons16mkm6ggf280kjtsxnvzur7tnqttgavj4mzr4zf",
|
|
"vesting_period_progress": [
|
|
{
|
|
"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
|
|
}
|
|
],
|
|
"vesting_periods": [
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "92588250185",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "31622400"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "60182345788",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "7948800"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "60182345788",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "7689600"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "60182345788",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "7948800"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "60182422451",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "7948800"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "cosmos-sdk/PeriodicVestingAccount",
|
|
"value": {
|
|
"account_number": "159",
|
|
"address": "kava1qvsus5qg8yhre7k2c78xkkw4nvqqgev7ezrja8",
|
|
"coins": [
|
|
{
|
|
"amount": "899999001",
|
|
"denom": "bnb"
|
|
},
|
|
{
|
|
"amount": "2200212895",
|
|
"denom": "ukava"
|
|
},
|
|
{
|
|
"amount": "1004240",
|
|
"denom": "usdx"
|
|
}
|
|
],
|
|
"delegated_free": [],
|
|
"delegated_vesting": [
|
|
{
|
|
"amount": "4147313000000",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"end_time": "1636120800",
|
|
"original_vesting": [
|
|
{
|
|
"amount": "5177909376500",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"public_key": {
|
|
"type": "tendermint/PubKeySecp256k1",
|
|
"value": "A5HnBfmGgoeySJ1vZZ7tT1RMhSBuw6V2XfazETdfupQd"
|
|
},
|
|
"sequence": "184",
|
|
"start_time": "1572962400",
|
|
"vesting_periods": [
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "247437068100",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "7948800"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "484707541700",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "7776000"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "19235194400",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "2678400"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "19235194400",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "2592000"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "606688729200",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "2678400"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "19235194400",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "2678400"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "19235194400",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "2592000"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "760072166700",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "2678400"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "19235194400",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "2592000"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "19235194400",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "2678400"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "910727972900",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "2678400"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "20971305600",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "2419200"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "20971305600",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "2678400"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "912464084000",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "2592000"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "20971305600",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "2678400"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "20971305600",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "2592000"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "818755417400",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "2678400"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "21492138900",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "2678400"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "21492138900",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "2592000"
|
|
},
|
|
{
|
|
"amount": [
|
|
{
|
|
"amount": "194775729900",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"length": "2678400"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "cosmos-sdk/Account",
|
|
"value": {
|
|
"account_number": "3",
|
|
"address": "kava1r4v2zdhdalfj2ydazallqvrus9fkphmglhn6u6",
|
|
"coins": [
|
|
{
|
|
"amount": "9900",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"public_key": null,
|
|
"sequence": "1234"
|
|
}
|
|
},
|
|
{
|
|
"type": "cosmos-sdk/ModuleAccount",
|
|
"value": {
|
|
"account_number": "0",
|
|
"address": "kava1nzenvfcapyjr9qe3cr3c5k2aucssg6wnknlvll",
|
|
"coins": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "80000000000000"
|
|
}
|
|
],
|
|
"name": "harvest_lp_distribution",
|
|
"permissions": [
|
|
"minter",
|
|
"burner"
|
|
],
|
|
"public_key": "",
|
|
"sequence": "0"
|
|
}
|
|
},
|
|
{
|
|
"type": "cosmos-sdk/ModuleAccount",
|
|
"value": {
|
|
"account_number": "0",
|
|
"address": "kava1e3qvdzau5ww0m43d00gqj0ncgy8j03ndge6c2c",
|
|
"coins": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "40000000000000"
|
|
}
|
|
],
|
|
"name": "harvest_delegator_distribution",
|
|
"permissions": [
|
|
"minter",
|
|
"burner"
|
|
],
|
|
"public_key": "",
|
|
"sequence": "0"
|
|
}
|
|
},
|
|
{
|
|
"type": "cosmos-sdk/PeriodicVestingAccount",
|
|
"value": {
|
|
"address": "kava17a9m9zxs3r5zhxnultt5k5kyer0afd7kc8dq80",
|
|
"coins": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "20000000000000"
|
|
}
|
|
],
|
|
"public_key": null,
|
|
"account_number": "0",
|
|
"sequence": "0",
|
|
"original_vesting": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "20000000000000"
|
|
}
|
|
],
|
|
"delegated_free": [],
|
|
"delegated_vesting": [],
|
|
"end_time": "1697378400",
|
|
"start_time": "1602770400",
|
|
"vesting_periods": [
|
|
{
|
|
"length": "31536000",
|
|
"amount": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "6666666720000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"length": "7948800",
|
|
"amount": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "1666666660000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"length": "7776000",
|
|
"amount": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "1666666660000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"length": "7862400",
|
|
"amount": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "1666666660000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"length": "7948800",
|
|
"amount": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "1666666660000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"length": "7948800",
|
|
"amount": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "1666666660000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"length": "7776000",
|
|
"amount": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "1666666660000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"length": "7862400",
|
|
"amount": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "1666666660000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"length": "7948800",
|
|
"amount": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "1666666660000"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "cosmos-sdk/PeriodicVestingAccount",
|
|
"value": {
|
|
"address": "kava1yqt02z2e4gpt4w0jnw9n0hnqyfu45afns669r2",
|
|
"coins": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "50000000000000"
|
|
}
|
|
],
|
|
"public_key": null,
|
|
"account_number": "0",
|
|
"sequence": "0",
|
|
"original_vesting": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "35000000000000"
|
|
}
|
|
],
|
|
"delegated_free": [],
|
|
"delegated_vesting": [],
|
|
"end_time": "1665842400",
|
|
"start_time": "1602770400",
|
|
"vesting_periods": [
|
|
{
|
|
"length": "7948800",
|
|
"amount": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "4375000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"length": "7776000",
|
|
"amount": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "4375000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"length": "7862400",
|
|
"amount": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "4375000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"length": "7948800",
|
|
"amount": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "4375000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"length": "7948800",
|
|
"amount": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "4375000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"length": "7776000",
|
|
"amount": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "4375000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"length": "7862400",
|
|
"amount": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "4375000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"length": "7948800",
|
|
"amount": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "4375000000000"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "cosmos-sdk/Account",
|
|
"value": {
|
|
"address": "kava16yapwtdxm5hkjfpeatr39vhu5c336fgf4utlyf",
|
|
"coins": [
|
|
{
|
|
"denom": "hard",
|
|
"amount": "10000000000000"
|
|
}
|
|
],
|
|
"public_key": null,
|
|
"account_number": "0",
|
|
"sequence": "0"
|
|
}
|
|
}
|
|
]
|
|
} |