Giter Club home page Giter Club logo

Comments (4)

Reecepbcups avatar Reecepbcups commented on July 17, 2024

@dferendo Thanks for the report. This change was not intentional as I can see.
The only file that was modified with any reference to abci.ResponseQuery is:

git diff modules/async-icq/v7.0.0 modules/async-icq/v7.1.1 -- modules/async-icq/keeper/relay.go > ~/Desktop/relay.diff

image

A new applyFuncIfNoError was added but nothing in the function indicates to me why it would swap key / value pairings here. executeQuery remains untouched... hmm

Did the function previously panic on v7.0.0?

from ibc-apps.

dferendo avatar dferendo commented on July 17, 2024

No, the function was a normal balance query and the data is still correct, just stored in the wrong variable.

from ibc-apps.

dferendo avatar dferendo commented on July 17, 2024

@Reecepbcups

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
eyJkYXRhIjoiQ2dRNkFoSUEifQ==

v7.1.1 returns
eyJkYXRhIjoiQ2dReUFoSUEifQ==

We used base64 encoding to obtain the above base64.StdEncoding.EncodeToString(bz).

from ibc-apps.

migueldingli1997 avatar migueldingli1997 commented on July 17, 2024

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.

from ibc-apps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.