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

make bank_client optional in tps-client #4390

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kevinheavey
Copy link

@kevinheavey kevinheavey commented Jan 10, 2025

Problem

The tps-client crate brings in really heavy dependencies (solana-runtime) in bank_client.rs. Most usage of tps-client doesn't need this, in particular solana-cli which will have way lighter deps when this gets merged

Summary of Changes

  • Put solana_tps_client::bank_client behind a feature gate. This can't be moved to a separate crate because you run into orphan rule problems
  • Activate this feature in the one place it's needed: bench-tps

@kevinheavey kevinheavey force-pushed the tps-client-bank-client-optional branch 2 times, most recently from a62b43c to 9b3ec79 Compare January 10, 2025 23:39
@kevinheavey kevinheavey force-pushed the tps-client-bank-client-optional branch from 9b3ec79 to 84662df Compare January 11, 2025 14:05
@kevinheavey kevinheavey marked this pull request as ready for review January 11, 2025 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant