gaiacli stake validator gives :panic: UnmarshalBinary cannot decode empty bytes #1505
Description
gaiacli stake validator cosmosaccaddr1mtza07sz00578srn47new4wxyhefsv7wu5nn3h
panic: UnmarshalBinary cannot decode empty bytes
ecode empty bytes
goroutine 1 [running]:
github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/go-amino.(*Codec).MustUnmarshalBinary(0xc420090720, 0x0, 0x0, 0x0, 0x18438c0, 0xc420af2280)
/Users/directory/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/go-amino/amino.go:253 +0x8a
github.com/cosmos/cosmos-sdk/x/stake/client/cli.GetCmdQueryValidator.func1(0xc420a58a00, 0xc420a47060, 0x1, 0x1, 0x0, 0x0)
/Users/directory/go/src/github.com/cosmos/cosmos-sdk/x/stake/client/cli/query.go:35 +0x246
github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra.(*Command).execute(0xc420a58a00, 0xc420a47030, 0x1, 0x1, 0xc420a58a00, 0xc420a47030)
/Users/directory/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra/command.go:762 +0x468
github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x1e801a0, 0x1895ae1, 0x24, 0xc420037288)
/Users/directory/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra/command.go:852 +0x30a
github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra.(*Command).Execute(0x1e801a0, 0xc420a36d80, 0x1e80290)
/Users/directory/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra/command.go:800 +0x2b
github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tmlibs/cli.Executor.Execute(0x1e801a0, 0x19d6550, 0x2, 0xc420a3eca0)
/Users/directory/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tmlibs/cli/setup.go:89 +0x4e
main.main()
/Users/directory/go/src/github.com/cosmos/cosmos-sdk/cmd/gaia/cmd/gaiacli/main.go:123 +0x8a7
Activity