Compare commits

..

1 Commits

Author SHA1 Message Date
zerone
e9a146d16e update genesis.json 2024-12-20 21:09:31 +08:00
5 changed files with 31 additions and 26 deletions

View File

@ -1,7 +1,7 @@
{
"app_name": "cantod",
"app_version": "8.0.0",
"genesis_time": "2024-12-10T03:39:58.547335622Z",
"app_version": "",
"genesis_time": "2024-12-20T13:06:15.696653766Z",
"chain_id": "canto_1264-1",
"initial_height": 1,
"app_hash": null,
@ -19,7 +19,7 @@
{
"@type": "/ethermint.types.v1.EthAccount",
"base_account": {
"address": "canto1lhkgg4xc33p38j3xnsrk6mj37w82f6gsm3g8xk",
"address": "canto1jmq96rd0dkwupktcaw9e05h8dgzw3erppe56g6",
"pub_key": null,
"account_number": "0",
"sequence": "0"
@ -29,7 +29,7 @@
{
"@type": "/ethermint.types.v1.EthAccount",
"base_account": {
"address": "canto1cqmjzgt5l23wch5ja0us8ggjmsgqzzgc5yfwrv",
"address": "canto1nmuchded52ad7atkp3q880ft32gjaqn8pa7arl",
"pub_key": null,
"account_number": "1",
"sequence": "0"
@ -39,7 +39,7 @@
{
"@type": "/ethermint.types.v1.EthAccount",
"base_account": {
"address": "canto1s44ewtpyhvyath38fnpkjkkcfr6phdn5mrqpey",
"address": "canto1yfped8uv4rgqc6vv50q3raqstuym59sa2gh4np",
"pub_key": null,
"account_number": "2",
"sequence": "0"
@ -58,7 +58,7 @@
},
"balances": [
{
"address": "canto1s44ewtpyhvyath38fnpkjkkcfr6phdn5mrqpey",
"address": "canto1yfped8uv4rgqc6vv50q3raqstuym59sa2gh4np",
"coins": [
{
"denom": "acanto",
@ -67,22 +67,22 @@
]
},
{
"address": "canto1cqmjzgt5l23wch5ja0us8ggjmsgqzzgc5yfwrv",
"coins": [
{
"denom": "acanto",
"amount": "1000000000000000000000000000"
}
]
},
{
"address": "canto1lhkgg4xc33p38j3xnsrk6mj37w82f6gsm3g8xk",
"address": "canto1jmq96rd0dkwupktcaw9e05h8dgzw3erppe56g6",
"coins": [
{
"denom": "acanto",
"amount": "1050000000000000000000000000"
}
]
},
{
"address": "canto1nmuchded52ad7atkp3q880ft32gjaqn8pa7arl",
"coins": [
{
"denom": "acanto",
"amount": "1000000000000000000000000000"
}
]
}
],
"supply": [
@ -261,10 +261,10 @@
},
"min_self_delegation": "1",
"delegator_address": "",
"validator_address": "cantovaloper1lhkgg4xc33p38j3xnsrk6mj37w82f6gse00rhn",
"validator_address": "cantovaloper1jmq96rd0dkwupktcaw9e05h8dgzw3erpr8n7el",
"pubkey": {
"@type": "/cosmos.crypto.ed25519.PubKey",
"key": "3bLRjHhLqTuisLViRIinZUGJQ4i2xmT78LidxYQtqf8="
"key": "whyepMwwoCQ56QhX+WZYHquSuf6a1n1CXtUE8BlAtXE="
},
"value": {
"denom": "acanto",
@ -272,7 +272,7 @@
}
}
],
"memo": "5a6a41e283a11adaf46061cbe86d56ce724ff9b3@172.21.216.18:26656",
"memo": "7642501fa1cf300310ea11f9ff405110bddfc0ae@172.21.216.18:26656",
"timeout_height": "0",
"extension_options": [],
"non_critical_extension_options": []
@ -282,7 +282,7 @@
{
"public_key": {
"@type": "/ethermint.crypto.v1.ethsecp256k1.PubKey",
"key": "AhMLkAGe7B6p428Dw0efGkMPdFNNWQJXRq5hOW3QWB9T"
"key": "A7a/dxIJvd+xk0o9+tUL3r037VrIiWsWLAYQh//TQ5og"
},
"mode_info": {
"single": {
@ -301,7 +301,7 @@
"tip": null
},
"signatures": [
"PDsPoc0Wbncr25yt6ZMCrf0llwVxnT6Ogk9BCSGdJm5kazUC6mn9wXGjeUjSXVfmKtU2KYV4NPvqSgdlMmqAEQE="
"twKyDcqy0wZo8ZZNIZoW+7jdpGsUtxRc94voNqOE4NZ8uASdhpjeJgyBlTpj5+pQXK7f6u0aYp7/+gohRaemKQE="
]
}
]

View File

@ -1 +1 @@
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"plex-validator","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"","validator_address":"cantovaloper1lhkgg4xc33p38j3xnsrk6mj37w82f6gse00rhn","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"3bLRjHhLqTuisLViRIinZUGJQ4i2xmT78LidxYQtqf8="},"value":{"denom":"acanto","amount":"900000000000000000000000"}}],"memo":"5a6a41e283a11adaf46061cbe86d56ce724ff9b3@172.21.216.18:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/ethermint.crypto.v1.ethsecp256k1.PubKey","key":"AhMLkAGe7B6p428Dw0efGkMPdFNNWQJXRq5hOW3QWB9T"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""},"tip":null},"signatures":["PDsPoc0Wbncr25yt6ZMCrf0llwVxnT6Ogk9BCSGdJm5kazUC6mn9wXGjeUjSXVfmKtU2KYV4NPvqSgdlMmqAEQE="]}
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"plex-validator","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"","validator_address":"cantovaloper1u6tc4luqxccvt6zxsqguqju7eply6w5ckgphfq","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"cD0rland68P6z+V5BD/IRRyUVfztPzOqwe8Ty898vg0="},"value":{"denom":"acanto","amount":"900000000000000000000000"}}],"memo":"4fdbf338d26b9da43c721a5f20f33c7747cfff08@192.168.124.73:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/ethermint.crypto.v1.ethsecp256k1.PubKey","key":"Az6EcMZbtvb6vCVbj+TO2TpkGXgIg+eYNz7wLGFH6EwH"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""},"tip":null},"signatures":["SJOYop7rvjnUg6kNKqGZM2dqBQDxE3F60ad4JKe+vIdlkVxuFG/AEz74zXAmKybchh20iMigreHoi20egxO7VwE="]}

