We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The latest develop branch run basecli version , got error
develop
basecli version
basecli version panic: account flag redefined: indent goroutine 1 [running]: github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/pflag.(*FlagSet).AddFlag(0xc0001a9e00, 0xc000202960) /Users/tanhui/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/pflag/flag.go:836 +0x870 github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/pflag.(*FlagSet).VarPF(0xc0001a9e00, 0x4ca56c0, 0xc000b54438, 0x4a745df, 0x6, 0x0, 0x0, 0x4a87a85, 0x1b, 0xc000b54438) /Users/tanhui/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/pflag/flag.go:819 +0x10b github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/pflag.(*FlagSet).BoolVarP(0xc0001a9e00, 0xc000b54438, 0x4a745df, 0x6, 0x0, 0x0, 0xc0001e5400, 0x4a87a85, 0x1b) /Users/tanhui/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/pflag/bool.go:55 +0x97 github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/pflag.(*FlagSet).BoolP(0xc0001a9e00, 0x4a745df, 0x6, 0x0, 0x0, 0x0, 0x4a87a85, 0x1b, 0x0) /Users/tanhui/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/pflag/bool.go:80 +0x9a github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/pflag.(*FlagSet).Bool(0xc0001a9e00, 0x4a745df, 0x6, 0x0, 0x4a87a85, 0x1b, 0xc000b54430) /Users/tanhui/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/pflag/bool.go:74 +0x67 github.com/cosmos/cosmos-sdk/client.GetCommands(0xc000017f18, 0xe, 0xe, 0xc00098ad80, 0xb, 0xc0001a9700) /Users/tanhui/go/src/github.com/cosmos/cosmos-sdk/client/flags.go:58 +0x81 main.main() /Users/tanhui/go/src/github.com/cosmos/cosmos-sdk/docs/examples/basecoin/cmd/basecli/main.go:75 +0x5a6
The text was updated successfully, but these errors were encountered:
@alessio ^^
Sorry, something went wrong.
Don't get command through client.{Get,Post}Commands()
c245a3d
Logic has changed recently and commands are now enriched with flags by default. Closes: #2884
Merge PR #2886: Don't get command through client.{Get,Post}Commands()
c21961b
* Don't get command through client.{Get,Post}Commands() Logic has changed recently and commands are now enriched with flags by default. Closes: #2884
alessio
No branches or pull requests
The latest
develop
branchrun
basecli version
, got errorThe text was updated successfully, but these errors were encountered: