Selaa lähdekoodia

Update solana to 1.7.11 (#653)

Kirill Fomichev 4 vuotta sitten
vanhempi
sitoutus
697f585b5b

+ 1 - 1
.travis.yml

@@ -6,7 +6,7 @@ cache: cargo
 env:
   global:
     - NODE_VERSION="14.7.0"
-    - SOLANA_CLI_VERSION="1.7.8"
+    - SOLANA_CLI_VERSION="1.7.11"
 git:
   submodules: true
 

+ 1 - 0
CHANGELOG.md

@@ -17,6 +17,7 @@ incremented for features.
 * lang: Add constraints for initializing mint accounts as pdas, `#[account(init, seeds = [...], mint::decimals = <expr>, mint::authority = <expr>)]` ([#562](https://github.com/project-serum/anchor/pull/562)).
 * lang: Add `AsRef<AccountInfo>` for `AccountInfo` wrappers ([#652](https://github.com/project-serum/anchor/pull/652)).
 * lang: Optimize `trait Key` by removing `AccountInfo` cloning ([#652](https://github.com/project-serum/anchor/pull/652)).
+* cli, client, lang: Update solana toolchain to v1.7.11 ([#653](https://github.com/project-serum/anchor/pull/653)).
 
 ### Breaking Changes
 

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 189 - 239
Cargo.lock


+ 4 - 4
cli/Cargo.toml

@@ -23,9 +23,9 @@ serde_json = "1.0"
 shellexpand = "2.1.0"
 toml = "0.5.8"
 serde = { version = "1.0.122", features = ["derive"] }
-solana-sdk = "=1.7.8"
-solana-program = "=1.7.8"
-solana-client = "=1.7.8"
+solana-sdk = "=1.7.11"
+solana-program = "=1.7.11"
+solana-client = "=1.7.11"
 serum-common = { git = "https://github.com/project-serum/serum-dex", features = ["client"] }
 dirs = "3.0"
 heck = "0.3.1"
@@ -36,4 +36,4 @@ reqwest = { version = "0.11.4", features = ["multipart", "blocking"] }
 tokio = "1.0"
 pathdiff = "0.2.0"
 cargo_toml = "0.9.2"
-walkdir = "2"
+walkdir = "2"

+ 1 - 1
cli/src/lib.rs

@@ -98,7 +98,7 @@ pub enum Command {
         /// use this to save time when running test and the program code is not altered.
         #[clap(long)]
         skip_build: bool,
-        #[clap(multiple = true)]
+        #[clap(multiple_values = true)]
         args: Vec<String>,
     },
     /// Creates a new program.

+ 1 - 1
docker/Makefile

@@ -6,7 +6,7 @@ ANCHOR_CLI=v$(shell awk -F ' = ' '$$1 ~ /version/ { gsub(/[\"]/, "", $$2); print
 #
 # Solana toolchain.
 #
-SOLANA_CLI=v1.7.8
+SOLANA_CLI=v1.7.11
 #
 # Build version should match the Anchor cli version.
 #

+ 1 - 1
docs/src/getting-started/installation.md

@@ -18,7 +18,7 @@ rustup component add rustfmt
 See the solana [docs](https://docs.solana.com/cli/install-solana-cli-tools) for installation instructions. On macOS and Linux,
 
 ```bash
-sh -c "$(curl -sSfL https://release.solana.com/v1.7.8/install)"
+sh -c "$(curl -sSfL https://release.solana.com/v1.7.11/install)"
 ```
 
 ## Install Mocha

+ 1 - 1
examples/permissioned-markets/programs/permissioned-markets-middleware/Cargo.toml

@@ -17,4 +17,4 @@ default = []
 [dependencies]
 anchor-lang = { path = "../../../../lang" }
 anchor-spl = { path = "../../../../spl" }
-solana-program = "=1.7.8"
+solana-program = "=1.7.11"

+ 1 - 1
lang/Cargo.toml

@@ -34,5 +34,5 @@ anchor-derive-accounts = { path = "./derive/accounts", version = "0.13.2" }
 base64 = "0.13.0"
 borsh = "0.9"
 bytemuck = "1.4.0"
-solana-program = "=1.7.8"
+solana-program = "=1.7.11"
 thiserror = "1.0.20"

+ 1 - 1
spl/Cargo.toml

@@ -13,5 +13,5 @@ devnet = []
 anchor-lang = { path = "../lang", version = "0.13.2", features = ["derive"] }
 lazy_static = "1.4.0"
 serum_dex = { git = "https://github.com/project-serum/serum-dex", version = "0.4.0", features = ["no-entrypoint"] }
-solana-program = "=1.7.8"
+solana-program = "=1.7.11"
 spl-token = { version = "3.1.1", features = ["no-entrypoint"] }

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä