-
Notifications
You must be signed in to change notification settings - Fork 225
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
tendermint: Change EventAttribute
's key
and value
fields to Vec<u8>
for Tendermint v0.34
#1405
Conversation
b5f5d52
to
8d37e72
Compare
…ems#1405) 0.34 doesn't enforce UTF8 for event attribute values. Adding a Vec<u8> for those, and keeping String for later versions.
8d37e72
to
c3f20de
Compare
…ems#1400) 0.34 doesn't enforce UTF8 for event attribute values. Adding a Vec<u8> for those, and keeping String for later versions.
c3f20de
to
ebec464
Compare
@penso Great work, thanks so much! I did a few follow-up fixes, notably for the |
Before merging this I would like to get a few more eyes on this, as this is a pretty substantial breaking change and that I am not 100% convinced yet that this works for all uses cases. @hdevalence @tony-iqlusion @ancazamfir @soareschen If any or all of you could take a look at this PR whenever you have some spare time, it would be much appreciated 💐 |
On my side, I will try to integrate this into Hermes before we merge, and see how that goes. |
EventAttribute
's key
and value
fields to Vec<u8>
for Tendermint v0.34
Glad it helped, didn't think about the |
cc @erwanor |
I wonder if we should get rid of |
Co-authored-by: Erwan Or <erwan.ounn.84@gmail.com>
Co-authored-by: Erwan Or <erwan.ounn.84@gmail.com>
I took a quick look, and here are some of my thoughts:
|
In the interest of getting this merged quickly, let's go ahead with the current solution and see if we can improve on it later on based on @soareschen's suggestions. |
* Adapt to upcoming changes in tendermint-rs regarding `EventAttribute` keys and values informalsystems/tendermint-rs#1405 * Update tendermint-rs to 0.36.0 * Remove ibc-proto patch
Fixes #1400
.changelog/