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

Improve Solana address codec modifier to handle all valid base58 keys #988

Merged
merged 2 commits into from
Dec 20, 2024

Conversation

ilija42
Copy link
Contributor

@ilija42 ilija42 commented Dec 20, 2024

Description

Solana codec address modifier only handled base58 encoded addresses of size 44, which doesn’t cover all valid addresses.

This PR fixes address size handling and adds an additonal zero address check and an ed25519 curve check for addresses of valid size.

@ilija42 ilija42 requested a review from jadepark-dev December 20, 2024 16:10
@jadepark-dev jadepark-dev merged commit 99fd0e4 into develop Dec 20, 2024
36 checks passed
@jadepark-dev jadepark-dev deleted the NONEVM-1077-Fix-address-codec-modifier branch December 20, 2024 16:16
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.

5 participants