Skip to content

deps: remove solana-sdk#94

Merged
fanatid merged 2 commits intomasterfrom
rm-sdk
Jan 14, 2026
Merged

deps: remove solana-sdk#94
fanatid merged 2 commits intomasterfrom
rm-sdk

Conversation

@fanatid
Copy link
Member

@fanatid fanatid commented Jan 13, 2026

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the monolithic solana-sdk and solana-client dependencies and replaces them with more granular Solana crate dependencies. This refactoring helps reduce the dependency footprint and makes the codebase more modular by only importing the specific functionality needed.

Changes:

  • Replaced solana-sdk with multiple granular dependencies (solana-clock, solana-pubkey, solana-signature, solana-transaction, etc.)
  • Updated import statements across 17 files to use the new dependency paths
  • Made unrelated RocksDB configuration changes (increased buffer sizes and added explanatory comments)

Reviewed changes

Copilot reviewed 19 out of 21 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
Cargo.toml Removed solana-sdk and solana-client; added 10 granular Solana dependencies
Cargo.lock Updated dependency tree with new granular dependencies and removed unused transitive dependencies
src/storage/write.rs Updated Slot import from solana_sdk to solana_clock
src/storage/sync.rs Updated Slot import from solana_sdk to solana_clock
src/storage/source.rs Updated imports for Slot and ClientError to use granular dependencies
src/storage/slots.rs Updated Slot import from solana_sdk to solana_clock
src/storage/rocksdb.rs Updated multiple imports; includes unrelated RocksDB configuration changes
src/storage/read.rs Updated imports for clock types, Pubkey, Signature, and TransactionError
src/storage/memory.rs Updated Slot import from solana_sdk to solana_clock
src/storage/blocks.rs Updated clock-related imports from solana_sdk to solana_clock
src/source/transaction.rs Updated imports for Slot, Signature, and TransactionError
src/source/stream.rs Updated Slot import from solana_sdk to solana_clock
src/source/sfa.rs Updated multiple imports to use granular dependencies; formatting issue
src/source/http.rs Updated extensive imports from solana-client and solana-sdk to granular dependencies
src/source/fees.rs Updated Pubkey and compute budget related imports
src/source/block.rs Updated imports for clock types, Pubkey, Signature, and TransactionError
src/rpc/upstream.rs Updated imports for Epoch, Slot, Pubkey, and Signature
src/rpc/api_jsonrpc.rs Updated multiple imports including MAX_TX_ACCOUNT_LOCKS path change
src/rpc/api_httpget.rs Updated Slot and Signature imports
src/bin/bench.rs Updated Slot import from solana_sdk to solana_clock
CHANGELOG.md Added entry documenting the dependency change

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@fanatid fanatid merged commit 7db5ecc into master Jan 14, 2026
2 checks passed
@fanatid fanatid deleted the rm-sdk branch January 14, 2026 00:52
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