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

Primary query failure due to IAVL error on some blocks #563

Open
pharr117 opened this issue Jul 23, 2024 · 0 comments
Open

Primary query failure due to IAVL error on some blocks #563

pharr117 opened this issue Jul 23, 2024 · 0 comments
Assignees
Labels
bug Something isn't working grant OGP2024

Comments

@pharr117
Copy link
Collaborator

The primary RPC query request here is failing on some blocks:

https://github.com/DefiantLabs/cosmos-tax-cli/blob/61914814fc9d8ee7b5e2126ec8dee7f0063df82c/cmd/index.go#L332-L340

Error getting transactions by block height (17247332). Err: rpc error: code = InvalidArgument desc = failed to load state at height 17247332; version mismatch on immutable IAVL tree; version does not exist. Version has either been pruned, or is for a future block height

We may be able to fallback to the secondary query that uses the block result request and decodes in-app here:

https://github.com/DefiantLabs/cosmos-tax-cli/blob/61914814fc9d8ee7b5e2126ec8dee7f0063df82c/cmd/index.go#L346-L349

@pharr117 pharr117 added bug Something isn't working grant OGP2024 labels Jul 23, 2024
@pharr117 pharr117 self-assigned this Jul 23, 2024
@pharr117 pharr117 moved this to Todo in Defiant OSS Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working grant OGP2024
Projects
None yet
Development

No branches or pull requests

1 participant