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

sdk: Implement borsh traits via a proxy crate #149

Open
joncinque opened this issue Mar 8, 2024 · 0 comments
Open

sdk: Implement borsh traits via a proxy crate #149

joncinque opened this issue Mar 8, 2024 · 0 comments

Comments

@joncinque
Copy link

This is a copy of solana-labs#32668

Problem

solana-labs#32511 adds the borsh 0.9 traits to Pubkey, but because of how the crate name is resolved in the macro, the implementations for the older traits have to be done by hand, which is error-prone and tedious.

Proposed Solution

Implement the traits via a proxy crate, just like https://github.com/ilya-bobyr/borsh-multi-version/

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

No branches or pull requests

1 participant