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
query unbonding-delegation
query unbonding-delegation cause panic while no item in queue.
{ "cosmos_sdk": "0.34.6", "commit": "80234baf91a15dd9a7df8dca38677b66b8d148c1", "vendor_hash": "f60176672270c09455c01e9d880079ba36130df4f5cd89df58b6701f50b13aad", "build_tags": "netgo ledger", "go": "go version go1.12.5 darwin/amd64\n" }
$ gaiacli q staking unbonding-delegation \ cosmos16gv8hu0ctlkdr29mewtqafvzq4dzqyu32p5sdy \ cosmosvaloper16gv8hu0ctlkdr29mewtqafvzq4dzqyu304q9ph panic: UnmarshalBinaryLengthPrefixed cannot decode empty bytes goroutine 1 [running]: github.com/cosmos/cosmos-sdk/x/staking/types.MustUnmarshalUBD(0xc000ba3960, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /Users/yangyanqing/go/src/github.com/cosmos/cosmos-sdk/x/staking/types/delegation.go:172 +0x16d github.com/cosmos/cosmos-sdk/x/staking/client/cli.GetCmdQueryUnbondingDelegation.func1(0xc000c05180, 0xc000bf71a0, 0x2, 0x2, 0x0, 0x0) /Users/yangyanqing/go/src/github.com/cosmos/cosmos-sdk/x/staking/client/cli/query.go:286 +0x2b0 github.com/spf13/cobra.(*Command).execute(0xc000c05180, 0xc000bf7140, 0x2, 0x2, 0xc000c05180, 0xc000bf7140) /Users/yangyanqing/go/pkg/mod/github.com/spf13/[email protected]/command.go:762 +0x465 github.com/spf13/cobra.(*Command).ExecuteC(0xc000194280, 0x47bbcff, 0xc000194280, 0x4b2c663) /Users/yangyanqing/go/pkg/mod/github.com/spf13/[email protected]/command.go:852 +0x2ec github.com/spf13/cobra.(*Command).Execute(...) /Users/yangyanqing/go/pkg/mod/github.com/spf13/[email protected]/command.go:800 github.com/tendermint/tendermint/libs/cli.Executor.Execute(0xc000194280, 0x4ef5fe8, 0x2, 0xc000af0800) /Users/yangyanqing/go/pkg/mod/github.com/tendermint/[email protected]/libs/cli/setup.go:89 +0x3c main.main() /Users/yangyanqing/go/src/github.com/cosmos/cosmos-sdk/cmd/gaia/cmd/gaiacli/main.go:110 +0x818
The text was updated successfully, but these errors were encountered:
QueryWithData
Successfully merging a pull request may close this issue.
Summary of Bug
query unbonding-delegation
cause panic while no item in queue.Version
Steps to Reproduce
For Admin Use
The text was updated successfully, but these errors were encountered: