Skip to content

fix: Prevent infinite recursion in crypto.subtle polyfill - #133

Merged
FrederikBolding merged 3 commits into
mainfrom
fb/fix-ed25519-polyfill
Aug 6, 2026
Merged

fix: Prevent infinite recursion in crypto.subtle polyfill#133
FrederikBolding merged 3 commits into
mainfrom
fb/fix-ed25519-polyfill

Conversation

@FrederikBolding

Copy link
Copy Markdown
Member

Explanation

The ed25519 polyfill in the Solana Snap is broken when anything but the ed25519 algorithm is used. This prevents us from using the newest version of key-tree which has a bunch of performance improvements.

This PR corrects the polyfill so it no longer infinitely recurses and bumps key-tree back to the latest version.

@taran-a

taran-a commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Tested with chrome extensiox on main branch.

accounts generation and addresses - ok.

@FrederikBolding
FrederikBolding marked this pull request as ready for review August 6, 2026 14:36
@FrederikBolding
FrederikBolding requested review from a team as code owners August 6, 2026 14:36
@FrederikBolding
FrederikBolding added this pull request to the merge queue Aug 6, 2026
Merged via the queue into main with commit b62ffe0 Aug 6, 2026
53 checks passed
@FrederikBolding
FrederikBolding deleted the fb/fix-ed25519-polyfill branch August 6, 2026 14:40
@ulissesferreira ulissesferreira mentioned this pull request Aug 7, 2026
4 tasks
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.

3 participants