Skip to content

Commit a2ce908

Browse files
[zk-sdk] Remove zk-sdk from the repo (anza-xyz#7126)
* remove zk-sdk * additional clean up in `Cargo.toml` * remove `solana-zk-sdk` dependency from `solana-bpf-programs` since it is not used
1 parent 09b756d commit a2ce908

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+10
-12949
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ members = [
140140
"wen-restart",
141141
"xdp",
142142
"zk-keygen",
143-
"zk-sdk",
144143
"zk-token-sdk",
145144
]
146145

@@ -562,7 +561,7 @@ solana-vote-program = { path = "programs/vote", version = "=3.0.0", default-feat
562561
solana-wen-restart = { path = "wen-restart", version = "=3.0.0" }
563562
solana-zk-elgamal-proof-program = { path = "programs/zk-elgamal-proof", version = "=3.0.0" }
564563
solana-zk-keygen = { path = "zk-keygen", version = "=3.0.0" }
565-
solana-zk-sdk = { path = "zk-sdk", version = "=3.0.0" }
564+
solana-zk-sdk = "3.0.0"
566565
solana-zk-token-proof-program = { path = "programs/zk-token-proof", version = "=3.0.0" }
567566
solana-zk-token-sdk = { path = "zk-token-sdk", version = "=3.0.0" }
568567
spl-associated-token-account = "7.0.0"
@@ -678,4 +677,3 @@ crossbeam-epoch = { git = "https://github.com/anza-xyz/crossbeam", rev = "fd279d
678677
# There is a similar override in `programs/sbf/Cargo.toml`. Please keep both
679678
# comments and the overrides in sync.
680679
solana-curve25519 = { path = "curves/curve25519" }
681-
solana-zk-sdk = { path = "zk-sdk" }

programs/sbf/Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

programs/sbf/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ solana-transaction-status = { path = "../../transaction-status", version = "=3.0
169169
solana-type-overrides = { path = "../../type-overrides", version = "=3.0.0" }
170170
solana-vote = { path = "../../vote", version = "=3.0.0" }
171171
solana-vote-program = { path = "../../programs/vote", version = "=3.0.0" }
172-
solana-zk-sdk = { path = "../../zk-sdk", version = "=3.0.0" }
173172
thiserror = "1.0"
174173

175174
[features]
@@ -301,4 +300,3 @@ name = "bpf_loader"
301300
# There is a similar override in `../../Cargo.toml`. Please keep both comments
302301
# and the overrides in sync.
303302
solana-curve25519 = { path = "../../curves/curve25519" }
304-
solana-zk-sdk = { path = "../../zk-sdk" }

scripts/patch-crates.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ update_solana_dependencies() {
7171
solana-udp-client
7272
solana-version
7373
solana-zk-token-sdk
74-
solana-zk-sdk
7574
solana-curve25519
7675
)
7776

@@ -160,7 +159,6 @@ patch_crates_io_solana_no_header() {
160159
crates_map+=("solana-udp-client udp-client")
161160
crates_map+=("solana-version version")
162161
crates_map+=("solana-zk-token-sdk zk-token-sdk")
163-
crates_map+=("solana-zk-sdk zk-sdk")
164162
crates_map+=("solana-bn254 curves/bn254")
165163
crates_map+=("solana-curve25519 curves/curve25519")
166164
crates_map+=("solana-secp256k1-recover curves/secp256k1-recover")

svm/examples/Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

svm/examples/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,3 @@ yaml-rust = "0.4"
8080
[patch.crates-io]
8181
crossbeam-epoch = { git = "https://github.com/anza-xyz/crossbeam", rev = "fd279d707025f0e60951e429bf778b4813d1b6bf" }
8282
solana-curve25519 = { path = "../../curves/curve25519" }
83-
solana-zk-sdk = { path = "../../zk-sdk" }

zk-sdk/Cargo.toml

Lines changed: 0 additions & 57 deletions
This file was deleted.

zk-sdk/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# PLEASE READ: This repo no longer contains the Solana ZK-SDK
2+
3+
The solana-zk-sdk is currently developed at https://github.com/solana-program/zk-elgamal-proof.

0 commit comments

Comments
 (0)