drop rust version to allow earlier CLIs to compile (#2289)

* drop back rust version to allow earlier cli to compile

* update solana program to 1.13.5 latest mainnet version

Co-authored-by: henrye <henry@notanemail>
This commit is contained in:
Henry-E 2022-11-29 11:36:48 +00:00 committed by GitHub
parent 2768112cef
commit 66e4295fe0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
56 changed files with 67 additions and 67 deletions

View File

@ -1,7 +1,7 @@
[package] [package]
name = "avm" name = "avm"
version = "0.25.0" version = "0.25.0"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[[bin]] [[bin]]

View File

@ -2,7 +2,7 @@
name = "anchor-cli" name = "anchor-cli"
version = "0.25.0" version = "0.25.0"
authors = ["armaniferrante <armaniferrante@gmail.com>"] authors = ["armaniferrante <armaniferrante@gmail.com>"]
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
description = "Anchor CLI" description = "Anchor CLI"
@ -28,11 +28,11 @@ shellexpand = "2.1.0"
toml = "0.5.8" toml = "0.5.8"
semver = "1.0.4" semver = "1.0.4"
serde = { version = "1.0.122", features = ["derive"] } serde = { version = "1.0.122", features = ["derive"] }
solana-sdk = "1.13.3" solana-sdk = "1.13.5"
solana-program = "1.13.3" solana-program = "1.13.5"
solana-client = "1.13.3" solana-client = "1.13.5"
solana-cli-config = "1.13.3" solana-cli-config = "1.13.5"
solana-faucet = "1.13.3" solana-faucet = "1.13.5"
dirs = "4.0" dirs = "4.0"
heck = "0.4.0" heck = "0.4.0"
flate2 = "1.0.19" flate2 = "1.0.19"

View File

@ -2,7 +2,7 @@
name = "anchor-client" name = "anchor-client"
version = "0.25.0" version = "0.25.0"
authors = ["Serum Foundation <foundation@projectserum.com>"] authors = ["Serum Foundation <foundation@projectserum.com>"]
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
license = "Apache-2.0" license = "Apache-2.0"
description = "Rust client for Anchor programs" description = "Rust client for Anchor programs"
@ -16,7 +16,7 @@ anyhow = "1.0.32"
regex = "1.4.5" regex = "1.4.5"
serde = { version = "1.0.122", features = ["derive"] } serde = { version = "1.0.122", features = ["derive"] }
solana-client = "1.14.7" solana-client = "1.14.7"
solana-sdk = "1.13.3" solana-sdk = "1.13.5"
solana-account-decoder = "1.13.3" solana-account-decoder = "1.13.5"
thiserror = "1.0.20" thiserror = "1.0.20"
url = "2.2.2" url = "2.2.2"

View File

@ -2,7 +2,7 @@
name = "example" name = "example"
version = "0.1.0" version = "0.1.0"
authors = ["Armani Ferrante <armaniferrante@gmail.com>"] authors = ["Armani Ferrante <armaniferrante@gmail.com>"]
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[workspace] [workspace]
@ -16,4 +16,4 @@ events = { path = "../../tests/events/programs/events", features = ["no-entrypoi
shellexpand = "2.1.0" shellexpand = "2.1.0"
anyhow = "1.0.32" anyhow = "1.0.32"
clap = { version = "4.0.26", features = ["derive"] } clap = { version = "4.0.26", features = ["derive"] }
solana-sdk = "1.13.3" solana-sdk = "1.13.5"

View File

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

View File

@ -2,7 +2,7 @@
name = "basic-0" name = "basic-0"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "basic-1" name = "basic-1"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "basic-2" name = "basic-2"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "puppet-master" name = "puppet-master"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "puppet" name = "puppet"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "basic-4" name = "basic-4"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -3,7 +3,7 @@ name = "anchor-lang"
version = "0.25.0" version = "0.25.0"
authors = ["Serum Foundation <foundation@projectserum.com>"] authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
license = "Apache-2.0" license = "Apache-2.0"
description = "Solana Sealevel eDSL" description = "Solana Sealevel eDSL"
@ -39,6 +39,6 @@ arrayref = "0.3.6"
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.13.3" solana-program = "1.13.5"
thiserror = "1.0.20" thiserror = "1.0.20"
bincode = "1.3.3" bincode = "1.3.3"

View File

@ -5,7 +5,7 @@ authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0" license = "Apache-2.0"
description = "Anchor attribute macro for instruction access control" description = "Anchor attribute macro for instruction access control"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -5,7 +5,7 @@ authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0" license = "Apache-2.0"
description = "Anchor attribute macro for defining an account" description = "Anchor attribute macro for defining an account"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -5,7 +5,7 @@ authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0" license = "Apache-2.0"
description = "Anchor attribute macro for creating constant types" description = "Anchor attribute macro for creating constant types"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -5,7 +5,7 @@ authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0" license = "Apache-2.0"
description = "Anchor attribute macro for creating error types" description = "Anchor attribute macro for creating error types"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -5,7 +5,7 @@ authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0" license = "Apache-2.0"
description = "Anchor attribute macro for defining an event" description = "Anchor attribute macro for defining an event"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -5,7 +5,7 @@ authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0" license = "Apache-2.0"
description = "Attribute for defining a program interface trait" description = "Attribute for defining a program interface trait"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -5,7 +5,7 @@ authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0" license = "Apache-2.0"
description = "Anchor attribute macro for defining a program" description = "Anchor attribute macro for defining a program"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -5,7 +5,7 @@ authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0" license = "Apache-2.0"
description = "Attribute for defining a program state struct" description = "Attribute for defining a program state struct"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -5,7 +5,7 @@ authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0" license = "Apache-2.0"
description = "Anchor Derive macro for accounts" description = "Anchor Derive macro for accounts"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -5,7 +5,7 @@ authors = ["Serum Foundation <foundation@projectserum.com>"]
repository = "https://github.com/coral-xyz/anchor" repository = "https://github.com/coral-xyz/anchor"
license = "Apache-2.0" license = "Apache-2.0"
description = "Anchor syntax parsing and code generation tools" description = "Anchor syntax parsing and code generation tools"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[features] [features]

View File

@ -2,7 +2,7 @@
name = "anchor-spl" name = "anchor-spl"
version = "0.25.0" version = "0.25.0"
authors = ["Serum Foundation <foundation@projectserum.com>"] authors = ["Serum Foundation <foundation@projectserum.com>"]
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
license = "Apache-2.0" license = "Apache-2.0"
description = "CPI clients for SPL programs" description = "CPI clients for SPL programs"
@ -23,7 +23,7 @@ dex = ["serum_dex"]
anchor-lang = { path = "../lang", version = "0.25.0", features = ["derive"] } anchor-lang = { path = "../lang", version = "0.25.0", features = ["derive"] }
borsh = { version = "^0.9", optional = true } borsh = { version = "^0.9", optional = true }
serum_dex = { git = "https://github.com/project-serum/serum-dex", rev = "1be91f2", version = "0.4.0", features = ["no-entrypoint"], optional = true } serum_dex = { git = "https://github.com/project-serum/serum-dex", rev = "1be91f2", version = "0.4.0", features = ["no-entrypoint"], optional = true }
solana-program = "1.13.3" solana-program = "1.13.5"
spl-token = { version = "3.5.0", features = ["no-entrypoint"], optional = true } spl-token = { version = "3.5.0", features = ["no-entrypoint"], optional = true }
spl-associated-token-account = { version = "1.1.1", features = ["no-entrypoint"], optional = true } spl-associated-token-account = { version = "1.1.1", features = ["no-entrypoint"], optional = true }
mpl-token-metadata = { version = "1.4.3", optional = true, features = ["no-entrypoint"] } mpl-token-metadata = { version = "1.4.3", optional = true, features = ["no-entrypoint"] }

View File

@ -2,7 +2,7 @@
name = "bpf-upgradeable-state" name = "bpf-upgradeable-state"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "cashiers-check" name = "cashiers-check"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "cfo" name = "cfo"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "chat" name = "chat"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "composite" name = "composite"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "native-system" name = "native-system"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "spl-token" name = "spl-token"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "errors" name = "errors"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "escrow" name = "escrow"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "events" name = "events"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "ido-pool" name = "ido-pool"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "counter-auth" name = "counter-auth"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "counter" name = "counter"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "lockup" name = "lockup"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "registry" name = "registry"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "idl_doc" name = "idl_doc"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "misc" name = "misc"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "misc2" name = "misc2"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -1,7 +1,7 @@
[package] [package]
name = "shared" name = "shared"
version = "0.1.0" version = "0.1.0"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -2,7 +2,7 @@
name = "multisig" name = "multisig"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "pda-derivation" name = "pda-derivation"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "pyth" name = "pyth"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "relations-derivation" name = "relations-derivation"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "token-proxy" name = "token-proxy"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "swap" name = "swap"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "system-accounts" name = "system-accounts"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "sysvars" name = "sysvars"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -2,7 +2,7 @@
name = "tictactoe" name = "tictactoe"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -1,7 +1,7 @@
[package] [package]
name = "shared" name = "shared"
version = "0.1.0" version = "0.1.0"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -2,7 +2,7 @@
name = "typescript" name = "typescript"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]

View File

@ -1,7 +1,7 @@
[package] [package]
name = "shared" name = "shared"
version = "0.1.0" version = "0.1.0"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -2,7 +2,7 @@
name = "zero-copy" name = "zero-copy"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]
@ -22,4 +22,4 @@ anchor-lang = { path = "../../../../lang" }
[dev-dependencies] [dev-dependencies]
anchor-client = { path = "../../../../client", features = ["debug"] } anchor-client = { path = "../../../../client", features = ["debug"] }
bytemuck = "1.4.0" bytemuck = "1.4.0"
solana-program-test = "1.13.3" solana-program-test = "1.13.5"

View File

@ -2,7 +2,7 @@
name = "zero-cpi" name = "zero-cpi"
version = "0.1.0" version = "0.1.0"
description = "Created with Anchor" description = "Created with Anchor"
rust-version = "1.62" rust-version = "1.59"
edition = "2021" edition = "2021"
[lib] [lib]