-
Notifications
You must be signed in to change notification settings - Fork 224
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
Cannot properly parse block #1403
Comments
Right, looks like we have such checks here: tendermint-rs/tendermint/src/block.rs Lines 113 to 122 in f11a1be
Perhaps they should be bypassed when constructing a |
I just opened a draft PR with a tentative fix. If you add the following lines at the end of [patch.crates-io]
tendermint = { git = "https://github.com/informalsystems/tendermint-rs.git", branch = "romac/allow-misformed-block" }
tendermint-rpc = { git = "https://github.com/informalsystems/tendermint-rs.git", branch = "romac/allow-misformed-block" }
tendermint-proto = { git = "https://github.com/informalsystems/tendermint-rs.git", branch = "romac/allow-misformed-block" }
tendermint-config = { git = "https://github.com/informalsystems/tendermint-rs.git", branch = "romac/allow-misformed-block" } |
It is working! Awesome. I really didn't expect to have a solution so fast. 5 stars |
What went wrong?
We are trying to use tendermint httpclient to query blocks. After a hardfork we are querying the new genesis block but have this error:
Steps to reproduce
(If needed I can provide a minimal example)
Definition of "done"
Allowing parsing any kind of blocks regardless if they have empty commit or not.
The text was updated successfully, but these errors were encountered: