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 fallback method for RPC failures due to proto definition changes #490

Open
pharr117 opened this issue Sep 26, 2023 · 2 comments
Open
Assignees
Labels
bug Something isn't working osmosis-1

Comments

@pharr117
Copy link
Collaborator

We have a consistent block failure at this transaction:

Block: 11093463
TX; 70107CA62C58B44D20BF8894666E1D149CEB0C429B027D519EB5BF45CF53F84A

The root cause of this one is that Osmosis changed the fields on the proto definition of one of their custom Proposal types. Due to this, the gov module cannot decode the TX during RPC requests and the RPC request fails.

See here for their removed field.

The solution for this one will be slightly complex because we will need to take into account:

  1. The fact that the Node itself cannot decode the message
  2. Our Lens codebase will not be able to decode the message either
@pharr117 pharr117 added bug Something isn't working osmosis-1 labels Sep 26, 2023
@pharr117 pharr117 self-assigned this Sep 26, 2023
@pharr117 pharr117 moved this to Todo in Defiant OSS Sep 26, 2023
@pharr117
Copy link
Collaborator Author

The exact error message is:

ERR Error getting transactions by block height (11093463). Err: rpc error: code = InvalidArgument desc = errUnknownField "*types.PoolRecord": {TagNum: 4, WireType:"bytes"}: tx parse error: invalid request. Will reattempt

@danbryan
Copy link
Collaborator

curious if can mintscan can decode it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working osmosis-1
Projects
None yet
Development

No branches or pull requests

2 participants