Cronos is the first Ethereum-compatible blockchain network built on Cosmos SDK technology. Cronos aims to massively scale the DeFi, GameFi, and overall Web3 user community by providing builders with the ability to instantly port apps and crypto assets from other chains while benefiting from low transaction fees, high throughput, and fast finality.
Other
295
stars
237
forks
source link
panic: minimum commission rate cannot be nil: <nil> #1554
Good morning.
in a new server i try to install binary 1.3.0
10 wget https://github.com/crypto-org-chain/cronos/releases/download/v1.3.0/cronos_1.3.0_Linux_x86_64.tar.gz
12 tar xzvf cronos_1.3.0_Linux_x86_64.tar.gz
14 sudo mv bin/cronosd /usr/local/bin/
16 cronosd version
18 cronosd init v1p3r4llbl4ck-node --chain-id cronosmainnet_25-1
19 curl https://raw.githubusercontent.com/crypto-org-chain/cronos-mainnet/master/cronosmainnet_25-1/genesis.json > ~/.cronos/config/genesis.json
20 if [[ $(sha256sum ~/.cronos/config/genesis.json | awk '{print $1}') = "58f17545056267f57a2d95f4c9c00ac1d689a580e220c5d4de96570fbbc832e1" ]]; then echo "OK"; else echo "MISMATCHED"; fi;
21 sed -i.bak -E 's#^(seeds[[:space:]]+=[[:space:]]+).*$#\1"0d5cf1394a1cfde28dc8f023567222abc0f47534@cronos-seed-0.crypto.org:26656,3032073adc06d710dd512240281637c1bd0c8a7b@cronos-seed-1.crypto.org:26 656,04f43116b4c6c70054d9c2b7485383df5b1ed1da@cronos-seed-2.crypto.org:26656,337377dcda43d79c537d2c4d93ad3b698ce9452e@bd-cronos-mainnet-seed-node-01.bdnodes.net:26656"#' ~/.cronos/config/config.toml
22 sed -i.bak -E 's#^(create_empty_blocks_interval[[:space:]]+=[[:space:]]+).*$#\1"5s"#' ~/.cronos/config/config.toml
23 sed -i.bak -E 's#^(timeout_commit[[:space:]]+=[[:space:]]+).*$#\1"5s"#' ~/.cronos/config/config.toml
24 sudo apt install jq -y
26 sudo apt update -y && sudo apt upgrade -y
27 init 6
34 wget https://dl2.quicksync.io/json/addrbook.cronos.json
36 mv addrbook.cronos.json addrbook.json
38 sudo apt-get update -y
39 sudo apt-get install wget liblz4-tool aria2 -y
40 cronosd start 10:55PM INF Unlocking keyring module=server 10:55PM INF starting ABCI with Tendermint module=server 10:55PM ERR Setting ante handler without blacklist module=server 10:55PM INF starting node with ABCI Tendermint in-process module=server 10:55PM INF service start impl=multiAppConn module=proxy msg="Starting multiAppConn service" server=node 10:55PM INF service start connection=query impl=localClient module=abci-client msg="Starting localClient service" server=node 10:55PM INF service start connection=snapshot impl=localClient module=abci-client msg="Starting localClient service" server=node 10:55PM INF service start connection=mempool impl=localClient module=abci-client msg="Starting localClient service" server=node 10:55PM INF service start connection=consensus impl=localClient module=abci-client msg="Starting localClient service" server=node 10:55PM INF service start impl=EventBus module=events msg="Starting EventBus service" server=node 10:55PM INF service start impl=PubSub module=pubsub msg="Starting PubSub service" server=node 10:55PM INF service start impl=IndexerService module=txindex msg="Starting IndexerService service" server=node 10:55PM INF ABCI Handshake App Info hash= height=0 module=consensus protocol-version=0 server=node software-version=v1.3.0 10:55PM INF ABCI Replay Blocks appHeight=0 module=consensus server=node stateHeight=0 storeHeight=0 10:55PM INF InitChain chainID=cronosmainnet_25-1 initialHeight=1 module=server 10:55PM INF initializing blockchain state from genesis.json module=server 10:55PM INF Application gracefully shutdown error=null module=server panic: minimum commission rate cannot be nil:
goroutine 1 [running]: github.com/cosmos/cosmos-sdk/x/staking/keeper.Keeper.InitGenesis({{0x5a35818, 0xc0012c2700}, {0x5a71250, 0xc000d2a600}, {0x5a59de0, 0xc00103a230}, {0x7f2df7cc4f78, 0xc000e5c580}, {0x5a70bb0, 0xc000012930}, ...}, ...) github.com/cosmos/cosmos-sdk/x/staking/keeper/genesis.go:31 +0x1ae5 github.com/cosmos/cosmos-sdk/x/staking.AppModule.InitGenesis({{{, }}, , {, }, {, }, {, }}, {{0x5a57898, ...}, ...}, ...) github.com/cosmos/cosmos-sdk/x/staking/module.go:172 +0x125 github.com/cosmos/cosmos-sdk/types/module.(*Manager).InitGenesis(, {{0x5a57898, 0x784b200}, {0x5a718f0, 0xc001fdf380}, {{0x0, 0x0}, {0xc001fc61f8, 0x12}, 0x0, ...}, ...}, ...) github.com/cosmos/cosmos-sdk/types/module/module.go:379 +0x373 github.com/crypto-org-chain/cronos/v2/app.(App).InitChainer(_, {{0x5a57898, 0x784b200}, {0x5a718f0, 0xc001fdf380}, {{0x0, 0x0}, {0xc001fc61f8, 0x12}, 0x0, ...}, ...}, ...) github.com/crypto-org-chain/cronos/v2/app/app.go:1102 +0x185 github.com/cosmos/cosmos-sdk/baseapp.(BaseApp).InitChain(0xc001916200, {{0x0, 0xed91a6d90, 0x0}, {0xc001fc61f8, 0x12}, 0xc000053a00, {0x784b200, 0x0, 0x0}, ...}) github.com/cosmos/cosmos-sdk/baseapp/abci.go:78 +0x515 github.com/cometbft/cometbft/abci/client.(localClient).InitChainSync(0xc002402600, {{0x0, 0xed91a6d90, 0x0}, {0xc001fc61f8, 0x12}, 0xc000053a00, {0x784b200, 0x0, 0x0}, ...}) github.com/cometbft/cometbft/abci/client/local_client.go:275 +0x102 github.com/cometbft/cometbft/proxy.(appConnConsensus).InitChainSync(0xc000504390, {{0x0, 0xed91a6d90, 0x0}, {0xc001fc61f8, 0x12}, 0xc000053a00, {0x784b200, 0x0, 0x0}, ...}) github.com/cometbft/cometbft/proxy/appconn.go:85 +0x195 github.com/cometbft/cometbft/consensus.(*Handshaker).ReplayBlocksWithContext(, {, }, {{{0xb, 0x0}, {0x3641746, 0x6}}, {0xc001fc61f8, 0x12}, 0x1, ...}, ...) github.com/cometbft/cometbft/consensus/replay.go:336 +0xeb8 github.com/cometbft/cometbft/consensus.(Handshaker).HandshakeWithContext(0xc000d0ae08, {0x5a57ba8, 0xc000d345f0}, {0x5a75fd0, 0xc0005917a0}) github.com/cometbft/cometbft/consensus/replay.go:274 +0x398 github.com/cometbft/cometbft/node.doHandshake({, }, {, }, {{{0xb, 0x0}, {0x3641746, 0x6}}, {0xc001fc61f8, 0x12}, ...}, ...) github.com/cometbft/cometbft/node/node.go:449 +0x1a8 github.com/cometbft/cometbft/node.NewNodeWithContext({0x5a57ba8, 0xc000d345f0}, 0xc000735a20, {0x5a3aef0, 0xc0009c80a0}, 0xc001fdab40, {0x5a283a0, 0xc001feb668}, 0xc0024ccce0, 0x5378300, ...) github.com/cometbft/cometbft/node/node.go:929 +0x59b github.com/evmos/ethermint/server.startInProcess(_, {{0x0, 0x0, 0x0}, {0x5a73440, 0xc0017b9320}, 0x0, {0x0, 0x0}, {0x5a80620, ...}, ...}, ...) github.com/evmos/ethermint/server/start.go:373 +0x2d08 github.com/evmos/ethermint/server.StartCmd.func2.2() github.com/evmos/ethermint/server/start.go:165 +0x5e github.com/evmos/ethermint/server.wrapCPUProfile(0xc000a83500, 0xc0012b5a20) github.com/evmos/ethermint/server/start.go:700 +0x2a5 github.com/evmos/ethermint/server.StartCmd.func2(0xc0016d2908, {0x784b200?, 0x0?, 0x0?}) github.com/evmos/ethermint/server/start.go:164 +0x3a5 github.com/spf13/cobra.(Command).execute(0xc0016d2908, {0x784b200, 0x0, 0x0}) github.com/spf13/cobra/command.go:983 +0xaca github.com/spf13/cobra.(Command).ExecuteC(0xc001694608) github.com/spf13/cobra/command.go:1115 +0x3ff github.com/spf13/cobra.(Command).Execute(...) github.com/spf13/cobra/command.go:1039 github.com/spf13/cobra.(*Command).ExecuteContext(...) github.com/spf13/cobra/command.go:1032 github.com/cosmos/cosmos-sdk/server/cmd.Execute(0xc001694608, {0x3641548, 0x6}, {0xc0011fdde0, 0x1b}) github.com/cosmos/cosmos-sdk/server/cmd/execute.go:33 +0x16e main.main() github.com/crypto-org-chain/cronos/v2/cmd/cronosd/main.go:13 +0x32