Skip to content

Conversation

Amxx
Copy link
Collaborator

@Amxx Amxx commented Jun 23, 2025

Fixes #4287

Note: this uses a different decoding table than solady. It might not be as efficient, but its a method I 100% understand and can explain. The solady method feels like magic to me ... but maybe its magic we want.

Note that changing the decoding method can always be done at a later stage. It should be backward compatible anyway

PR Checklist

  • Tests
  • Documentation
  • Changeset entry (run npx changeset add)

@Amxx Amxx requested review from arr00 and james-toussaint June 23, 2025 21:22
@Amxx Amxx requested a review from a team as a code owner June 23, 2025 21:22
Copy link

changeset-bot bot commented Jun 23, 2025

🦋 Changeset detected

Latest commit: 8a43352

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
openzeppelin-solidity Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Amxx Amxx added this to the 5.5 milestone Jun 27, 2025
arr00
arr00 previously approved these changes Aug 22, 2025
@Amxx Amxx requested a review from ernestognw August 25, 2025 08:54
@Amxx
Copy link
Collaborator Author

Amxx commented Sep 1, 2025

For the record, this is how the lookup table are computed: https://gist.github.com/Amxx/ae43dc9dc24427f364c9d5789ad65896

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: Base64.decode
2 participants