Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

gaiacli stake validator gives :panic: UnmarshalBinary cannot decode empty bytes #1505

Closed
azulmarino opened this issue Jul 2, 2018 · 1 comment
Assignees

Comments

@azulmarino
Copy link

azulmarino commented Jul 2, 2018

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

@azulmarino
Copy link
Author

gaiacli stake unrevoke --chain-id=gaia-6002 --name=azulmarino_3 cosmosaccaddr1mtza07sz00578srn47new4wxyhefsv7wu5nn3h --gas 2000000
Defaulting to account number: 310
Defaulting to next sequence number: 0
Password to sign with 'azulmarino_3':
ERROR: CheckTx failed: (655561) === ABCI Log ===
Codespace: 10
Code: 201
ABCICode: 655561
Error: --= Error =--
Message: That address is not associated with any known validator
Cause:
T: 0xc9
Msg Traces:
--= /Error =--

=== /ABCI Log ===

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants