-
Notifications
You must be signed in to change notification settings - Fork 65
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
(Bug?) ResponseQuery Data changed from Value to Key #156
Comments
@dferendo Thanks for the report. This change was not intentional as I can see.
A new Did the function previously panic on v7.0.0? |
No, the function was a normal balance query and the data is still correct, just stored in the wrong variable. |
Looking more into it, it seems that SerializeCosmosResponse is returning different bytes between the two versions. We checked the data in this unit test. v7.0.0 returns v7.1.1 returns We used base64 encoding to obtain the above |
Turns out this particular unit test is mostly likely returning different bytes because of the address which is different for each test run. That being said we're still experiencing this issue but haven't narrowed it down enough. |
We noticed from testing that the data encoded in the ResponseQuery on the host side was changed to be stored into Key instead of Value when changing versions from v7.0.0 to v7.1.1. The tests were ran using both osmosis and juno, unfortunately cannot provide the e2e test since it is in a private repo currently. We can spin up a test on this repo for further proof if required.
There was no mention of this change in the CHANGELOG and we were wondering whether this change was intentional. Thanks!
The text was updated successfully, but these errors were encountered: