Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

record: Remove dependency on solana-program #7445

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

joncinque
Copy link
Contributor

Problem

It's possible to write programs without solana-program, but spl-record still has a dependency on it.

Summary of changes

Mostly straightforward, replacing the crates with their components. I also removed a dependency on spl-pod, because that brings in solana-zk-sdk, which does require solana-program currently.

Compile times on my local machine go down from ~16s to less than ~4s 🥳

#### Problem

It's possible to write programs without solana-program, but spl-record
still has a dependency on it.

#### Summary of changes

Mostly straightforward, replacing the crates with their components. I
also removed a dependency on spl-pod, because that brings in
solana-zk-sdk, which does require solana-program currently.
Copy link
Contributor

@samkim-crypto samkim-crypto left a comment

Choose a reason for hiding this comment

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

Looks good to me! solana-program is now removed from zk-sdk as well (anza-xyz/agave#3409), but that is not included in 2.1.

@joncinque joncinque merged commit 04f4942 into solana-labs:master Nov 4, 2024
7 checks passed
@joncinque joncinque deleted the nosprecord branch November 4, 2024 11:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants