-
Notifications
You must be signed in to change notification settings - Fork 322
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 client-traits crate #3829
Conversation
If this PR represents a change to the public RPC API:
Thank you for keeping the RPC clients in sync with the server API @kevinheavey. |
4d59e85
to
5441a7f
Compare
5441a7f
to
cd8936c
Compare
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.
@yihau can you accept ownership of solana-client-traits
? This is very close
sdk/client-traits/src/lib.rs
Outdated
solana_hash::Hash, | ||
solana_instruction::Instruction, | ||
solana_keypair::Keypair, | ||
solana_program::{message::Message, system_instruction::transfer}, |
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.
Let's use solana_message
and solana_system_interface
to remove the solana-program
dependency
sdk/client-traits/Cargo.toml
Outdated
solana-hash = { workspace = true } | ||
solana-instruction = { workspace = true } | ||
solana-keypair = { workspace = true } | ||
solana-program = { workspace = true } |
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.
Same here: solana-message / solana-system-interface instead
65f0ce5
to
33931bb
Compare
Problem
solana_sdk::client
imposes asolana_sdk
dep onsolana_rpc_client
Summary of Changes
Move to its own crate and re-export with deprecation
This branches off #3634 so that needs to be merged first (update: done)