Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion contracts/allocs/allocs.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ var (
// Once a persistent network has been deployed, its allocs should be locked,
// so that allocs here are consistent with the live network's genesis.
var locked = map[netconf.ID]bool{
netconf.Omega: true,
netconf.Omega: true,
netconf.Mainnet: true,
}

func IsLocked(network netconf.ID) bool {
Expand Down
274 changes: 274 additions & 0 deletions lib/netconf/mainnet/consensus-genesis.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,274 @@
{
"genesis_time": "2024-10-23T14:53:21.589450231Z",
"chain_id": "omni-1000166",
"initial_height": "1",
"consensus_params": {
"block": {
"max_bytes": "-1",
"max_gas": "-1"
},
"evidence": {
"max_age_num_blocks": "100000",
"max_age_duration": "172800000000000",
"max_bytes": "1048576"
},
"validator": {
"pub_key_types": [
"secp256k1"
]
},
"version": {
"app": "0"
},
"abci": {
"vote_extensions_enable_height": "1"
}
},
"app_hash": "",
"app_state": {
"auth": {
"params": {
"max_memo_characters": "256",
"tx_sig_limit": "7",
"tx_size_cost_per_byte": "10",
"sig_verify_cost_ed25519": "590",
"sig_verify_cost_secp256k1": "1000"
},
"accounts": [
{
"@type": "/cosmos.auth.v1beta1.BaseAccount",
"address": "omni1rxjvk6z6l9dfd0kk03mykmd3x7tc5kch9mq7hc",
"pub_key": null,
"account_number": "0",
"sequence": "0"
},
{
"@type": "/cosmos.auth.v1beta1.BaseAccount",
"address": "omni1trf2fcugqc6mw6p2rwm7mzjr7kkxelfaqtu9le",
"pub_key": null,
"account_number": "1",
"sequence": "0"
}
]
},
"bank": {
"params": {
"send_enabled": [],
"default_send_enabled": true
},
"balances": [
{
"address": "omni1rxjvk6z6l9dfd0kk03mykmd3x7tc5kch9mq7hc",
"coins": [
{
"denom": "stake",
"amount": "100000000000000000000"
}
]
},
{
"address": "omni1trf2fcugqc6mw6p2rwm7mzjr7kkxelfaqtu9le",
"coins": [
{
"denom": "stake",
"amount": "100000000000000000000"
}
]
}
],
"supply": [
{
"denom": "stake",
"amount": "200000000000000000000"
}
],
"denom_metadata": [],
"send_enabled": []
},
"distribution": {
"params": {
"community_tax": "0.020000000000000000",
"base_proposer_reward": "0.000000000000000000",
"bonus_proposer_reward": "0.000000000000000000",
"withdraw_addr_enabled": true
},
"fee_pool": {
"community_pool": []
},
"delegator_withdraw_infos": [],
"previous_proposer": "",
"outstanding_rewards": [],
"validator_accumulated_commissions": [],
"validator_historical_rewards": [],
"validator_current_rewards": [],
"delegator_starting_infos": [],
"validator_slash_events": []
},
"evidence": {
"evidence": []
},
"evmengine": {
"execution_block_hash": "1qQT3tHg4FZucueaj7La8QzyVpI6GuYW5rDvObTxjAc="
},
"genutil": {
"gen_txs": [
{
"body": {
"messages": [
{
"@type": "/cosmos.staking.v1beta1.MsgCreateValidator",
"description": {
"moniker": "0x19a4Cb685af95A96BEd67C764b6dB137978a5B17",
"identity": "",
"website": "",
"security_contact": "",
"details": ""
},
"commission": {
"rate": "0.000000000000000000",
"max_rate": "0.000000000000000000",
"max_change_rate": "0.000000000000000000"
},
"min_self_delegation": "1000000000000000000",
"delegator_address": "",
"validator_address": "omnivaloper1rxjvk6z6l9dfd0kk03mykmd3x7tc5kchrcteq2",
"pubkey": {
"@type": "/cosmos.crypto.secp256k1.PubKey",
"key": "A3X8Mi4qYylYcMfbdJoX5FvEvx0Tv4Y9i7lOcXye6wJt"
},
"value": {
"denom": "stake",
"amount": "100000000000000000000"
}
}
],
"memo": "",
"timeout_height": "0",
"extension_options": [],
"non_critical_extension_options": []
},
"auth_info": {
"signer_infos": [],
"fee": {
"amount": [],
"gas_limit": "0",
"payer": "",
"granter": ""
},
"tip": null
},
"signatures": []
},
{
"body": {
"messages": [
{
"@type": "/cosmos.staking.v1beta1.MsgCreateValidator",
"description": {
"moniker": "0x58D2A4e3880635B7682A1BB7Ed8a43F5ac6cFD3d",
"identity": "",
"website": "",
"security_contact": "",
"details": ""
},
"commission": {
"rate": "0.000000000000000000",
"max_rate": "0.000000000000000000",
"max_change_rate": "0.000000000000000000"
},
"min_self_delegation": "1000000000000000000",
"delegator_address": "",
"validator_address": "omnivaloper1trf2fcugqc6mw6p2rwm7mzjr7kkxelfaxghzgt",
"pubkey": {
"@type": "/cosmos.crypto.secp256k1.PubKey",
"key": "A04BqsW6+PyZMj4BhMmZdbuadynUFsfwbB6uM6KZw+WK"
},
"value": {
"denom": "stake",
"amount": "100000000000000000000"
}
}
],
"memo": "",
"timeout_height": "0",
"extension_options": [],
"non_critical_extension_options": []
},
"auth_info": {
"signer_infos": [],
"fee": {
"amount": [],
"gas_limit": "0",
"payer": "",
"granter": ""
},
"tip": null
},
"signatures": []
},
{
"body": {
"messages": [
{
"@type": "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade",
"authority": "omni1h0hvs2xgpfxg304npntxzpuddttp5n8lcmpz6u",
"plan": {
"name": "1_uluwatu",
"time": "0001-01-01T00:00:00Z",
"height": "1",
"info": "genesis upgrade",
"upgraded_client_state": null
}
}
],
"memo": "",
"timeout_height": "0",
"extension_options": [],
"non_critical_extension_options": []
},
"auth_info": {
"signer_infos": [],
"fee": {
"amount": [],
"gas_limit": "0",
"payer": "",
"granter": ""
},
"tip": null
},
"signatures": []
}
]
},
"slashing": {
"params": {
"signed_blocks_window": "1000",
"min_signed_per_window": "0.500000000000000000",
"downtime_jail_duration": "600s",
"slash_fraction_double_sign": "0.050000000000000000",
"slash_fraction_downtime": "0.010000000000000000"
},
"signing_infos": [],
"missed_blocks": []
},
"staking": {
"params": {
"unbonding_time": "1814400s",
"max_validators": 30,
"max_entries": 7,
"historical_entries": 10000,
"bond_denom": "stake",
"min_commission_rate": "0.000000000000000000"
},
"last_total_power": "0",
"last_validator_powers": [],
"validators": [],
"delegations": [],
"unbonding_delegations": [],
"redelegations": [],
"exported": false
},
"upgrade": {},
"valsync": {}
}
}
Loading
Loading