Ver código fonte

Bump minimum Solana crate versions to `1.17.3` (#2975)

acheron 1 ano atrás
pai
commit
4540c8253a

+ 1 - 0
CHANGELOG.md

@@ -30,6 +30,7 @@ The minor version will be incremented upon a breaking change and the patch versi
 - lang: Fix using defined types in instruction parameters with `declare_program!` ([#2959](https://github.com/coral-xyz/anchor/pull/2959)).
 - lang: Fix using const generics with `declare_program!` ([#2965](https://github.com/coral-xyz/anchor/pull/2965)).
 - lang: Fix using `Vec<u8>` type with `declare_program!` ([#2966](https://github.com/coral-xyz/anchor/pull/2966)).
+- lang: Fix `ProgramError::ArithmeticOverflow` not found error ([#2975](https://github.com/coral-xyz/anchor/pull/2975)).
 
 ### Breaking
 

+ 5 - 5
cli/Cargo.toml

@@ -35,11 +35,11 @@ semver = "1.0.4"
 serde = { version = "1.0.122", features = ["derive"] }
 serde_json = "1.0"
 shellexpand = "2.1.0"
-solana-client = "1.16"
-solana-cli-config = "1.16"
-solana-faucet = "1.16"
-solana-program = "1.16"
-solana-sdk = "1.16"
+solana-client = "1.17.3"
+solana-cli-config = "1.17.3"
+solana-faucet = "1.17.3"
+solana-program = "1.17.3"
+solana-sdk = "1.17.3"
 # Pin solang-parser because it may break in a backwards incompatible way in minor versions
 solang-parser = "=0.3.3"
 syn = { version = "1.0.60", features = ["full", "extra-traits"] }

+ 3 - 3
client/Cargo.toml

@@ -21,9 +21,9 @@ anyhow = "1"
 futures = "0.3"
 regex = "1"
 serde = { version = "1", features = ["derive"] }
-solana-account-decoder = "1.16"
-solana-client = "1.16"
-solana-sdk = "1.16"
+solana-account-decoder = "1.17.3"
+solana-client = "1.17.3"
+solana-sdk = "1.17.3"
 thiserror = "1"
 tokio = { version = "1", features = ["rt", "sync"] }
 url = "2"

+ 1 - 1
client/example/Cargo.toml

@@ -20,5 +20,5 @@ events = { path = "../../tests/events/programs/events", features = ["no-entrypoi
 anyhow = "1.0.32"
 clap = { version = "4.2.4", features = ["derive"] }
 shellexpand = "2.1.0"
-solana-sdk = "1.16"
+solana-sdk = "1.17.3"
 tokio = { version = "1", features = ["full"] }

+ 1 - 1
lang/Cargo.toml

@@ -57,7 +57,7 @@ base64 = "0.21"
 bincode = "1"
 borsh = ">=0.9, <0.11"
 bytemuck = "1"
-solana-program = "1.16"
+solana-program = "1.17.3"
 thiserror = "1"
 # TODO: Remove. This crate has been added to fix a build error with the 1.16.0 release.
 getrandom = { version = "0.2", features = ["custom"] }

+ 1 - 1
tests/zero-copy/programs/zero-copy/Cargo.toml

@@ -23,4 +23,4 @@ bytemuck = {version = "1.4.0", features = ["derive", "min_const_generics"]}
 
 [dev-dependencies]
 anchor-client = { path = "../../../../client", features = ["debug", "async"] }
-solana-program-test = "1.16"
+solana-program-test = "1.17.3"