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

[3.2 -> 4.0] Do not require trailing = for base64 encoded strings #1892

Merged
merged 3 commits into from
Nov 13, 2023

Conversation

heifner
Copy link
Member

@heifner heifner commented Nov 13, 2023

All previous versions of nodeos required a trailing = for base64 encoded strings. fc::variant appends an extra = for all of its base64 encoded strings. However, non-fc base64 encoders do not add an extra = when one is not needed. This PR modifies fc::variant to support non-fc base64 encoded strings that do not have the extra =.

In 5.0, fc::variant was updated to not add the extra = to base64 encoded strings. See #1888. This PR allows nodeos to support the new 5.0 version of base64 encoded strings.

Merges release/3.2 into release/4.0 including #1889

Issue #1461

@heifner heifner added the OCI Work exclusive to OCI team label Nov 13, 2023
@heifner heifner merged commit e41fbb7 into release/4.0 Nov 13, 2023
16 checks passed
@heifner heifner deleted the GH-1461-base64-4.0 branch November 13, 2023 21:41
@heifner heifner added this to the Leap v4.0.5 milestone Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants