-
Notifications
You must be signed in to change notification settings - Fork 140
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
chore: update to 0.47 #337
Conversation
hello all, can someone review this so we can pull it into our ibc-go update to 0.47? that would be much appreciated!! currently we are working off of @julienrbrt 's fork |
Sure! The changes look good, but there are some breaking changes also. Happy to get this merged once CI is passing.
|
@agouin could you create a v0.47 branch in this repo? This way this PR can be merged there, and we can collaboratively push fixes. |
Do we think the tests require an update to the cosmos/relayer? |
@@ -13,8 +13,8 @@ func AttributeValue(events []abcitypes.Event, eventType, attrKey string) (string | |||
continue | |||
} | |||
for _, attr := range event.Attributes { | |||
if string(attr.Key) == attrKey { | |||
return string(attr.Value), true | |||
if attr.Key == attrKey { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did some troubleshooting here. Printed out both sides of this "if" and it looked like this:
attr.Key
= cGFja2V0X2RhdGE=
attrKey
= packet_sequence
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! What chain binaries did you use to test this? It seems tendermint changed the event attribute key to be string instead of []byte. I'm wondering if the binary used is using a tendermint v0.37-rc2?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @colin-axner.
I was just using the TestLearn
in examples/ibc/learn_ibc_test.go. It's using some older versions:
gaia: v7.0.0
osmosis: v11.0.0
Sure! I pushed this v0.47 branch to our repo |
Thank you! Could you open a PR from that v0.47 branch to main? I will close this in favor of that. |
Description
update to sdk 0.47
branch to be used to update e2e tests ibc-go: cosmos/ibc-go#2672
Checklist
Changes
Screenshots
...
Testing
Links/References
Notes