axelarnetwork / axelar-core

Axelar: A Decentralized Blockchain Interoperability Network
Apache License 2.0
162 stars 119 forks source link

panic: validator commission rate has to be >=0.050000000000000000: invalid request #2148

Open calebcall opened 6 months ago

calebcall commented 6 months ago

Description/Reasoning

Trying to run a node, not a validator, on mainnet and upon start-up the following panic is thrown:

# ./bin/axelard start --home ./home/
2024-05-09T15:04:04-06:00 INF adding 5 seeds from seeds.toml
2024-05-09T15:04:04-06:00 INF starting node with ABCI Tendermint in-process
2024-05-09T15:04:04-06:00 INF service start impl=multiAppConn module=proxy msg={}
2024-05-09T15:04:04-06:00 INF service start connection=query impl=localClient module=abci-client msg={}
2024-05-09T15:04:04-06:00 INF service start connection=snapshot impl=localClient module=abci-client msg={}
2024-05-09T15:04:04-06:00 INF service start connection=mempool impl=localClient module=abci-client msg={}
2024-05-09T15:04:04-06:00 INF service start connection=consensus impl=localClient module=abci-client msg={}
2024-05-09T15:04:04-06:00 INF service start impl=EventBus module=events msg={}
2024-05-09T15:04:04-06:00 INF service start impl=PubSub module=pubsub msg={}
2024-05-09T15:04:04-06:00 INF service start impl=IndexerService module=txindex msg={}
2024-05-09T15:04:04-06:00 INF ABCI Handshake App Info hash= height=0 module=consensus protocol-version=0 software-version=0.35.5
2024-05-09T15:04:04-06:00 INF ABCI Replay Blocks appHeight=0 module=consensus stateHeight=0 storeHeight=0
2024-05-09T15:04:04-06:00 INF asserting crisis invariants inv=1/11 module=x/crisis name=bank/nonnegative-outstanding
2024-05-09T15:04:04-06:00 INF asserting crisis invariants inv=2/11 module=x/crisis name=bank/total-supply
2024-05-09T15:04:04-06:00 INF asserting crisis invariants inv=3/11 module=x/crisis name=distribution/nonnegative-outstanding
2024-05-09T15:04:04-06:00 INF asserting crisis invariants inv=4/11 module=x/crisis name=distribution/can-withdraw
2024-05-09T15:04:04-06:00 INF asserting crisis invariants inv=5/11 module=x/crisis name=distribution/reference-count
2024-05-09T15:04:04-06:00 INF asserting crisis invariants inv=6/11 module=x/crisis name=distribution/module-account
2024-05-09T15:04:04-06:00 INF asserting crisis invariants inv=7/11 module=x/crisis name=gov/module-account
2024-05-09T15:04:04-06:00 INF asserting crisis invariants inv=8/11 module=x/crisis name=staking/module-accounts
2024-05-09T15:04:04-06:00 INF asserting crisis invariants inv=9/11 module=x/crisis name=staking/nonnegative-power
2024-05-09T15:04:04-06:00 INF asserting crisis invariants inv=10/11 module=x/crisis name=staking/positive-delegation
2024-05-09T15:04:04-06:00 INF asserting crisis invariants inv=11/11 module=x/crisis name=staking/delegator-shares
2024-05-09T15:04:04-06:00 INF asserted all invariants duration=0.251911 height=0 module=x/crisis
panic: validator commission rate has to be >=0.050000000000000000: invalid request

Current Behaviour

Node is unable to start-up

Expected Behaviour

Able to start and run node on mainnet

Steps to reproduce (for bugs)

I've followed the instructions from this page: https://docs.axelar.dev/node/config-node using the ./scripts/setup-node.sh script. I've also tried using the manual instructions from this page: https://docs.axelar.dev/validator/setup/manual with the same result.

I've verified I'm pulling the correct genesis file, tried using the one that axelard init generates as well as using the config files from https://github.com/axelarnetwork/axelarate-community/tree/main/resources/mainnet

My init command I used was ./bin/axelard init my-node --chain-id axelar-dojo-1 --home ./home

Relevant Logs or Files

