Update solana to 1.7.11 (#653)

This commit is contained in:
Kirill Fomichev 2021-09-01 00:52:41 +03:00 committed by GitHub
parent 6085eda9df
commit 697f585b5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 550 additions and 909 deletions

View File

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

View File

@ -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 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: 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)). * 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 ### Breaking Changes

1436
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

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

View File

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

View File

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

View File

@ -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, See the solana [docs](https://docs.solana.com/cli/install-solana-cli-tools) for installation instructions. On macOS and Linux,
```bash ```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 ## Install Mocha

View File

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

View File

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

View File

@ -13,5 +13,5 @@ devnet = []
anchor-lang = { path = "../lang", version = "0.13.2", features = ["derive"] } anchor-lang = { path = "../lang", version = "0.13.2", features = ["derive"] }
lazy_static = "1.4.0" lazy_static = "1.4.0"
serum_dex = { git = "https://github.com/project-serum/serum-dex", version = "0.4.0", features = ["no-entrypoint"] } 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"] } spl-token = { version = "3.1.1", features = ["no-entrypoint"] }