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

Add indexing store for ValidatorDelegations query #70

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nnkken
Copy link
Contributor

@nnkken nnkken commented Apr 29, 2022

Currently the initial indexing process will block the application.
Need to change this to async indexing afterwards.

@nnkken
Copy link
Contributor Author

nnkken commented Apr 29, 2022

Moved index store setup under cmd option (default false, need --enable-custom-index=true to enable) so test cases won't be blocked in NewLikeApp

@williamchong
Copy link
Member

Wrong block header error if enabled
panic: Failed to process committed block (3858746:F4DE12AF525F4D9114895B14A47A8794ABF0B600D1C6950004DFC166E4DFD616): wrong Block.Header.LastResultsHash. Expected 21638970D43A9C48FBDEA455A281C1438F193ABD066323F42A353DA683481A0C, got 03108221A2356526138257174AC93B70E80100642C832F88EE93B1B77DA78F17 goroutine 88 [running]: [github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).poolRoutine(0xc0127a41c0](http://github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).poolRoutine(0xc0127a41c0), 0x0) /go/pkg/mod/github.com/tendermint/[email protected]/blockchain/v0/reactor.go:401 +0x1265 created by [github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).OnStart](http://github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).OnStart) /go/pkg/mod/github.com/tendermint/[email protected]/blockchain/v0/reactor.go:110 +0x85

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

Successfully merging this pull request may close these issues.

2 participants