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 system-transaction crate #3834

Merged
merged 4 commits into from
Dec 5, 2024

Conversation

kevinheavey
Copy link

Problem

solana_sdk::system_transaction imposes a solana-sdk dep in various places

Summary of Changes

Move to its own crate and re-export with deprecation

This branches off #3634 so that needs to be merged first

Copy link

mergify bot commented Nov 28, 2024

If this PR represents a change to the public RPC API:

  1. Make sure it includes a complementary update to rpc-client/ (example)
  2. Open a follow-up PR to update the JavaScript client @solana/web3.js (example)

Thank you for keeping the RPC clients in sync with the server API @kevinheavey.

@kevinheavey kevinheavey force-pushed the extract-system-transaction branch 2 times, most recently from e57d501 to 497b8d2 Compare December 4, 2024 09:48
@kevinheavey kevinheavey marked this pull request as ready for review December 4, 2024 09:48
@kevinheavey kevinheavey force-pushed the extract-system-transaction branch from 29485ec to b609c93 Compare December 4, 2024 18:49
joncinque
joncinque previously approved these changes Dec 5, 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 good to me! We could eventually move this into the solana-program/system repo, but I think this crate is more meant for internal usage, so let's keep it in the monorepo for now.

@yihau can you accept ownership of solana-system-transaction?

cc @febo

sdk/Cargo.toml Outdated
@@ -175,6 +175,7 @@ solana-signature = { workspace = true, features = [
"verify",
], optional = true }
solana-signer = { workspace = true, optional = true }
solana-system-transaction = { workspace = true }

Choose a reason for hiding this comment

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

Ah sorry, I missed this -- the new crate should be optional and added under the "full" feature. That's why CI is failing to build sdk in BPF

@joncinque joncinque added the automerge automerge Merge this Pull Request automatically once CI passes label Dec 5, 2024
Copy link

mergify bot commented Dec 5, 2024

automerge label removed due to a CI failure

@mergify mergify bot removed the automerge automerge Merge this Pull Request automatically once CI passes label Dec 5, 2024
@yihau yihau added the automerge automerge Merge this Pull Request automatically once CI passes label Dec 5, 2024
@mergify mergify bot merged commit 3069e0c into anza-xyz:master Dec 5, 2024
55 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.

3 participants