# ./bin/axelard start --home ./home/
2024-05-09T15:11:14-06:00 INF adding 5 seeds from seeds.toml
2024-05-09T15:11:14-06:00 INF starting node with ABCI Tendermint in-process
2024-05-09T15:11:14-06:00 INF service start impl=multiAppConn module=proxy msg={}
2024-05-09T15:11:14-06:00 INF service start connection=query impl=localClient module=abci-client msg={}
2024-05-09T15:11:14-06:00 INF service start connection=snapshot impl=localClient module=abci-client msg={}
2024-05-09T15:11:14-06:00 INF service start connection=mempool impl=localClient module=abci-client msg={}
2024-05-09T15:11:14-06:00 INF service start connection=consensus impl=localClient module=abci-client msg={}
2024-05-09T15:11:14-06:00 INF service start impl=EventBus module=events msg={}
2024-05-09T15:11:14-06:00 INF service start impl=PubSub module=pubsub msg={}
2024-05-09T15:11:14-06:00 INF service start impl=IndexerService module=txindex msg={}
2024-05-09T15:11:14-06:00 INF ABCI Handshake App Info hash= height=0 module=consensus protocol-version=0 software-version=0.35.5
2024-05-09T15:11:14-06:00 INF ABCI Replay Blocks appHeight=0 module=consensus stateHeight=0 storeHeight=0
2024-05-09T15:11:14-06:00 INF asserting crisis invariants inv=1/11 module=x/crisis name=gov/module-account
2024-05-09T15:11:14-06:00 INF asserting crisis invariants inv=2/11 module=x/crisis name=distribution/nonnegative-outstanding
2024-05-09T15:11:14-06:00 INF asserting crisis invariants inv=3/11 module=x/crisis name=distribution/can-withdraw
2024-05-09T15:11:14-06:00 INF asserting crisis invariants inv=4/11 module=x/crisis name=distribution/reference-count
2024-05-09T15:11:14-06:00 INF asserting crisis invariants inv=5/11 module=x/crisis name=distribution/module-account
2024-05-09T15:11:14-06:00 INF asserting crisis invariants inv=6/11 module=x/crisis name=bank/nonnegative-outstanding
2024-05-09T15:11:14-06:00 INF asserting crisis invariants inv=7/11 module=x/crisis name=bank/total-supply
2024-05-09T15:11:14-06:00 INF asserting crisis invariants inv=8/11 module=x/crisis name=staking/module-accounts
2024-05-09T15:11:14-06:00 INF asserting crisis invariants inv=9/11 module=x/crisis name=staking/nonnegative-power
2024-05-09T15:11:14-06:00 INF asserting crisis invariants inv=10/11 module=x/crisis name=staking/positive-delegation
2024-05-09T15:11:14-06:00 INF asserting crisis invariants inv=11/11 module=x/crisis name=staking/delegator-shares
2024-05-09T15:11:14-06:00 INF asserted all invariants duration=0.3269 height=0 module=x/crisis
panic: validator commission rate has to be >=0.050000000000000000: invalid request

goroutine 1 [running]:
github.com/cosmos/cosmos-sdk/x/genutil.DeliverGenTxs({{0x30298f8, 0x42afd60}, {0x303b950, 0xc00046ff40}, {{0x0, 0x0}, {0xc000f7a8b0, 0xd}, 0x0, {0x2bfaba60, ...}, ...}, ...}, ...)
    github.com/cosmos/cosmos-sdk@v0.45.16/x/genutil/gentx.go:110 +0x24a
github.com/cosmos/cosmos-sdk/x/genutil.InitGenesis(...)
    github.com/cosmos/cosmos-sdk@v0.45.16/x/genutil/genesis.go:18
github.com/cosmos/cosmos-sdk/x/genutil.AppModule.InitGenesis({{}, {_, _}, {_, _}, _, {_, _}}, {{0x30298f8, 0x42afd60}, ...}, ...)
    github.com/cosmos/cosmos-sdk@v0.45.16/x/genutil/module.go:98 +0x13e
github.com/cosmos/cosmos-sdk/types/module.(*Manager).InitGenesis(_, {{0x30298f8, 0x42afd60}, {0x303b950, 0xc00046ff40}, {{0x0, 0x0}, {0xc000f7a8b0, 0xd}, 0x0, ...}, ...}, ...)
    github.com/cosmos/cosmos-sdk@v0.45.16/types/module/module.go:327 +0x227
github.com/axelarnetwork/axelar-core/app.(*AxelarApp).InitChainer(_, {{0x30298f8, 0x42afd60}, {0x303b950, 0xc00046ff40}, {{0x0, 0x0}, {0xc000f7a8b0, 0xd}, 0x0, ...}, ...}, ...)
    github.com/axelarnetwork/axelar-core/app/app.go:987 +0x1ee
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).InitChain(0xc00038b180, {{0x2bfaba60, 0xed9554881, 0x0}, {0xc000f7a8b0, 0xd}, 0xc0004ec600, {0x42afd60, 0x0, 0x0}, ...})
    github.com/cosmos/cosmos-sdk@v0.45.16/baseapp/abci.go:63 +0x475
