Skip to content
New issue

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

MsgValidatorBond causes panic if called right after the chain start #124

Open
ratik opened this issue Aug 28, 2023 · 0 comments
Open

MsgValidatorBond causes panic if called right after the chain start #124

ratik opened this issue Aug 28, 2023 · 0 comments

Comments

@ratik
Copy link

ratik commented Aug 28, 2023

Error: rpc error: code = Unknown desc =
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).Query.func1
 /go/pkg/mod/github.com/cosmos/[email protected]/baseapp/abci.go:390
runtime.gopanic
 /usr/local/go/src/runtime/panic.go:844
runtime.panicmem
 /usr/local/go/src/runtime/panic.go:220
runtime.sigpanic
 /usr/local/go/src/runtime/signal_unix.go:818
github.com/cosmos/iavl.(*nodeDB).getLatestVersion
 /go/pkg/mod/github.com/cosmos/[email protected]/nodedb.go:716
github.com/cosmos/iavl.(*ImmutableTree).isLatestTreeVersion
 /go/pkg/mod/github.com/cosmos/[email protected]/immutable_tree.go:305
github.com/cosmos/iavl.(*ImmutableTree).IsFastCacheEnabled
 /go/pkg/mod/github.com/cosmos/[email protected]/immutable_tree.go:297
github.com/cosmos/iavl.(*ImmutableTree).Iterator
 /go/pkg/mod/github.com/cosmos/[email protected]/immutable_tree.go:250
github.com/cosmos/cosmos-sdk/store/iavl.(*Store).Iterator
 /go/pkg/mod/github.com/cosmos/[email protected]/store/iavl/store.go:249
github.com/cosmos/cosmos-sdk/store/cachekv.(*Store).iterator
 /go/pkg/mod/github.com/cosmos/[email protected]/store/cachekv/store.go:185
github.com/cosmos/cosmos-sdk/store/cachekv.(*Store).Iterator
 /go/pkg/mod/github.com/cosmos/[email protected]/store/cachekv/store.go:170
github.com/cosmos/cosmos-sdk/store/gaskv.(*Store).iterator
 /go/pkg/mod/github.com/cosmos/[email protected]/store/gaskv/store.go:98
github.com/cosmos/cosmos-sdk/store/gaskv.(*Store).Iterator
 /go/pkg/mod/github.com/cosmos/[email protected]/store/gaskv/store.go:74
github.com/cosmos/cosmos-sdk/store/prefix.Store.Iterator
 /go/pkg/mod/github.com/cosmos/[email protected]/store/prefix/store.go:95
github.com/cosmos/cosmos-sdk/types/query.getIterator
 /go/pkg/mod/github.com/cosmos/[email protected]/types/query/pagination.go:160
github.com/cosmos/cosmos-sdk/types/query.FilteredPaginate
 /go/pkg/mod/github.com/cosmos/[email protected]/types/query/filtered_pagination.go:79
github.com/iqlusioninc/liquidity-staking-module/x/staking/keeper.Querier.Validators
 /src/app/x/staking/keeper/grpc_query.go:41
github.com/iqlusioninc/liquidity-staking-module/x/staking/types._Query_Validators_Handler
 /src/app/x/staking/types/query.pb.go:2457
github.com/cosmos/cosmos-sdk/baseapp.(*GRPCQueryRouter).RegisterService.func1
 /go/pkg/mod/github.com/cosmos/[email protected]/baseapp/grpcrouter.go:82
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).handleQueryGRPC
 /go/pkg/mod/github.com/cosmos/[email protected]/baseapp/abci.go:566
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).Query
 /go/pkg/mod/github.com/cosmos/[email protected]/baseapp/abci.go:410
github.com/tendermint/tendermint/abci/client.(*localClient).QuerySync
 /go/pkg/mod/github.com/cometbft/[email protected]/abci/client/local_client.go:256
github.com/tendermint/tendermint/proxy.(*appConnQuery).QuerySync
 /go/pkg/mod/github.com/cometbft/[email protected]/proxy/app_conn.go:159
github.com/tendermint/tendermint/rpc/core.ABCIQuery
 /go/pkg/mod/github.com/cometbft/[email protected]/rpc/core/abci.go:20
reflect.Value.call
 /usr/local/go/src/reflect/value.go:556
reflect.Value.Call
 /usr/local/go/src/reflect/value.go:339
github.com/tendermint/tendermint/rpc/jsonrpc/server.makeJSONRPCHandler.func1
 /go/pkg/mod/github.com/cometbft/[email protected]/rpc/jsonrpc/server/http_json_handler.go:108
github.com/tendermint/tendermint/rpc/jsonrpc/server.handleInvalidJSONRPCPaths.func1
 /go/pkg/mod/github.com/cometbft/[email protected]/rpc/jsonrpc/server/http_json_handler.go:140
net/http.HandlerFunc.ServeHTTP
 /usr/local/go/src/net/http/server.go:2084
net/http.(*ServeMux).ServeHTTP
 /usr/local/go/src/net/http/server.go:2462
runtime error: invalid memory address or nil pointer dereference: panic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant