Skip to content

Instantly share code, notes, and snippets.

@akp111
Created May 14, 2025 14:05
Show Gist options
  • Save akp111/f3ab04217ac81ba65ca096034b6eed51 to your computer and use it in GitHub Desktop.
Save akp111/f3ab04217ac81ba65ca096034b6eed51 to your computer and use it in GitHub Desktop.
```
panic: delete-chain-config flag redefined: chain-id
goroutine 1 [running]:
github.com/spf13/pflag.(*FlagSet).AddFlag(0x1400161f000, 0x14001fb74a0)
github.com/spf13/[email protected]/flag.go:848 +0x50c
github.com/spf13/pflag.(*FlagSet).VarPF(0x1400161f000, {0x108d6b2a0, 0x14000f459a0}, {0x1075ee4d4, 0x8}, {0x0, 0x0}, {0x10760df2c, 0x14})
github.com/spf13/[email protected]/flag.go:831 +0xf8
github.com/spf13/pflag.(*FlagSet).VarP(...)
github.com/spf13/[email protected]/flag.go:837
github.com/spf13/pflag.(*FlagSet).StringVarP(...)
github.com/spf13/[email protected]/string.go:42
github.com/spf13/pflag.(*FlagSet).String(0x1400161f000, {0x1075ee4d4, 0x8}, {0x0, 0x0}, {0x10760df2c, 0x14})
github.com/spf13/[email protected]/string.go:60 +0xa8
github.com/cosmos/cosmos-sdk/client/flags.AddTxFlagsToCmd(0x14001fb0908)
github.com/cosmos/[email protected]/client/flags/flags.go:144 +0x484
cosmossdk.io/client/v2/autocli.(*Builder).BuildMsgMethodCommand(0x14000954480, {0x108da9b78, 0x14000f526c0}, 0x140012d2958)
cosmossdk.io/client/[email protected]/autocli/msg.go:163 +0x98
cosmossdk.io/client/v2/autocli.(*Builder).AddMsgServiceCommands(0x14000954480, 0x14001fadb08, 0x14000203a40)
cosmossdk.io/client/[email protected]/autocli/msg.go:95 +0x578
cosmossdk.io/client/v2/autocli.enhanceMsg(0x14000954480, {0x1075e7741, 0x4}, 0x140016a6008, 0x140012d2cc8?)
cosmossdk.io/client/[email protected]/autocli/common.go:208 +0x158
cosmossdk.io/client/v2/autocli.(*Builder).enhanceCommandCommon(_, _, _, {{}, 0x140015ec000, 0x140015ec030, {0x108d50018, 0x1400195e2e0}, {0x132a59500, 0x1400195e2f0}, ...}, ...)
cosmossdk.io/client/[email protected]/autocli/common.go:173 +0x204
cosmossdk.io/client/v2/autocli.AppOptions.EnhanceRootCommandWithBuilder({{}, 0x140015ec000, 0x140015ec030, {0x108d50018, 0x1400195e2e0}, {0x132a59500, 0x1400195e2f0}, {0x132a59a50, 0x1400195e360}, {{0x0, ...}, ...}}, ...)
cosmossdk.io/client/[email protected]/autocli/app.go:123 +0x498
cosmossdk.io/client/v2/autocli.AppOptions.EnhanceRootCommand({{}, 0x140015ec000, 0x140015ec030, {0x108d50018, 0x1400195e2e0}, {0x132a59500, 0x1400195e2f0}, {0x132a59a50, 0x1400195e360}, {{0x0, ...}, ...}}, ...)
cosmossdk.io/client/[email protected]/autocli/app.go:82 +0x190
main.NewRootCmd()
github.com/<repo>/cmd/simd/root.go:116 +0x754
main.main()
github.com/<repo>/cmd/pchaind/main.go:15 +0x20
make: *** [sh-testnet] Error 2
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment