Skip to content

Commit

Permalink
token-2022: Bump to v4 for Solana v2 compatibility (#6930)
Browse files Browse the repository at this point in the history
  • Loading branch information
joncinque authored Jun 25, 2024
1 parent 76bb0c8 commit d0f48a6
Show file tree
Hide file tree
Showing 17 changed files with 60 additions and 60 deletions.
88 changes: 44 additions & 44 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion associated-token-account/program-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ solana-program-test = "2.0.0"
solana-sdk = "2.0.0"
spl-associated-token-account = { version = "3.0.2", path = "../program", features = ["no-entrypoint"] }
spl-token = { version = "6.0", path = "../../token/program", features = ["no-entrypoint"] }
spl-token-2022 = { version = "3.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-2022 = { version = "4.0.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
2 changes: 1 addition & 1 deletion associated-token-account/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ solana-program = "2.0.0"
spl-token = { version = "6.0", path = "../../token/program", features = [
"no-entrypoint",
] }
spl-token-2022 = { version = "3.0.2", path = "../../token/program-2022", features = [
spl-token-2022 = { version = "4.0.0", path = "../../token/program-2022", features = [
"no-entrypoint",
] }
thiserror = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion stake-pool/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spl-math = { version = "0.2", path = "../../libraries/math", features = [
spl-pod = { version = "0.3.0", path = "../../libraries/pod", features = [
"borsh",
] }
spl-token-2022 = { version = "3.0.2", path = "../../token/program-2022", features = [
spl-token-2022 = { version = "4.0.0", path = "../../token/program-2022", features = [
"no-entrypoint",
] }
thiserror = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion token-collection/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test-sbf = []
solana-program = "2.0.0"
spl-pod = { version = "0.3.0", path = "../../libraries/pod" }
spl-program-error = { version = "0.5.0" , path = "../../libraries/program-error" }
spl-token-2022 = { version = "3.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-2022 = { version = "4.0.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-group-example = { version = "0.2", path = "../../token-group/example", features = ["no-entrypoint"] }
spl-token-group-interface = { version = "0.3.0", path = "../../token-group/interface" }
spl-token-metadata-interface = { version = "0.4.0", path = "../../token-metadata/interface" }
Expand Down
2 changes: 1 addition & 1 deletion token-group/example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test-sbf = []
[dependencies]
solana-program = "2.0.0"
spl-pod = { version = "0.3.0", path = "../../libraries/pod" }
spl-token-2022 = { version = "3.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-2022 = { version = "4.0.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-group-interface = { version = "0.3.0", path = "../interface" }
spl-type-length-value = { version = "0.5.0", path = "../../libraries/type-length-value" }

Expand Down
2 changes: 1 addition & 1 deletion token-metadata/example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ test-sbf = []

[dependencies]
solana-program = "2.0.0"
spl-token-2022 = { version = "3.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-2022 = { version = "4.0.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-metadata-interface = { version = "0.4.0", path = "../interface" }
spl-type-length-value = { version = "0.5.0" , path = "../../libraries/type-length-value" }
spl-pod = { version = "0.3.0", path = "../../libraries/pod" }
Expand Down
2 changes: 1 addition & 1 deletion token-swap/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ num-traits = "0.2"
solana-program = "2.0.0"
spl-math = { version = "0.2", path = "../../libraries/math", features = [ "no-entrypoint" ] }
spl-token = { version = "6.0", path = "../../token/program", features = [ "no-entrypoint" ] }
spl-token-2022 = { version = "3.0.2", path = "../../token/program-2022", features = [ "no-entrypoint" ] }
spl-token-2022 = { version = "4.0.0", path = "../../token/program-2022", features = [ "no-entrypoint" ] }
thiserror = "1.0"
arbitrary = { version = "1.3", features = ["derive"], optional = true }
roots = { version = "0.0.8", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion token-upgrade/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ solana-remote-wallet = "2.0.0"
solana-sdk = "2.0.0"
spl-associated-token-account = { version = "3.0.2", path = "../../associated-token-account/program", features = ["no-entrypoint"] }
spl-token = { version = "6.0", path = "../../token/program", features = ["no-entrypoint"] }
spl-token-2022 = { version = "3.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-2022 = { version = "4.0.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-client = { version = "0.10.0", path = "../../token/client" }
spl-token-upgrade = { version = "0.1", path = "../program", features = ["no-entrypoint"] }
tokio = { version = "1", features = ["full"] }
Expand Down
2 changes: 1 addition & 1 deletion token-upgrade/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ num-derive = "0.4"
num-traits = "0.2"
num_enum = "0.7.2"
solana-program = "2.0.0"
spl-token-2022 = { version = "3.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-2022 = { version = "4.0.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
thiserror = "1.0"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion token-wrap/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ num_enum = "0.7"
solana-program = "2.0.0"
spl-associated-token-account = { version = "3.0.2", path = "../../associated-token-account/program", features = ["no-entrypoint"] }
spl-token = { version = "6.0", path = "../../token/program", features = ["no-entrypoint"] }
spl-token-2022 = { version = "3.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-2022 = { version = "4.0.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
thiserror = "1.0"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion token/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ solana-transaction-status = "2.0.0"
spl-token = { version = "6.0", path = "../program", features = [
"no-entrypoint",
] }
spl-token-2022 = { version = "3.0.2", path = "../program-2022", features = [
spl-token-2022 = { version = "4.0.0", path = "../program-2022", features = [
"no-entrypoint",
] }
spl-token-client = { version = "0.10.0", path = "../client" }
Expand Down
2 changes: 1 addition & 1 deletion token/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spl-memo = { version = "5.0", path = "../../memo/program", features = [
spl-token = { version = "6.0", path = "../program", features = [
"no-entrypoint",
] }
spl-token-2022 = { version = "3.0.2", path = "../program-2022" }
spl-token-2022 = { version = "4.0.0", path = "../program-2022" }
spl-token-group-interface = { version = "0.3.0", path = "../../token-group/interface" }
spl-token-metadata-interface = { version = "0.4.0", path = "../../token-metadata/interface" }
spl-transfer-hook-interface = { version = "0.7.0", path = "../transfer-hook/interface" }
Expand Down
2 changes: 1 addition & 1 deletion token/program-2022-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spl-memo = { version = "5.0.0", path = "../../memo/program", features = [
"no-entrypoint",
] }
spl-pod = { version = "0.3.0", path = "../../libraries/pod" }
spl-token-2022 = { version = "3.0.2", path = "../program-2022", features = [
spl-token-2022 = { version = "4.0.0", path = "../program-2022", features = [
"no-entrypoint",
] }
spl-instruction-padding = { version = "0.2.0", path = "../../instruction-padding/program", features = [
Expand Down
2 changes: 1 addition & 1 deletion token/program-2022/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spl-token-2022"
version = "3.0.2"
version = "4.0.0"
description = "Solana Program Library Token 2022"
authors = ["Solana Labs Maintainers <[email protected]>"]
repository = "https://github.com/solana-labs/solana-program-library"
Expand Down
2 changes: 1 addition & 1 deletion token/transfer-hook/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ serde_yaml = "0.9.34"

[dev-dependencies]
solana-test-validator = "2.0.0"
spl-token-2022 = { version = "3.0.2", path = "../../program-2022", features = ["no-entrypoint"] }
spl-token-2022 = { version = "4.0.0", path = "../../program-2022", features = ["no-entrypoint"] }
spl-token-client = { version = "0.10.0", path = "../../client" }
spl-transfer-hook-example = { version = "0.6.0", path = "../example" }

Expand Down
2 changes: 1 addition & 1 deletion token/transfer-hook/example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ forbid-additional-mints = []
arrayref = "0.3.7"
solana-program = "2.0.0"
spl-tlv-account-resolution = { version = "0.7.0" , path = "../../../libraries/tlv-account-resolution" }
spl-token-2022 = { version = "3.0.2", path = "../../program-2022", features = ["no-entrypoint"] }
spl-token-2022 = { version = "4.0.0", path = "../../program-2022", features = ["no-entrypoint"] }
spl-transfer-hook-interface = { version = "0.7.0" , path = "../interface" }
spl-type-length-value = { version = "0.5.0" , path = "../../../libraries/type-length-value" }

Expand Down

0 comments on commit d0f48a6

Please sign in to comment.