-
Notifications
You must be signed in to change notification settings - Fork 148
Use Address instead of Pubkey in more places #346
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
Conversation
|
If this PR represents a change to the sysvar layout, please open a follow-up PR to update the JavaScript client |
febo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really good! Noticed that some of the crates are still referencing solana_pubkey – I guess they will be eventually updated in a separate PR.
|
Yeah exactly, this change is the base of what's required to make pubkey no-std without breaking things. We'll have to make more changes later |
#### Problem The sdk repo still uses Pubkey mostly, which makes it tougher to make more of the SDK no-std. #### Summary of changes Use Address in more places, to avoid adding the std feature on solana-pubkey as much as possible.
|
If this PR represents a change to the sysvar layout, please open a follow-up PR to update the JavaScript client |
febo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
Problem
The sdk repo still uses Pubkey mostly, which makes it tougher to make more of the SDK no-std.
Summary of changes
Use Address in more places, to avoid adding the std feature on solana-pubkey as much as possible.
This will help #302 land with minimal additional changes.