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:
parent
2768112cef
commit
66e4295fe0
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "avm"
|
||||
version = "0.25.0"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[[bin]]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "anchor-cli"
|
||||
version = "0.25.0"
|
||||
authors = ["armaniferrante <armaniferrante@gmail.com>"]
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
repository = "https://github.com/coral-xyz/anchor"
|
||||
description = "Anchor CLI"
|
||||
|
@ -28,11 +28,11 @@ shellexpand = "2.1.0"
|
|||
toml = "0.5.8"
|
||||
semver = "1.0.4"
|
||||
serde = { version = "1.0.122", features = ["derive"] }
|
||||
solana-sdk = "1.13.3"
|
||||
solana-program = "1.13.3"
|
||||
solana-client = "1.13.3"
|
||||
solana-cli-config = "1.13.3"
|
||||
solana-faucet = "1.13.3"
|
||||
solana-sdk = "1.13.5"
|
||||
solana-program = "1.13.5"
|
||||
solana-client = "1.13.5"
|
||||
solana-cli-config = "1.13.5"
|
||||
solana-faucet = "1.13.5"
|
||||
dirs = "4.0"
|
||||
heck = "0.4.0"
|
||||
flate2 = "1.0.19"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "anchor-client"
|
||||
version = "0.25.0"
|
||||
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
license = "Apache-2.0"
|
||||
description = "Rust client for Anchor programs"
|
||||
|
@ -16,7 +16,7 @@ anyhow = "1.0.32"
|
|||
regex = "1.4.5"
|
||||
serde = { version = "1.0.122", features = ["derive"] }
|
||||
solana-client = "1.14.7"
|
||||
solana-sdk = "1.13.3"
|
||||
solana-account-decoder = "1.13.3"
|
||||
solana-sdk = "1.13.5"
|
||||
solana-account-decoder = "1.13.5"
|
||||
thiserror = "1.0.20"
|
||||
url = "2.2.2"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "example"
|
||||
version = "0.1.0"
|
||||
authors = ["Armani Ferrante <armaniferrante@gmail.com>"]
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[workspace]
|
||||
|
@ -16,4 +16,4 @@ events = { path = "../../tests/events/programs/events", features = ["no-entrypoi
|
|||
shellexpand = "2.1.0"
|
||||
anyhow = "1.0.32"
|
||||
clap = { version = "4.0.26", features = ["derive"] }
|
||||
solana-sdk = "1.13.3"
|
||||
solana-sdk = "1.13.5"
|
||||
|
|
|
@ -6,7 +6,7 @@ ANCHOR_CLI=v$(shell awk -F ' = ' '$$1 ~ /version/ { gsub(/[\"]/, "", $$2); print
|
|||
#
|
||||
# Solana toolchain.
|
||||
#
|
||||
SOLANA_CLI=v1.13.3
|
||||
SOLANA_CLI=v1.13.5
|
||||
#
|
||||
# Build version should match the Anchor cli version.
|
||||
#
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "basic-0"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "basic-1"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "basic-2"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "puppet-master"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "puppet"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "basic-4"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -3,7 +3,7 @@ name = "anchor-lang"
|
|||
version = "0.25.0"
|
||||
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
||||
repository = "https://github.com/coral-xyz/anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
license = "Apache-2.0"
|
||||
description = "Solana Sealevel eDSL"
|
||||
|
@ -39,6 +39,6 @@ arrayref = "0.3.6"
|
|||
base64 = "0.13.0"
|
||||
borsh = "0.9"
|
||||
bytemuck = "1.4.0"
|
||||
solana-program = "1.13.3"
|
||||
solana-program = "1.13.5"
|
||||
thiserror = "1.0.20"
|
||||
bincode = "1.3.3"
|
||||
|
|
|
@ -5,7 +5,7 @@ authors = ["Serum Foundation <foundation@projectserum.com>"]
|
|||
repository = "https://github.com/coral-xyz/anchor"
|
||||
license = "Apache-2.0"
|
||||
description = "Anchor attribute macro for instruction access control"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -5,7 +5,7 @@ authors = ["Serum Foundation <foundation@projectserum.com>"]
|
|||
repository = "https://github.com/coral-xyz/anchor"
|
||||
license = "Apache-2.0"
|
||||
description = "Anchor attribute macro for defining an account"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -5,7 +5,7 @@ authors = ["Serum Foundation <foundation@projectserum.com>"]
|
|||
repository = "https://github.com/coral-xyz/anchor"
|
||||
license = "Apache-2.0"
|
||||
description = "Anchor attribute macro for creating constant types"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -5,7 +5,7 @@ authors = ["Serum Foundation <foundation@projectserum.com>"]
|
|||
repository = "https://github.com/coral-xyz/anchor"
|
||||
license = "Apache-2.0"
|
||||
description = "Anchor attribute macro for creating error types"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -5,7 +5,7 @@ authors = ["Serum Foundation <foundation@projectserum.com>"]
|
|||
repository = "https://github.com/coral-xyz/anchor"
|
||||
license = "Apache-2.0"
|
||||
description = "Anchor attribute macro for defining an event"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -5,7 +5,7 @@ authors = ["Serum Foundation <foundation@projectserum.com>"]
|
|||
repository = "https://github.com/coral-xyz/anchor"
|
||||
license = "Apache-2.0"
|
||||
description = "Attribute for defining a program interface trait"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -5,7 +5,7 @@ authors = ["Serum Foundation <foundation@projectserum.com>"]
|
|||
repository = "https://github.com/coral-xyz/anchor"
|
||||
license = "Apache-2.0"
|
||||
description = "Anchor attribute macro for defining a program"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -5,7 +5,7 @@ authors = ["Serum Foundation <foundation@projectserum.com>"]
|
|||
repository = "https://github.com/coral-xyz/anchor"
|
||||
license = "Apache-2.0"
|
||||
description = "Attribute for defining a program state struct"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -5,7 +5,7 @@ authors = ["Serum Foundation <foundation@projectserum.com>"]
|
|||
repository = "https://github.com/coral-xyz/anchor"
|
||||
license = "Apache-2.0"
|
||||
description = "Anchor Derive macro for accounts"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -5,7 +5,7 @@ authors = ["Serum Foundation <foundation@projectserum.com>"]
|
|||
repository = "https://github.com/coral-xyz/anchor"
|
||||
license = "Apache-2.0"
|
||||
description = "Anchor syntax parsing and code generation tools"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[features]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "anchor-spl"
|
||||
version = "0.25.0"
|
||||
authors = ["Serum Foundation <foundation@projectserum.com>"]
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
license = "Apache-2.0"
|
||||
description = "CPI clients for SPL programs"
|
||||
|
@ -23,7 +23,7 @@ dex = ["serum_dex"]
|
|||
anchor-lang = { path = "../lang", version = "0.25.0", features = ["derive"] }
|
||||
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 }
|
||||
solana-program = "1.13.3"
|
||||
solana-program = "1.13.5"
|
||||
spl-token = { version = "3.5.0", 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"] }
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "bpf-upgradeable-state"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "cashiers-check"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "cfo"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "chat"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "composite"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "native-system"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "spl-token"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "errors"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "escrow"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "events"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "ido-pool"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "counter-auth"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "counter"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "lockup"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "registry"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "idl_doc"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "misc"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "misc2"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "shared"
|
||||
version = "0.1.0"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "multisig"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "pda-derivation"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "pyth"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "relations-derivation"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "token-proxy"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "swap"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "system-accounts"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "sysvars"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "tictactoe"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "shared"
|
||||
version = "0.1.0"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "typescript"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "shared"
|
||||
version = "0.1.0"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "zero-copy"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
@ -22,4 +22,4 @@ anchor-lang = { path = "../../../../lang" }
|
|||
[dev-dependencies]
|
||||
anchor-client = { path = "../../../../client", features = ["debug"] }
|
||||
bytemuck = "1.4.0"
|
||||
solana-program-test = "1.13.3"
|
||||
solana-program-test = "1.13.5"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "zero-cpi"
|
||||
version = "0.1.0"
|
||||
description = "Created with Anchor"
|
||||
rust-version = "1.62"
|
||||
rust-version = "1.59"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
Loading…
Reference in New Issue