-
Notifications
You must be signed in to change notification settings - Fork 263
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
IAVL release updates #264
Comments
I didn't even realize IAVL depended on Tendermint. I would vouch to remove the dependency entirely. It seems mostly related to proof types. That seems like a code smell. Can we instead abstract this out or utilize interfaces? |
we can definitely try something like this. I agree that the tm dependency is not needed in this repo |
there are a couple options here:
This doesn't solve the importing of tmhash. TmHash is a wrapper on sha256 so this would easily be duplicated. In the future when IAVL gets a proper rewrite of sections the authors can decide on which hashing function to use, the same or new. thoughts? |
This is sort of related to the question of what to do about the IAVL proofs as they are still Amino-encoded, see #265. I'm not sure what the best approach is, but moving them to IAVL and reexporting in Tendermint seems reasonable to me. And probably making them Protobuf-encoded. As for tm-hash, duplicating should be fine. |
okay seems decided (talked with @alexanderbez, he shares the same sentiment), we move the types here. We wont be able to remove them from tm until IAVL does a release then. |
The new tendermint release is bringing countless breaking changes. Some affect this repo:
Once Tendermint 0.34 release or pre-release is out then we should update here and do a rc as well.
This is blocking IAVL release
cc @alexanderbez
The text was updated successfully, but these errors were encountered: