Skip to content

Conversation

@joncinque
Copy link
Collaborator

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.

@joncinque joncinque requested a review from febo September 29, 2025 21:02
@github-actions
Copy link
Contributor

If this PR represents a change to the sysvar layout, please open a follow-up PR to update the JavaScript client @solana/sysvars (example)
Thank you for keeping the JavaScript clients in sync with the Rust clients.

@joncinque joncinque changed the title Use address Use Address instead of Pubkey in more places Sep 29, 2025
febo
febo previously approved these changes Sep 30, 2025
Copy link
Contributor

@febo febo left a 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.

@joncinque
Copy link
Collaborator Author

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.
@github-actions
Copy link
Contributor

github-actions bot commented Oct 1, 2025

If this PR represents a change to the sysvar layout, please open a follow-up PR to update the JavaScript client @solana/sysvars (example)
Thank you for keeping the JavaScript clients in sync with the Rust clients.

@joncinque joncinque requested a review from febo October 1, 2025 16:25
Copy link
Contributor

@febo febo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@joncinque joncinque merged commit 8199ee8 into anza-xyz:master Oct 1, 2025
27 checks passed
@joncinque joncinque deleted the use-address branch October 1, 2025 22:03
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.

2 participants