View File

@ -37,11 +37,11 @@ cantod init $MONIKER --chain-id $CHAINID
# cantod collect-gentxs 2>&1 | jq '.app_message.genutil.gen_txs[0].body.memo'
if [[ "$OSTYPE" == "darwin"* ]]; then
sed -i '' 's/minimum-gas-prices = "0acanto"/minimum-gas-prices = "0.0001acanto"/g' $HOME/.cantod/config/app.toml
sed -i '' 's/persistent_peers = ""/persistent_peers = "5a6a41e283a11adaf46061cbe86d56ce724ff9b3@8.155.8.83:26656,190db696424d6ccceef3bd213d164557779376a7@47.106.128.186:26656,d6c21724fd8833326bde66c8cd7be751c3c4040c@8.134.179.37:26656,a61fc00083845db2e82e162fef38e806866edbfc@47.108.143.125:26656,f681614a797eb7b9fb1fd4b96a8e51026694b0f6@121.43.177.123:26656"/g' $HOME/.cantod/config/config.toml
sed -i '' 's/persistent_peers = ""/persistent_peers = "a4eec64d88314553eee08206d8e2a986562ef310@193.200.130.186:36656,8173fbffbde95c798cfea9356ea976cf166915eb@193.200.130.186:36657"/g' $HOME/.cantod/config/config.toml
else
sed -i 's/minimum-gas-prices = "0acanto"/minimum-gas-prices = "0.0001acanto"/g' $HOME/.cantod/config/app.toml
sed -i 's/persistent_peers = ""/persistent_peers = "5a6a41e283a11adaf46061cbe86d56ce724ff9b3@8.155.8.83:26656,190db696424d6ccceef3bd213d164557779376a7@47.106.128.186:26656,d6c21724fd8833326bde66c8cd7be751c3c4040c@8.134.179.37:26656,a61fc00083845db2e82e162fef38e806866edbfc@47.108.143.125:26656,f681614a797eb7b9fb1fd4b96a8e51026694b0f6@121.43.177.123:26656"/g' $HOME/.cantod/config/config.toml
sed -i 's/persistent_peers = ""/persistent_peers = "a4eec64d88314553eee08206d8e2a986562ef310@193.200.130.186:36656,8173fbffbde95c798cfea9356ea976cf166915eb@193.200.130.186:36657"/g' $HOME/.cantod/config/config.toml
fi

