Skip to content

Comments

[pod] Remove OptionalNonZeroElGamalPubkey#171

Open
samkim-crypto wants to merge 1 commit intosolana-program:mainfrom
samkim-crypto:deprecate-zk-sdk
Open

[pod] Remove OptionalNonZeroElGamalPubkey#171
samkim-crypto wants to merge 1 commit intosolana-program:mainfrom
samkim-crypto:deprecate-zk-sdk

Conversation

@samkim-crypto
Copy link
Contributor

@samkim-crypto samkim-crypto commented Jan 25, 2026

Problem

The spl-pod crate depends on the solana-zk-sdk and all of its heavy cryptographic dependencies even though it does not contain any cryptographic code. This is because spl-pod supports OptionalNonZeroElGamalPubkey. It would be better if OptionalNonZeroElGamalPubkey is moved directly into the solana-zk-sdk so that spl-pod can remove the dependency on solana-zk-sdk.

Summary of Changes

Remove OptionalNonZeroElGamalPubkey.

@grod220 grod220 mentioned this pull request Feb 24, 2026
5 tasks
@grod220
Copy link
Member

grod220 commented Feb 24, 2026

Given the upcoming breaking change, think we can just remove this entirely and not have the deprecation warning.

@samkim-crypto samkim-crypto force-pushed the deprecate-zk-sdk branch 4 times, most recently from 432c0da to c9e4f7e Compare February 24, 2026 21:56
@samkim-crypto samkim-crypto changed the title [pod] Deprecate OptionalNonZeroElGamalPubkey [pod] Remove OptionalNonZeroElGamalPubkey Feb 24, 2026
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