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

Commit 52fc28e

Browse files
committed
Remove dependency on ata program from token-client
1 parent f6ac427 commit 52fc28e

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

Cargo.lock

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

token/cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ solana-logger = "2.0.3"
2828
solana-remote-wallet = "2.0.3"
2929
solana-sdk = "2.0.3"
3030
solana-transaction-status = "2.0.3"
31+
spl-associated-token-account-client = { version = "1.0.0", path = "../../associated-token-account/client" }
3132
spl-token = { version = "6.0", path = "../program", features = [
3233
"no-entrypoint",
3334
] }
@@ -38,7 +39,6 @@ spl-token-client = { version = "0.11.0", path = "../client" }
3839
spl-token-confidential-transfer-proof-generation = { version = "0.1.0", path = "../confidential-transfer/proof-generation" }
3940
spl-token-metadata-interface = { version = "0.4.0", path = "../../token-metadata/interface" }
4041
spl-token-group-interface = { version = "0.3.0", path = "../../token-group/interface" }
41-
spl-associated-token-account-client = { version = "1.0.0", path = "../../associated-token-account/client" }
4242
spl-memo = { version = "5.0", path = "../../memo/program", features = [
4343
"no-entrypoint",
4444
] }

token/client/Cargo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ solana-program-test = "2.0.3"
1919
solana-rpc-client = "2.0.3"
2020
solana-rpc-client-api = "2.0.3"
2121
solana-sdk = "2.0.3"
22-
# We never want the entrypoint for ATA, but we want the entrypoint for token when
23-
# testing token
24-
spl-associated-token-account = { version = "4.0.0", path = "../../associated-token-account/program", features = [
25-
"no-entrypoint",
26-
] }
2722
spl-associated-token-account-client = { version = "1.0.0", path = "../../associated-token-account/client" }
2823
spl-memo = { version = "5.0", path = "../../memo/program", features = [
2924
"no-entrypoint",

token/client/src/token.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ use {
2121
system_instruction,
2222
transaction::Transaction,
2323
},
24-
spl_associated_token_account::instruction::{
25-
create_associated_token_account, create_associated_token_account_idempotent,
24+
spl_associated_token_account_client::{
25+
address::get_associated_token_address_with_program_id,
26+
instruction::{
27+
create_associated_token_account, create_associated_token_account_idempotent,
28+
},
2629
},
27-
spl_associated_token_account_client::address::get_associated_token_address_with_program_id,
2830
spl_record::state::RecordData,
2931
spl_token_2022::{
3032
extension::{

0 commit comments

Comments
 (0)