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

cosmoshub-4 - initial support. #334

Closed
danbryan opened this issue Mar 17, 2023 · 2 comments
Closed

cosmoshub-4 - initial support. #334

danbryan opened this issue Mar 17, 2023 · 2 comments
Assignees
Labels
bug Something isn't working cosmoshub-4

Comments

@danbryan
Copy link
Collaborator

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

image

it also failed with blocks from 1 month ago with the same error
however it can do blocks from today

Is it related to this maybe?
https://github.com/DefiantLabs/cosmos-tax-cli/blob/main/go.mod#L62

@danbryan danbryan added bug Something isn't working cosmoshub-4 labels Mar 17, 2023
@danbryan danbryan moved this to Todo in Defiant OSS Mar 17, 2023
@danbryan danbryan removed the status in Defiant OSS Mar 31, 2023
@pharr117
Copy link
Collaborator

pharr117 commented Apr 3, 2023

After some initial testing where I tried to match the IAVL package version with the version specified on chain (working with Juno at the time), I believe this is a problem in specific Nodes.

According to the comment here and further down on the issue, this error can pop up in 1 of 2 ways:

  1. Node pruning is on and configured in a certain way
  2. Chain developers do not implement an upgrade correctly (see a Juno dev making comments on the same issue)

I am thinking that this is not an issue with our codebase, but can happen on specific nodes.

I will leave this open for further exploration for now, though.

@danbryan danbryan moved this to Todo in Defiant OSS Apr 4, 2023
@danbryan danbryan self-assigned this Apr 10, 2023
@danbryan
Copy link
Collaborator Author

This has been resolved by adding this patch to cosmoshub node

https://github.com/Reecepbcups/cosmos-sdk/releases/tag/v0.45.15-archive.1

@github-project-automation github-project-automation bot moved this from Todo to Done in Defiant OSS Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cosmoshub-4
Projects
None yet
Development

No branches or pull requests

2 participants