Skip to content

deps: Remove all agave dependencies#105

Merged
joncinque merged 1 commit intosolana-program:mainfrom
joncinque:noagave
Aug 1, 2025
Merged

deps: Remove all agave dependencies#105
joncinque merged 1 commit intosolana-program:mainfrom
joncinque:noagave

Conversation

@joncinque
Copy link
Contributor

@joncinque joncinque commented Jul 30, 2025

Problem

In order to publish the v3 SDK crates and have them usable in Agave, we also need to have SPL crates using the v3 SDK crates. However, we have a circular dependency between Agave and SPL which currently makes this impossible.

You can see more info about the project at https://github.com/orgs/anza-xyz/projects/27

The libraries are pretty simple, since they just have some dev dependencies on Agave crates.

Summary of changes

Remove Agave dependencies in this repo:

  • solana-program-test: unused except for tokio
  • solana-zk-sdk: this has been moved out to its own repo as of v3
  • solana-client: only used for a doctest, so I just changed it to not use the RPC client

Look at the beautiful red lines in the lockfile!

#### Problem

In order to publish the v3 SDK crates and have them usable in Agave, we
also need to have SPL crates using the v3 SDK crates. However, we have a
circular dependency between Agave and SPL which currently makes this
impossible.

You can see more info about the project at https://github.com/orgs/anza-xyz/projects/2
7

The libraries are pretty simple, since they just have some dev
dependencies on Agave crates.

#### Summary of changes

Remove Agave dependencies in this repo:

* solana-program-test: unused except for tokio
* solana-zk-sdk: this has been moved out to its own repo as of v3
* solana-client: only used for a doctest, so I just changed it to not
  use the RPC client
@joncinque joncinque requested a review from buffalojoec July 30, 2025 22:16
Copy link
Contributor

@buffalojoec buffalojoec left a comment

Choose a reason for hiding this comment

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

Woohoo! 🎉

@joncinque joncinque merged commit fb4ac75 into solana-program:main Aug 1, 2025
29 checks passed
@joncinque joncinque deleted the noagave branch August 1, 2025 10:04
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