Skip to content

panic: minimum commission rate cannot be nil: <nil> #1073

@youngsuk-dev

Description

@youngsuk-dev

Specifications

Juno version: Junod version
OS & Version: v25.0.0 and v24.0.0
Commit hash:

Expected behavior

running node by commandjunod start

Actual behavior

panic occur panic: minimum commission rate cannot be nil: <nil>

Steps to reproduce the behavior

  • check genesis.json

followed this doc https://docs.junonetwork.io/validators/joining-mainnet/sync-from-snapshot
and https://polkachu.com/installation/juno but not worked

Backtrace

panic: minimum commission rate cannot be nil: <nil>

goroutine 12 [running]:
github.com/cosmos/cosmos-sdk/x/staking/keeper.Keeper.InitGenesis({{0x397fc68, 0xc0007298f0}, {0x39bc6a0, 0xc000d9c630}, {0x39a7220, 0xc00140d810}, {0x7f866065d7d0, 0xc00127c000}, {0x39bc320, 0xc0020fc570}, ...}, ...)
	github.com/cosmos/[email protected]/x/staking/keeper/genesis.go:31 +0x1ae5
github.com/cosmos/cosmos-sdk/x/staking.AppModule.InitGenesis({{{_, _}}, _, {_, _}, {_, _}, {_, _}}, {{0x39a3438, ...}, ...}, ...)
	github.com/cosmos/[email protected]/x/staking/module.go:172 +0x125
github.com/cosmos/cosmos-sdk/types/module.(*Manager).InitGenesis(_, {{0x39a3438, 0x530cb00}, {0x39bcd30, 0xc00153c640}, {{0x0, 0x0}, {0xc002c0fe5a, 0x6}, 0x0, ...}, ...}, ...)
	github.com/cosmos/[email protected]/types/module/module.go:357 +0x373
github.com/CosmosContracts/juno/v25/app.(*App).InitChainer(_, {{0x39a3438, 0x530cb00}, {0x39bcd30, 0xc00153c640}, {{0x0, 0x0}, {0xc002c0fe5a, 0x6}, 0x0, ...}, ...}, ...)
	github.com/CosmosContracts/juno/v25/app/app.go:557 +0x185
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).InitChain(0xc00039fa40, {{0x0, 0xed8e91970, 0x0}, {0xc002c0fe5a, 0x6}, 0xc00145e180, {0x530cb00, 0x0, 0x0}, ...})
	github.com/cosmos/[email protected]/baseapp/abci.go:78 +0x515
github.com/cometbft/cometbft/abci/client.(*localClient).InitChainSync(0xc001f02ba0, {{0x0, 0xed8e91970, 0x0}, {0xc002c0fe5a, 0x6}, 0xc00145e180, {0x530cb00, 0x0, 0x0}, ...})
	github.com/cometbft/[email protected]/abci/client/local_client.go:275 +0x102
github.com/cometbft/cometbft/proxy.(*appConnConsensus).InitChainSync(0xc0020fccf0, {{0x0, 0xed8e91970, 0x0}, {0xc002c0fe5a, 0x6}, 0xc00145e180, {0x530cb00, 0x0, 0x0}, ...})
	github.com/cometbft/[email protected]/proxy/app_conn.go:85 +0x195
github.com/cometbft/cometbft/consensus.(*Handshaker).ReplayBlocksWithContext(_, {_, _}, {{{0xb, 0x0}, {0xc002128218, 0x6}}, {0xc002128290, 0x6}, 0x1, ...}, ...)
	github.com/cometbft/[email protected]/consensus/replay.go:336 +0xeb8
github.com/cometbft/cometbft/consensus.(*Handshaker).HandshakeWithContext(0xc002bea090, {0x39a3748, 0x530cb00}, {0x39c0f90, 0xc002c600e0})
	github.com/cometbft/[email protected]/consensus/replay.go:274 +0x398
github.com/cometbft/cometbft/node.doHandshake({_, _}, {_, _}, {{{0xb, 0x0}, {0xc002128218, 0x6}}, {0xc002128290, 0x6}, ...}, ...)
	github.com/cometbft/[email protected]/node/node.go:449 +0x1a8
github.com/cometbft/cometbft/node.NewNodeWithContext({0x39a3748, 0x530cb00}, 0xc000648dc0, {0x3985140, 0xc002c137c0}, 0xc002183450, {0x3973680, 0xc000c13b30}, 0xc004007d60, 0x3333a18, ...)
	github.com/cometbft/[email protected]/node/node.go:929 +0x59b
github.com/cometbft/cometbft/node.NewNode(0x0?, {0x3985140?, 0xc002c137c0?}, 0x0?, {0x3973680?, 0xc000c13b30?}, 0x1?, 0x530cb00?, 0x0?, {0x39a37f0, ...}, ...)
	github.com/cometbft/[email protected]/node/node.go:849 +0xa9
github.com/cosmos/cosmos-sdk/server.startInProcess(_, {{0x0, 0x0, 0x0}, {0x39beb60, 0xc00160b770}, 0x0, {0xc0016044b0, 0x6}, {0x39d15a0, ...}, ...}, ...)
	github.com/cosmos/[email protected]/server/start.go:372 +0x1597
github.com/cosmos/cosmos-sdk/server.StartCmd.func2.2()
	github.com/cosmos/[email protected]/server/start.go:153 +0x45
github.com/cosmos/cosmos-sdk/server.wrapCPUProfile.func2()
	github.com/cosmos/[email protected]/server/start.go:617 +0x23
created by github.com/cosmos/cosmos-sdk/server.wrapCPUProfile in goroutine 1
	github.com/cosmos/[email protected]/server/start.go:616 +0x23f

When submitting logs: please submit them as text and not screenshots.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions