mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +00:00
Add genesis example (#462)
* remove duplicate genesis * add testnet-5k genesis copy * update for v0.38 * update formatting
This commit is contained in:
parent
a573625df8
commit
cd6cb852ad
@ -1,21 +1,35 @@
|
|||||||
{
|
{
|
||||||
"genesis_time": "2020-03-27T21:00:00Z",
|
"genesis_time": "2020-04-23T16:32:31.393515Z",
|
||||||
"chain_id": "testing",
|
"chain_id": "testing",
|
||||||
"consensus_params": {
|
"consensus_params": {
|
||||||
"block": {
|
"block": {
|
||||||
"max_bytes": "200000",
|
"max_bytes": "22020096",
|
||||||
"max_gas": "2000000",
|
"max_gas": "-1",
|
||||||
"time_iota_ms": "1000"
|
"time_iota_ms": "1000"
|
||||||
},
|
},
|
||||||
"evidence": {
|
"evidence": {
|
||||||
"max_age": "1000000"
|
"max_age_num_blocks": "100000",
|
||||||
|
"max_age_duration": "172800000000000"
|
||||||
},
|
},
|
||||||
"validator": {
|
"validator": {
|
||||||
"pub_key_types": ["ed25519"]
|
"pub_key_types": [
|
||||||
|
"ed25519"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"app_hash": "",
|
"app_hash": "",
|
||||||
"app_state": {
|
"app_state": {
|
||||||
|
"auction": {
|
||||||
|
"auctions": [],
|
||||||
|
"next_auction_id": "1",
|
||||||
|
"params": {
|
||||||
|
"bid_duration": "600000000000",
|
||||||
|
"increment_collateral": "0.010000000000000000",
|
||||||
|
"increment_debt": "0.010000000000000000",
|
||||||
|
"increment_surplus": "0.010000000000000000",
|
||||||
|
"max_auction_duration": "172800000000000"
|
||||||
|
}
|
||||||
|
},
|
||||||
"auth": {
|
"auth": {
|
||||||
"accounts": [],
|
"accounts": [],
|
||||||
"params": {
|
"params": {
|
||||||
@ -26,63 +40,24 @@
|
|||||||
"tx_size_cost_per_byte": "10"
|
"tx_size_cost_per_byte": "10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"kavadist": {
|
|
||||||
"params": {
|
|
||||||
"active": true,
|
|
||||||
"periods": [
|
|
||||||
{
|
|
||||||
"start": "2020-03-28T15:20:00Z",
|
|
||||||
"end": "2021-03-28T15:20:00Z",
|
|
||||||
"inflation": "1.000000003022265980"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"previous_block_time": "1970-01-01T00:00:00Z"
|
|
||||||
},
|
|
||||||
"slashing": {
|
|
||||||
"missed_blocks": {},
|
|
||||||
"params": {
|
|
||||||
"downtime_jail_duration": "600000000000",
|
|
||||||
"max_evidence_age": "3600000000000",
|
|
||||||
"min_signed_per_window": "0.010000000000000000",
|
|
||||||
"signed_blocks_window": "1000",
|
|
||||||
"slash_fraction_double_sign": "0.050000000000000000",
|
|
||||||
"slash_fraction_downtime": "0.000100000000000000"
|
|
||||||
},
|
|
||||||
"signing_infos": {}
|
|
||||||
},
|
|
||||||
"bank": {
|
"bank": {
|
||||||
"send_enabled": true
|
"send_enabled": true
|
||||||
},
|
},
|
||||||
"distribution": {
|
"bep3": {
|
||||||
"base_proposer_reward": "0.010000000000000000",
|
"assets_supplies": [],
|
||||||
"bonus_proposer_reward": "0.040000000000000000",
|
"atomic_swaps": [],
|
||||||
"community_tax": "0.000000000000000000",
|
|
||||||
"delegator_starting_infos": [],
|
|
||||||
"delegator_withdraw_infos": [],
|
|
||||||
"fee_pool": {
|
|
||||||
"community_pool": []
|
|
||||||
},
|
|
||||||
"outstanding_rewards": [],
|
|
||||||
"previous_proposer": "",
|
|
||||||
"validator_accumulated_commissions": [],
|
|
||||||
"validator_current_rewards": [],
|
|
||||||
"validator_historical_rewards": [],
|
|
||||||
"validator_slash_events": [],
|
|
||||||
"withdraw_addr_enabled": true
|
|
||||||
},
|
|
||||||
"mint": {
|
|
||||||
"minter": {
|
|
||||||
"annual_provisions": "0.000000000000000000",
|
|
||||||
"inflation": "0.020000000000000000"
|
|
||||||
},
|
|
||||||
"params": {
|
"params": {
|
||||||
"blocks_per_year": "6311520",
|
"bnb_deputy_address": "kava1xy7hrjy9r0algz9w3gzm8u6mrpq97kwta747gj",
|
||||||
"goal_bonded": "0.670000000000000000",
|
"max_block_lock": "600",
|
||||||
"inflation_max": "0.130000000000000000",
|
"min_block_lock": "80",
|
||||||
"inflation_min": "0.010000000000000000",
|
"supported_assets": [
|
||||||
"inflation_rate_change": "0.130000000000000000",
|
{
|
||||||
"mint_denom": "ukava"
|
"active": true,
|
||||||
|
"coin_id": "714",
|
||||||
|
"denom": "bnb",
|
||||||
|
"limit": "100000000000"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"cdp": {
|
"cdp": {
|
||||||
@ -139,6 +114,40 @@
|
|||||||
"previous_distribution_time": "1970-01-01T00:00:00Z",
|
"previous_distribution_time": "1970-01-01T00:00:00Z",
|
||||||
"starting_cdp_id": "1"
|
"starting_cdp_id": "1"
|
||||||
},
|
},
|
||||||
|
"crisis": {
|
||||||
|
"constant_fee": {
|
||||||
|
"amount": "1333000000",
|
||||||
|
"denom": "ukava"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"distribution": {
|
||||||
|
"delegator_starting_infos": [],
|
||||||
|
"delegator_withdraw_infos": [],
|
||||||
|
"fee_pool": {
|
||||||
|
"community_pool": []
|
||||||
|
},
|
||||||
|
"outstanding_rewards": [],
|
||||||
|
"params": {
|
||||||
|
"base_proposer_reward": "0.010000000000000000",
|
||||||
|
"bonus_proposer_reward": "0.040000000000000000",
|
||||||
|
"community_tax": "0.000000000000000000",
|
||||||
|
"withdraw_addr_enabled": true
|
||||||
|
},
|
||||||
|
"previous_proposer": "",
|
||||||
|
"validator_accumulated_commissions": [],
|
||||||
|
"validator_current_rewards": [],
|
||||||
|
"validator_historical_rewards": [],
|
||||||
|
"validator_slash_events": []
|
||||||
|
},
|
||||||
|
"evidence": {
|
||||||
|
"evidence": [],
|
||||||
|
"params": {
|
||||||
|
"max_evidence_age": "120000000000"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"genutil": {
|
||||||
|
"gentxs": []
|
||||||
|
},
|
||||||
"gov": {
|
"gov": {
|
||||||
"deposit_params": {
|
"deposit_params": {
|
||||||
"max_deposit_period": "600000000000",
|
"max_deposit_period": "600000000000",
|
||||||
@ -159,9 +168,71 @@
|
|||||||
},
|
},
|
||||||
"votes": null,
|
"votes": null,
|
||||||
"voting_params": {
|
"voting_params": {
|
||||||
"voting_period": "3600000000000"
|
"voting_period": "600000000000"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"kavadist": {
|
||||||
|
"params": {
|
||||||
|
"active": true,
|
||||||
|
"periods": [
|
||||||
|
{
|
||||||
|
"end": "2021-03-28T15:20:00Z",
|
||||||
|
"inflation": "1.000000003022265980",
|
||||||
|
"start": "2020-03-28T15:20:00Z"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"previous_block_time": "1970-01-01T00:00:00Z"
|
||||||
|
},
|
||||||
|
"mint": {
|
||||||
|
"minter": {
|
||||||
|
"annual_provisions": "0.000000000000000000",
|
||||||
|
"inflation": "0.020000000000000000"
|
||||||
|
},
|
||||||
|
"params": {
|
||||||
|
"blocks_per_year": "6311520",
|
||||||
|
"goal_bonded": "0.670000000000000000",
|
||||||
|
"inflation_max": "0.130000000000000000",
|
||||||
|
"inflation_min": "0.010000000000000000",
|
||||||
|
"inflation_rate_change": "0.130000000000000000",
|
||||||
|
"mint_denom": "ukava"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"params": null,
|
||||||
|
"pricefeed": {
|
||||||
|
"params": {
|
||||||
|
"markets": [
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"base_asset": "bnb",
|
||||||
|
"market_id": "bnb:usd",
|
||||||
|
"oracles": [
|
||||||
|
"kava15qdefkmwswysgg4qxgqpqr35k3m49pkx2jdfnw"
|
||||||
|
],
|
||||||
|
"quote_asset": "usd"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"posted_prices": [
|
||||||
|
{
|
||||||
|
"expiry": "2021-04-20T00:00:00Z",
|
||||||
|
"market_id": "bnb:usd",
|
||||||
|
"oracle_address": "kava15qdefkmwswysgg4qxgqpqr35k3m49pkx2jdfnw",
|
||||||
|
"price": "12.2639061184"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"slashing": {
|
||||||
|
"missed_blocks": {},
|
||||||
|
"params": {
|
||||||
|
"downtime_jail_duration": "600000000000",
|
||||||
|
"min_signed_per_window": "0.010000000000000000",
|
||||||
|
"signed_blocks_window": "1000",
|
||||||
|
"slash_fraction_double_sign": "0.050000000000000000",
|
||||||
|
"slash_fraction_downtime": "0.000100000000000000"
|
||||||
|
},
|
||||||
|
"signing_infos": {}
|
||||||
|
},
|
||||||
"staking": {
|
"staking": {
|
||||||
"delegations": null,
|
"delegations": null,
|
||||||
"exported": false,
|
"exported": false,
|
||||||
@ -169,6 +240,7 @@
|
|||||||
"last_validator_powers": null,
|
"last_validator_powers": null,
|
||||||
"params": {
|
"params": {
|
||||||
"bond_denom": "ukava",
|
"bond_denom": "ukava",
|
||||||
|
"historical_entries": 0,
|
||||||
"max_entries": 7,
|
"max_entries": 7,
|
||||||
"max_validators": 100,
|
"max_validators": 100,
|
||||||
"unbonding_time": "3600000000000"
|
"unbonding_time": "3600000000000"
|
||||||
@ -180,65 +252,8 @@
|
|||||||
"supply": {
|
"supply": {
|
||||||
"supply": []
|
"supply": []
|
||||||
},
|
},
|
||||||
"crisis": {
|
|
||||||
"constant_fee": {
|
|
||||||
"amount": "1333000000",
|
|
||||||
"denom": "ukava"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"pricefeed": {
|
|
||||||
"params": {
|
|
||||||
"markets": [
|
|
||||||
{
|
|
||||||
"active": true,
|
|
||||||
"base_asset": "bnb",
|
|
||||||
"market_id": "bnb:usd",
|
|
||||||
"oracles": ["kava15qdefkmwswysgg4qxgqpqr35k3m49pkx2jdfnw"],
|
|
||||||
"quote_asset": "usd"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"posted_prices": [
|
|
||||||
{
|
|
||||||
"expiry": "2020-04-20T00:00:00Z",
|
|
||||||
"market_id": "bnb:usd",
|
|
||||||
"oracle_address": "kava15qdefkmwswysgg4qxgqpqr35k3m49pkx2jdfnw",
|
|
||||||
"price": "12.2639061184"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"auction": {
|
|
||||||
"auctions": [],
|
|
||||||
"next_auction_id": "0",
|
|
||||||
"params": {
|
|
||||||
"bid_duration": "600000000000",
|
|
||||||
"max_auction_duration": "172800000000000",
|
|
||||||
"increment_surplus": "0.01",
|
|
||||||
"increment_debt": "0.01",
|
|
||||||
"increment_collateral": "0.01"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"bep3": {
|
|
||||||
"params": {
|
|
||||||
"bnb_deputy_address": "kava15wmww3chakqllq4n3ksm37lx36qz067gxe6f0k",
|
|
||||||
"min_block_lock": "80",
|
|
||||||
"max_block_lock": "600",
|
|
||||||
"supported_assets": [
|
|
||||||
{
|
|
||||||
"denom": "bnb",
|
|
||||||
"coin_id": "714",
|
|
||||||
"limit": "100000000000",
|
|
||||||
"active": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"genutil": {
|
|
||||||
"gentxs": []
|
|
||||||
},
|
|
||||||
"validatorvesting": {
|
"validatorvesting": {
|
||||||
"previous_block_time": "1970-01-01T00:00:00Z"
|
"previous_block_time": "1970-01-01T00:00:00Z"
|
||||||
},
|
}
|
||||||
"params": null
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user