github.com/tendermint/tendermint/abci/client.(*localClient).InitChainSync(0xc000f81380, {{0x2bfaba60, 0xed9554881, 0x0}, {0xc000f7a8b0, 0xd}, 0xc0004ec600, {0x42afd60, 0x0, 0x0}, ...})
    github.com/tendermint/tendermint@v0.34.27/abci/client/local_client.go:272 +0x102
github.com/tendermint/tendermint/proxy.(*appConnConsensus).InitChainSync(0xc00046f430?, {{0x2bfaba60, 0xed9554881, 0x0}, {0xc000f7a8b0, 0xd}, 0xc0004ec600, {0x42afd60, 0x0, 0x0}, ...})
    github.com/tendermint/tendermint@v0.34.27/proxy/app_conn.go:77 +0x55
github.com/tendermint/tendermint/consensus.(*Handshaker).ReplayBlocksWithContext(_, {_, _}, {{{0xb, 0x0}, {0x218bbff, 0x7}}, {0xc000f7a8b0, 0xd}, 0x1, ...}, ...)
    github.com/tendermint/tendermint@v0.34.27/consensus/replay.go:336 +0xed8
github.com/tendermint/tendermint/consensus.(*Handshaker).HandshakeWithContext(0xc001a35960, {0x3029e00, 0x42afd60}, {0x303e9b0?, 0xc000437450?})
    github.com/tendermint/tendermint@v0.34.27/consensus/replay.go:274 +0x3d8
github.com/tendermint/tendermint/node.doHandshake({_, _}, {_, _}, {{{0xb, 0x0}, {0x218bbff, 0x7}}, {0xc000f7a8b0, 0xd}, ...}, ...)
    github.com/tendermint/tendermint@v0.34.27/node/node.go:330 +0x1a9
github.com/tendermint/tendermint/node.NewNodeWithContext({0x3029e00, 0x42afd60}, 0xc00046c280, {0x3011fb0, 0xc000f3a780}, 0xc000f73c70, {0x30071e0, 0xc000f6bc38}, 0x1?, 0x2da1268, ...)
    github.com/tendermint/tendermint@v0.34.27/node/node.go:797 +0x577
github.com/tendermint/tendermint/node.NewNode(0x0?, {0x3011fb0?, 0xc000f3a780?}, 0x21d31d0?, {0x30071e0?, 0xc000f6bc38?}, 0x0?, 0x0?, 0x1?, {0x30298c0, ...}, ...)
    github.com/tendermint/tendermint@v0.34.27/node/node.go:719 +0xa9
github.com/cosmos/cosmos-sdk/server.startInProcess(_, {{0x0, 0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x3030428, 0xc0004de110}, ...}, ...)
    github.com/cosmos/cosmos-sdk@v0.45.16/server/start.go:281 +0x897
github.com/cosmos/cosmos-sdk/server.StartCmd.func2(0xc000037b00?, {0xc0001ab300?, 0x0?, 0x2?})
    github.com/cosmos/cosmos-sdk@v0.45.16/server/start.go:129 +0x1e8
github.com/spf13/cobra.(*Command).execute(0xc000170c00, {0xc0001ab2a0, 0x2, 0x2})
    github.com/spf13/cobra@v1.7.0/command.go:940 +0x87c
github.com/spf13/cobra.(*Command).ExecuteC(0xc000238f00)
    github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3a5
github.com/spf13/cobra.(*Command).Execute(...)
    github.com/spf13/cobra@v1.7.0/command.go:992
github.com/spf13/cobra.(*Command).ExecuteContext(...)
    github.com/spf13/cobra@v1.7.0/command.go:985
github.com/cosmos/cosmos-sdk/server/cmd.Execute(0x218a2da?, {0xc0004e4170, 0xd})
    github.com/cosmos/cosmos-sdk@v0.45.16/server/cmd/execute.go:36 +0x167
main.main()
    github.com/axelarnetwork/axelar-core/cmd/axelard/main.go:73 +0x48f
visualbasic6 commented 3 months ago

Experiencing the same issue. Would like a solution. This is broken software.

visualbasic6 commented 2 months ago

Terrible. Found myself back here 3 weeks later. No updates, nothing. Tendermint is awful and so is this software.