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

replace solana-client with its constituent parts where possible #2086

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

kevinheavey
Copy link

@kevinheavey kevinheavey commented Jul 10, 2024

Problem

solana-client agglomerates multiple crates, so anywhere we can use the underlying crate instead of solana-client is a win for compile times, or at least gets us closer to removing solana-client from a particular crate

Summary of Changes

Replaces solana-client with underlying crates where possible. I was hoping there'd be more but this is something

Copy link

@CriesofCarrots CriesofCarrots left a comment

Choose a reason for hiding this comment

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

Too bad those solana-client re-exports weren't actually marked as deprecated. Would have been lovely to just rip them out in #1992

@@ -36,6 +36,7 @@ solana-cli-output = { workspace = true }
solana-client = { workspace = true }

Choose a reason for hiding this comment

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

It would be nice if we could remove this dependency from solana-cli altogether. It's the send-transaction stuff in program that's preventing that?

Copy link
Author

Choose a reason for hiding this comment

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

that plus connection_cache I think

@CriesofCarrots CriesofCarrots merged commit 0b6f4a0 into anza-xyz:master Jul 16, 2024
51 checks passed
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.

2 participants