Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit d5890aa

Browse files
committed
remove unnecessary error module and fix token-client dependency
1 parent 40d0b38 commit d5890aa

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

Cargo.lock

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

token/client/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ spl-record = { version = "0.2.1", path = "../../record/program", features = ["no
2727
spl-token = { version = "6.0", path = "../program", features = [
2828
"no-entrypoint",
2929
] }
30+
spl-token-confidential-transfer-proof-extraction = { version = "0.1.0", path = "../confidential-transfer/proof-extraction" }
3031
spl-token-confidential-transfer-proof-generation = { version = "0.1.0", path = "../confidential-transfer/proof-generation" }
3132
spl-token-2022 = { version = "5.0.2", path = "../program-2022" }
3233
spl-token-group-interface = { version = "0.4.2", path = "../../token-group/interface" }

token/client/src/token.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ use {
4747
BaseStateWithExtensions, Extension, ExtensionType, StateWithExtensionsOwned,
4848
},
4949
instruction, offchain,
50-
proof::{zk_proof_type_to_instruction, ProofData, ProofLocation},
5150
solana_zk_sdk::{
5251
encryption::{
5352
auth_encryption::AeKey,
@@ -63,6 +62,9 @@ use {
6362
},
6463
state::{Account, AccountState, Mint, Multisig},
6564
},
65+
spl_token_confidential_transfer_proof_extraction::{
66+
zk_proof_type_to_instruction, ProofData, ProofLocation,
67+
},
6668
spl_token_confidential_transfer_proof_generation::{
6769
transfer::TransferProofData, transfer_with_fee::TransferWithFeeProofData,
6870
withdraw::WithdrawProofData,

token/confidential-transfer/elgamal-registry/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
mod entrypoint;
2-
pub mod error;
32
pub mod instruction;
43
pub mod processor;
54
pub mod state;

0 commit comments

Comments
 (0)