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

Commit efc68c3

Browse files
authored
token-2022: Bump to v2 (#6187)
1 parent 8938033 commit efc68c3

File tree

17 files changed

+32
-32
lines changed

17 files changed

+32
-32
lines changed

Cargo.lock

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

associated-token-account/program-test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ solana-program-test = ">=1.17.13,<=2"
1616
solana-sdk = ">=1.17.13,<=2"
1717
spl-associated-token-account = { version = "2", path = "../program", features = ["no-entrypoint"] }
1818
spl-token = { version = "4.0", path = "../../token/program", features = ["no-entrypoint"] }
19-
spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
19+
spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = ["no-entrypoint"] }

associated-token-account/program/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ num-derive = "0.4"
1818
num-traits = "0.2"
1919
solana-program = ">=1.17.13,<=2"
2020
spl-token = { version = "4.0", path = "../../token/program", features = ["no-entrypoint"] }
21-
spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
21+
spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
2222
thiserror = "1.0"
2323

2424
[lib]

stake-pool/program/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ solana-program = ">=1.17.13,<=2"
2424
solana-security-txt = "1.1.1"
2525
spl-math = { version = "0.2", path = "../../libraries/math", features = [ "no-entrypoint" ] }
2626
spl-pod = { version = "0.1", path = "../../libraries/pod", features = ["borsh"] }
27-
spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = [ "no-entrypoint" ] }
27+
spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = [ "no-entrypoint" ] }
2828
thiserror = "1.0"
2929
bincode = "1.3.1"
3030

token-collection/program/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ test-sbf = []
1515
solana-program = ">=1.17.13,<=2"
1616
spl-pod = { version = "0.1.0", path = "../../libraries/pod" }
1717
spl-program-error = { version = "0.3.0" , path = "../../libraries/program-error" }
18-
spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
18+
spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
1919
spl-token-group-example = { version = "0.1.0", path = "../../token-group/example", features = ["no-entrypoint"] }
2020
spl-token-group-interface = { version = "0.1.0", path = "../../token-group/interface" }
2121
spl-token-metadata-interface = { version = "0.2", path = "../../token-metadata/interface" }

token-group/example/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ test-sbf = []
1414
[dependencies]
1515
solana-program = ">=1.17.13,<=2"
1616
spl-pod = { version = "0.1.0", path = "../../libraries/pod" }
17-
spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
17+
spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
1818
spl-token-group-interface = { version = "0.1.0", path = "../interface" }
1919
spl-type-length-value = { version = "0.3.0", path = "../../libraries/type-length-value" }
2020

token-metadata/example/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ test-sbf = []
1313

1414
[dependencies]
1515
solana-program = ">=1.17.13,<=2"
16-
spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
16+
spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
1717
spl-token-metadata-interface = { version = "0.2.0", path = "../interface" }
1818
spl-type-length-value = { version = "0.3.0" , path = "../../libraries/type-length-value" }
1919
spl-pod = { version = "0.1.0", path = "../../libraries/pod" }

token-swap/program/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ num-traits = "0.2"
2020
solana-program = ">=1.17.13,<=2"
2121
spl-math = { version = "0.2", path = "../../libraries/math", features = [ "no-entrypoint" ] }
2222
spl-token = { version = "4.0", path = "../../token/program", features = [ "no-entrypoint" ] }
23-
spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = [ "no-entrypoint" ] }
23+
spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = [ "no-entrypoint" ] }
2424
thiserror = "1.0"
2525
arbitrary = { version = "1.3", features = ["derive"], optional = true }
2626
roots = { version = "0.0.8", optional = true }

token-upgrade/cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ solana-remote-wallet = ">=1.17.13,<=2"
2121
solana-sdk = ">=1.17.13,<=2"
2222
spl-associated-token-account = { version = "2.0", path = "../../associated-token-account/program", features = ["no-entrypoint"] }
2323
spl-token = { version = "4.0", path = "../../token/program", features = ["no-entrypoint"] }
24-
spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
24+
spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
2525
spl-token-client = { version = "0.8", path = "../../token/client" }
2626
spl-token-upgrade = { version = "0.1", path = "../program", features = ["no-entrypoint"] }
2727
tokio = { version = "1", features = ["full"] }

token-upgrade/program/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ num-derive = "0.4"
1616
num-traits = "0.2"
1717
num_enum = "0.7.2"
1818
solana-program = ">=1.17.13,<=2"
19-
spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
19+
spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
2020
thiserror = "1.0"
2121

2222
[dev-dependencies]

0 commit comments

Comments
 (0)