View File

@ -72,6 +72,8 @@ if [[ $1 == "pending" ]]; then
sed -i '' 's/timeout_precommit_delta = "500ms"/timeout_precommit_delta = "5s"/g' $HOME/.cantod/config/config.toml
sed -i '' 's/timeout_commit = "5s"/timeout_commit = "150s"/g' $HOME/.cantod/config/config.toml
sed -i '' 's/timeout_broadcast_tx_commit = "10s"/timeout_broadcast_tx_commit = "150s"/g' $HOME/.cantod/config/config.toml
sed -i '' 's/address = "localhost:9090"/address = "localhost:9091"/g' $HOME/.cantod/config/app.toml
else
sed -i 's/create_empty_blocks_interval = "0s"/create_empty_blocks_interval = "30s"/g' $HOME/.cantod/config/config.toml
sed -i 's/timeout_propose = "3s"/timeout_propose = "30s"/g' $HOME/.cantod/config/config.toml
@ -82,6 +84,7 @@ if [[ $1 == "pending" ]]; then
sed -i 's/timeout_precommit_delta = "500ms"/timeout_precommit_delta = "5s"/g' $HOME/.cantod/config/config.toml
sed -i 's/timeout_commit = "5s"/timeout_commit = "150s"/g' $HOME/.cantod/config/config.toml
sed -i 's/timeout_broadcast_tx_commit = "10s"/timeout_broadcast_tx_commit = "150s"/g' $HOME/.cantod/config/config.toml
sed -i 's/address = "localhost:9090"/address = "localhost:9091"/g' $HOME/.cantod/config/app.toml
fi
fi

View File

@ -36,15 +36,17 @@ cantod init $MONIKER --chain-id $CHAINID
# cantod collect-gentxs 2>&1 | jq '.app_message.genutil.gen_txs[0].body.memo'
if [[ "$OSTYPE" == "darwin"* ]]; then
sed -i '' 's/minimum-gas-prices = "0acanto"/minimum-gas-prices = "0.0001acanto"/g' $HOME/.cantod/config/app.toml
sed -i '' 's/persistent_peers = ""/persistent_peers = "a4eec64d88314553eee08206d8e2a986562ef310@192.168.110.186:26656"/g' $HOME/.cantod/config/config.toml
sed -i '' 's/persistent_peers = ""/persistent_peers = "7642501fa1cf300310ea11f9ff405110bddfc0ae@8.155.8.83:26656"/g' $HOME/.cantod/config/config.toml
else
sed -i 's/minimum-gas-prices = "0acanto"/minimum-gas-prices = "0.0001acanto"/g' $HOME/.cantod/config/app.toml
sed -i 's/persistent_peers = ""/persistent_peers = "a4eec64d88314553eee08206d8e2a986562ef310@192.168.110.186:26656"/g' $HOME/.cantod/config/config.toml
sed -i 's/persistent_peers = ""/persistent_peers = "7642501fa1cf300310ea11f9ff405110bddfc0ae@8.155.8.83:26656"/g' $HOME/.cantod/config/config.toml
fi
# scp waku1:~/code/buzzup-chain/.tmp-buzzuptest/config/genesis.json ./config
# scp waku1:~/.cantod/config/genesis.json ./config
# 强制覆盖
cp -f config/genesis.json $HOME/.cantod/config/genesis.json