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

Commit 3562507

Browse files
authored
program-error: Bump to 0.5.0 for Solana v2 compatibility (#6914)
1 parent 2293659 commit 3562507

File tree

9 files changed

+29
-29
lines changed

9 files changed

+29
-29
lines changed

Cargo.lock

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

libraries/pod/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ bytemuck = { version = "1.16.1" }
1818
serde = { version = "1.0.203", optional = true }
1919
solana-program = "2.0.0"
2020
solana-zk-token-sdk = "2.0.0"
21-
spl-program-error = { version = "0.4.0", path = "../program-error" }
21+
spl-program-error = { version = "0.5.0", path = "../program-error" }
2222

2323
[dev-dependencies]
2424
serde_json = "1.0.117"

libraries/program-error/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "spl-program-error"
3-
version = "0.4.1"
3+
version = "0.5.0"
44
description = "Library for Solana Program error attributes and derive macro for creating them"
55
authors = ["Solana Labs Maintainers <[email protected]>"]
66
repository = "https://github.com/solana-labs/solana-program-library"

libraries/tlv-account-resolution/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ bytemuck = { version = "1.16.1", features = ["derive"] }
1616
serde = { version = "1.0.203", optional = true }
1717
solana-program = "2.0.0"
1818
spl-discriminator = { version = "0.3.0", path = "../discriminator" }
19-
spl-program-error = { version = "0.4.0", path = "../program-error" }
19+
spl-program-error = { version = "0.5.0", path = "../program-error" }
2020
spl-type-length-value = { version = "0.4.3", path = "../type-length-value" }
2121
spl-pod = { version = "0.2.2", path = "../pod" }
2222

libraries/type-length-value/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ derive = ["dep:spl-type-length-value-derive"]
1515
bytemuck = { version = "1.16.1", features = ["derive"] }
1616
solana-program = "2.0.0"
1717
spl-discriminator = { version = "0.3.0", path = "../discriminator" }
18-
spl-program-error = { version = "0.4.0", path = "../program-error" }
18+
spl-program-error = { version = "0.5.0", path = "../program-error" }
1919
spl-type-length-value-derive = { version = "0.1", path = "./derive", optional = true }
2020
spl-pod = { version = "0.2.2", path = "../pod" }
2121

token-collection/program/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 = "2.0.0"
1616
spl-pod = { version = "0.2.2", path = "../../libraries/pod" }
17-
spl-program-error = { version = "0.4.0" , path = "../../libraries/program-error" }
17+
spl-program-error = { version = "0.5.0" , path = "../../libraries/program-error" }
1818
spl-token-2022 = { version = "3.0.2", path = "../../token/program-2022", features = ["no-entrypoint"] }
1919
spl-token-group-example = { version = "0.2", path = "../../token-group/example", features = ["no-entrypoint"] }
2020
spl-token-group-interface = { version = "0.2.3", path = "../../token-group/interface" }

token-group/interface/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ bytemuck = "1.16.1"
1212
solana-program = "2.0.0"
1313
spl-discriminator = { version = "0.3.0" , path = "../../libraries/discriminator" }
1414
spl-pod = { version = "0.2.2" , path = "../../libraries/pod", features = ["borsh"] }
15-
spl-program-error = { version = "0.4.0" , path = "../../libraries/program-error" }
15+
spl-program-error = { version = "0.5.0" , path = "../../libraries/program-error" }
1616

1717
[dev-dependencies]
1818
spl-type-length-value = { version = "0.4.3", path = "../../libraries/type-length-value", features = ["derive"] }

token-metadata/interface/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ borsh = "1.5.1"
1515
serde = { version = "1.0.203", optional = true }
1616
solana-program = "2.0.0"
1717
spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" }
18-
spl-program-error = { version = "0.4.0", path = "../../libraries/program-error" }
18+
spl-program-error = { version = "0.5.0", path = "../../libraries/program-error" }
1919
spl-type-length-value = { version = "0.4.3", path = "../../libraries/type-length-value" }
2020
spl-pod = { version = "0.2.2", path = "../../libraries/pod", features = [
2121
"borsh",

token/transfer-hook/interface/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ arrayref = "0.3.7"
1212
bytemuck = { version = "1.16.1", features = ["derive"] }
1313
solana-program = "2.0.0"
1414
spl-discriminator = { version = "0.3.0" , path = "../../../libraries/discriminator" }
15-
spl-program-error = { version = "0.4.0" , path = "../../../libraries/program-error" }
15+
spl-program-error = { version = "0.5.0" , path = "../../../libraries/program-error" }
1616
spl-tlv-account-resolution = { version = "0.6.3" , path = "../../../libraries/tlv-account-resolution" }
1717
spl-type-length-value = { version = "0.4.3" , path = "../../../libraries/type-length-value" }
1818
spl-pod = { version = "0.2.2", path = "../../../libraries/pod" }

0 commit comments

Comments
 (0)