11#[ cfg( not( target_os = "solana" ) ) ]
2- use solana_zk_sdk :: encryption :: pod :: elgamal :: PodElGamalPubkey ;
2+ use crate :: proof :: { process_proof_location , ProofLocation } ;
33#[ cfg( not( target_os = "solana" ) ) ]
44use solana_zk_sdk:: encryption:: { auth_encryption:: AeCiphertext , elgamal:: ElGamalPubkey } ;
55#[ cfg( not( target_os = "solana" ) ) ]
@@ -10,31 +10,26 @@ use solana_zk_sdk::zk_elgamal_proof_program::{
1010 CiphertextCiphertextEqualityProofData , CiphertextCommitmentEqualityProofData ,
1111 } ,
1212} ;
13- #[ cfg( not( target_os = "solana" ) ) ]
14- use {
15- crate :: extension:: confidential_transfer:: DecryptableBalance ,
16- bytemuck:: { Pod , Zeroable } ,
17- num_enum:: { IntoPrimitive , TryFromPrimitive } ,
18- solana_program:: pubkey:: Pubkey ,
19- solana_zk_sdk:: encryption:: pod:: auth_encryption:: PodAeCiphertext ,
20- spl_pod:: optional_keys:: OptionalNonZeroElGamalPubkey ,
21- } ;
2213#[ cfg( feature = "serde-traits" ) ]
2314use {
2415 crate :: serialization:: aeciphertext_fromstr,
2516 serde:: { Deserialize , Serialize } ,
2617} ;
27- #[ cfg( not( target_os = "solana" ) ) ]
2818use {
2919 crate :: {
3020 check_program_account,
21+ extension:: confidential_transfer:: DecryptableBalance ,
3122 instruction:: { encode_instruction, TokenInstruction } ,
32- proof:: { process_proof_location, ProofLocation } ,
3323 } ,
24+ bytemuck:: { Pod , Zeroable } ,
25+ num_enum:: { IntoPrimitive , TryFromPrimitive } ,
3426 solana_program:: {
3527 instruction:: { AccountMeta , Instruction } ,
3628 program_error:: ProgramError ,
29+ pubkey:: Pubkey ,
3730 } ,
31+ solana_zk_sdk:: encryption:: pod:: { auth_encryption:: PodAeCiphertext , elgamal:: PodElGamalPubkey } ,
32+ spl_pod:: optional_keys:: OptionalNonZeroElGamalPubkey ,
3833} ;
3934
4035/// Confidential Transfer extension instructions
@@ -281,7 +276,6 @@ pub struct BurnInstructionData {
281276}
282277
283278/// Create a `InitializeMint` instruction
284- #[ cfg( not( target_os = "solana" ) ) ]
285279pub fn initialize_mint (
286280 token_program_id : & Pubkey ,
287281 mint : & Pubkey ,
@@ -304,7 +298,6 @@ pub fn initialize_mint(
304298}
305299
306300/// Create a `UpdateMint` instruction
307- #[ cfg( not( target_os = "solana" ) ) ]
308301pub fn update_authority (
309302 token_program_id : & Pubkey ,
310303 mint : & Pubkey ,
0 commit comments