Skip to content
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

5.0 cleos cannot handle reponses from pre-5.0 nodes containing base64 (and vice versa I believe) #1883

Closed
spoonincode opened this issue Nov 9, 2023 · 1 comment · Fixed by #1886 or #1891
Assignees
Labels
bug Something isn't working 👍 lgtm OCI Work exclusive to OCI team
Milestone

Comments

@spoonincode
Copy link
Member

There appears to be an incompatibility introduced with #1482 where a 5.0 cleos is unable to decode base64 responses from a pre-5.0 nodeos containing the invalid = postfix. I believe this might also might be broken in the other direction too (a pre-5.0 cleos being unable to decode a 5.0 response).

The easiest way to reproduce the problem is via cleos get code eosio.token on EOS mainnet; it currently exhibits the problem.

@spoonincode spoonincode added the bug Something isn't working label Nov 9, 2023
@bhazzard
Copy link

bhazzard commented Nov 9, 2023

Create backport patches applying #1482 to 3.2, and 4.0.

Ensure this underlying code doesn't impact consensus (we believe its caused by an issue with line 493 of fc::variant)

@bhazzard bhazzard added this to the Leap v3.2.5 milestone Nov 9, 2023
@bhazzard bhazzard added 👍 lgtm and removed triage labels Nov 9, 2023
@heifner heifner added the OCI Work exclusive to OCI team label Nov 9, 2023
@heifner heifner linked a pull request Nov 10, 2023 that will close this issue
heifner added a commit that referenced this issue Nov 13, 2023
heifner added a commit that referenced this issue Nov 13, 2023
[5.0 -> main] Revert "Fix base64 encoding"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 👍 lgtm OCI Work exclusive to OCI team
Projects
Archived in project
4 participants