diff --git a/config/genesis.json b/config/genesis.json index 21a2c61..3e88c78 100644 --- a/config/genesis.json +++ b/config/genesis.json @@ -1,7 +1,7 @@ { "app_name": "cantod", - "app_version": "8.0.0", - "genesis_time": "2024-11-11T09:52:01.186558353Z", + "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": "canto1yksqcysmxz4agj5yk3uyqpxm886cfckxtp9tx3", + "address": "canto1jmq96rd0dkwupktcaw9e05h8dgzw3erppe56g6", "pub_key": null, "account_number": "0", "sequence": "0" @@ -29,7 +29,7 @@ { "@type": "/ethermint.types.v1.EthAccount", "base_account": { - "address": "canto1248xupjgjcuh6t7yk39zpz2jrnswsc0z7k440p", + "address": "canto1nmuchded52ad7atkp3q880ft32gjaqn8pa7arl", "pub_key": null, "account_number": "1", "sequence": "0" @@ -39,7 +39,7 @@ { "@type": "/ethermint.types.v1.EthAccount", "base_account": { - "address": "canto1v63dwnh2upzvvu3derl5n5hy82mmaq5pmt5qvw", + "address": "canto1yfped8uv4rgqc6vv50q3raqstuym59sa2gh4np", "pub_key": null, "account_number": "2", "sequence": "0" @@ -58,16 +58,7 @@ }, "balances": [ { - "address": "canto1yksqcysmxz4agj5yk3uyqpxm886cfckxtp9tx3", - "coins": [ - { - "denom": "acanto", - "amount": "1050000000000000000000000000" - } - ] - }, - { - "address": "canto1248xupjgjcuh6t7yk39zpz2jrnswsc0z7k440p", + "address": "canto1yfped8uv4rgqc6vv50q3raqstuym59sa2gh4np", "coins": [ { "denom": "acanto", @@ -76,7 +67,16 @@ ] }, { - "address": "canto1v63dwnh2upzvvu3derl5n5hy82mmaq5pmt5qvw", + "address": "canto1jmq96rd0dkwupktcaw9e05h8dgzw3erppe56g6", + "coins": [ + { + "denom": "acanto", + "amount": "1050000000000000000000000000" + } + ] + }, + { + "address": "canto1nmuchded52ad7atkp3q880ft32gjaqn8pa7arl", "coins": [ { "denom": "acanto", @@ -261,10 +261,10 @@ }, "min_self_delegation": "1", "delegator_address": "", - "validator_address": "cantovaloper1yksqcysmxz4agj5yk3uyqpxm886cfckxflz0h5", + "validator_address": "cantovaloper1jmq96rd0dkwupktcaw9e05h8dgzw3erpr8n7el", "pubkey": { "@type": "/cosmos.crypto.ed25519.PubKey", - "key": "GVCJY2NFF1FKYBVPHQA4hcPvNXzp/4TxO0Ab2J7oFVE=" + "key": "whyepMwwoCQ56QhX+WZYHquSuf6a1n1CXtUE8BlAtXE=" }, "value": { "denom": "acanto", @@ -272,7 +272,7 @@ } } ], - "memo": "de512d5c1083d1b4a47587d1af0a4190a03f303e@172.20.26.137: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": "A1w54ufJ7NfhnV6H9bOcAUiTb2k0cvwZLn4mC8hbPHQP" + "key": "A7a/dxIJvd+xk0o9+tUL3r037VrIiWsWLAYQh//TQ5og" }, "mode_info": { "single": { @@ -301,7 +301,7 @@ "tip": null }, "signatures": [ - "71Vamy2XkYdXSb72Tf/rX5+nrrXkvmVlgpbg/RYGAwh8u9Ix1FQkQ90jGeuUR+30QpRElwaCrgmwzW11NWvEZQE=" + "twKyDcqy0wZo8ZZNIZoW+7jdpGsUtxRc94voNqOE4NZ8uASdhpjeJgyBlTpj5+pQXK7f6u0aYp7/+gohRaemKQE=" ] } ] diff --git a/config/gentx/gentx-1.json b/config/gentx/gentx-1.json index f7bb1f7..619dc7f 100644 --- a/config/gentx/gentx-1.json +++ b/config/gentx/gentx-1.json @@ -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":"cantovaloper1yksqcysmxz4agj5yk3uyqpxm886cfckxflz0h5","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"GVCJY2NFF1FKYBVPHQA4hcPvNXzp/4TxO0Ab2J7oFVE="},"value":{"denom":"acanto","amount":"900000000000000000000000"}}],"memo":"de512d5c1083d1b4a47587d1af0a4190a03f303e@172.20.26.137:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/ethermint.crypto.v1.ethsecp256k1.PubKey","key":"A1w54ufJ7NfhnV6H9bOcAUiTb2k0cvwZLn4mC8hbPHQP"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""},"tip":null},"signatures":["71Vamy2XkYdXSb72Tf/rX5+nrrXkvmVlgpbg/RYGAwh8u9Ix1FQkQ90jGeuUR+30QpRElwaCrgmwzW11NWvEZQE="]} +{"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="]} diff --git a/init_testnet.sh b/init_testnet.sh index 855dd32..e5bf4e6 100755 --- a/init_testnet.sh +++ b/init_testnet.sh @@ -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 diff --git a/init_validator.sh b/init_validator.sh index 186e51e..1be65d9 100644 --- a/init_validator.sh +++ b/init_validator.sh @@ -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