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

extract native-token crate #3072

Merged
merged 3 commits into from
Oct 15, 2024
Merged

Conversation

kevinheavey
Copy link

Problem

solana_program::native_token imposes a solana_program requirement on solana_svm and also blocks moving out solana_program::fee

Summary of Changes

Move to its own crate and re-export for backwards compatibility

@kevinheavey kevinheavey force-pushed the extract-native-token branch 3 times, most recently from fb2b2ee to 8ed5880 Compare October 8, 2024 12:37
Copy link

@joncinque joncinque 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, thanks! @yihau, can you accept ownership of solana-native-token once it's passed over?

@@ -183,7 +183,6 @@
//! [ed25519]: https://ed25519.cr.yp.to/
//! [`Keypair`]: https://docs.rs/solana-sdk/latest/solana_sdk/signer/keypair/struct.Keypair.html
//! [SHA-256]: https://en.wikipedia.org/wiki/SHA-2
//! [`Sol`]: native_token::Sol

Choose a reason for hiding this comment

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

Shouldn't this still work thanks to the re-export? If not, we should remove all of the other links here too (can be done in another PR though)

Copy link
Author

@kevinheavey kevinheavey Oct 15, 2024

Choose a reason for hiding this comment

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

yeah i don't remember why that line got deleted. Adding it back

@kevinheavey kevinheavey added the automerge automerge Merge this Pull Request automatically once CI passes label Oct 15, 2024
Copy link

@joncinque joncinque 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!

@mergify mergify bot merged commit a3b2c78 into anza-xyz:master Oct 15, 2024
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge automerge Merge this Pull Request automatically once CI passes need:merge-assist
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants