Pārlūkot izejas kodu

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>
Henry-E 2 gadi atpakaļ
vecāks
revīzija
66e4295fe0
56 mainītis faili ar 67 papildinājumiem un 67 dzēšanām
  1. 1 1
      avm/Cargo.toml
  2. 6 6
      cli/Cargo.toml
  3. 3 3
      client/Cargo.toml
  4. 2 2
      client/example/Cargo.toml
  5. 1 1
      docker/Makefile
  6. 1 1
      examples/tutorial/basic-0/programs/basic-0/Cargo.toml
  7. 1 1
      examples/tutorial/basic-1/programs/basic-1/Cargo.toml
  8. 1 1
      examples/tutorial/basic-2/programs/basic-2/Cargo.toml
  9. 1 1
      examples/tutorial/basic-3/programs/puppet-master/Cargo.toml
  10. 1 1
      examples/tutorial/basic-3/programs/puppet/Cargo.toml
  11. 1 1
      examples/tutorial/basic-4/programs/basic-4/Cargo.toml
  12. 2 2
      lang/Cargo.toml
  13. 1 1
      lang/attribute/access-control/Cargo.toml
  14. 1 1
      lang/attribute/account/Cargo.toml
  15. 1 1
      lang/attribute/constant/Cargo.toml
  16. 1 1
      lang/attribute/error/Cargo.toml
  17. 1 1
      lang/attribute/event/Cargo.toml
  18. 1 1
      lang/attribute/interface/Cargo.toml
  19. 1 1
      lang/attribute/program/Cargo.toml
  20. 1 1
      lang/attribute/state/Cargo.toml
  21. 1 1
      lang/derive/accounts/Cargo.toml
  22. 1 1
      lang/syn/Cargo.toml
  23. 2 2
      spl/Cargo.toml
  24. 1 1
      tests/bpf-upgradeable-state/programs/bpf-upgradeable-state/Cargo.toml
  25. 1 1
      tests/cashiers-check/programs/cashiers-check/Cargo.toml
  26. 1 1
      tests/cfo/programs/cfo/Cargo.toml
  27. 1 1
      tests/chat/programs/chat/Cargo.toml
  28. 1 1
      tests/composite/programs/composite/Cargo.toml
  29. 1 1
      tests/custom-coder/programs/native-system/Cargo.toml
  30. 1 1
      tests/custom-coder/programs/spl-token/Cargo.toml
  31. 1 1
      tests/errors/programs/errors/Cargo.toml
  32. 1 1
      tests/escrow/programs/escrow/Cargo.toml
  33. 1 1
      tests/events/programs/events/Cargo.toml
  34. 1 1
      tests/ido-pool/programs/ido-pool/Cargo.toml
  35. 1 1
      tests/interface/programs/counter-auth/Cargo.toml
  36. 1 1
      tests/interface/programs/counter/Cargo.toml
  37. 1 1
      tests/lockup/programs/lockup/Cargo.toml
  38. 1 1
      tests/lockup/programs/registry/Cargo.toml
  39. 1 1
      tests/misc/programs/idl_doc/Cargo.toml
  40. 1 1
      tests/misc/programs/misc/Cargo.toml
  41. 1 1
      tests/misc/programs/misc2/Cargo.toml
  42. 1 1
      tests/misc/programs/shared/Cargo.toml
  43. 1 1
      tests/multisig/programs/multisig/Cargo.toml
  44. 1 1
      tests/pda-derivation/programs/pda-derivation/Cargo.toml
  45. 1 1
      tests/pyth/programs/pyth/Cargo.toml
  46. 1 1
      tests/relations-derivation/programs/relations-derivation/Cargo.toml
  47. 1 1
      tests/spl/token-proxy/programs/token-proxy/Cargo.toml
  48. 1 1
      tests/swap/programs/swap/Cargo.toml
  49. 1 1
      tests/system-accounts/programs/system-accounts/Cargo.toml
  50. 1 1
      tests/sysvars/programs/sysvars/Cargo.toml
  51. 1 1
      tests/tictactoe/programs/tictactoe/Cargo.toml
  52. 1 1
      tests/typescript/programs/shared/Cargo.toml
  53. 1 1
      tests/typescript/programs/typescript/Cargo.toml
  54. 1 1
      tests/zero-copy/programs/shared/Cargo.toml
  55. 2 2
      tests/zero-copy/programs/zero-copy/Cargo.toml
  56. 1 1
      tests/zero-copy/programs/zero-cpi/Cargo.toml

+ 1 - 1
avm/Cargo.toml

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

+ 6 - 6
cli/Cargo.toml

@@ -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"

+ 3 - 3
client/Cargo.toml

@@ -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 - 2
client/example/Cargo.toml

@@ -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"

+ 1 - 1
docker/Makefile

@@ -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.
 #

+ 1 - 1
examples/tutorial/basic-0/programs/basic-0/Cargo.toml

@@ -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]

+ 1 - 1
examples/tutorial/basic-1/programs/basic-1/Cargo.toml

@@ -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]

+ 1 - 1
examples/tutorial/basic-2/programs/basic-2/Cargo.toml

@@ -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]

+ 1 - 1
examples/tutorial/basic-3/programs/puppet-master/Cargo.toml

@@ -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]

+ 1 - 1
examples/tutorial/basic-3/programs/puppet/Cargo.toml

@@ -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]

+ 1 - 1
examples/tutorial/basic-4/programs/basic-4/Cargo.toml

@@ -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]

+ 2 - 2
lang/Cargo.toml

@@ -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"

+ 1 - 1
lang/attribute/access-control/Cargo.toml

@@ -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]

+ 1 - 1
lang/attribute/account/Cargo.toml

@@ -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]

+ 1 - 1
lang/attribute/constant/Cargo.toml

@@ -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]

+ 1 - 1
lang/attribute/error/Cargo.toml

@@ -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]

+ 1 - 1
lang/attribute/event/Cargo.toml

@@ -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]

+ 1 - 1
lang/attribute/interface/Cargo.toml

@@ -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]

+ 1 - 1
lang/attribute/program/Cargo.toml

@@ -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]

+ 1 - 1
lang/attribute/state/Cargo.toml

@@ -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]

+ 1 - 1
lang/derive/accounts/Cargo.toml

@@ -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]

+ 1 - 1
lang/syn/Cargo.toml

@@ -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 - 2
spl/Cargo.toml

@@ -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"] }

+ 1 - 1
tests/bpf-upgradeable-state/programs/bpf-upgradeable-state/Cargo.toml

@@ -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]

+ 1 - 1
tests/cashiers-check/programs/cashiers-check/Cargo.toml

@@ -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]

+ 1 - 1
tests/cfo/programs/cfo/Cargo.toml

@@ -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]

+ 1 - 1
tests/chat/programs/chat/Cargo.toml

@@ -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]

+ 1 - 1
tests/composite/programs/composite/Cargo.toml

@@ -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]

+ 1 - 1
tests/custom-coder/programs/native-system/Cargo.toml

@@ -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]

+ 1 - 1
tests/custom-coder/programs/spl-token/Cargo.toml

@@ -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]

+ 1 - 1
tests/errors/programs/errors/Cargo.toml

@@ -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]

+ 1 - 1
tests/escrow/programs/escrow/Cargo.toml

@@ -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]

+ 1 - 1
tests/events/programs/events/Cargo.toml

@@ -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]

+ 1 - 1
tests/ido-pool/programs/ido-pool/Cargo.toml

@@ -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]

+ 1 - 1
tests/interface/programs/counter-auth/Cargo.toml

@@ -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]

+ 1 - 1
tests/interface/programs/counter/Cargo.toml

@@ -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]

+ 1 - 1
tests/lockup/programs/lockup/Cargo.toml

@@ -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]

+ 1 - 1
tests/lockup/programs/registry/Cargo.toml

@@ -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]

+ 1 - 1
tests/misc/programs/idl_doc/Cargo.toml

@@ -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]

+ 1 - 1
tests/misc/programs/misc/Cargo.toml

@@ -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]

+ 1 - 1
tests/misc/programs/misc2/Cargo.toml

@@ -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 - 1
tests/misc/programs/shared/Cargo.toml

@@ -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

+ 1 - 1
tests/multisig/programs/multisig/Cargo.toml

@@ -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]

+ 1 - 1
tests/pda-derivation/programs/pda-derivation/Cargo.toml

@@ -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]

+ 1 - 1
tests/pyth/programs/pyth/Cargo.toml

@@ -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]

+ 1 - 1
tests/relations-derivation/programs/relations-derivation/Cargo.toml

@@ -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]

+ 1 - 1
tests/spl/token-proxy/programs/token-proxy/Cargo.toml

@@ -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]

+ 1 - 1
tests/swap/programs/swap/Cargo.toml

@@ -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]

+ 1 - 1
tests/system-accounts/programs/system-accounts/Cargo.toml

@@ -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]

+ 1 - 1
tests/sysvars/programs/sysvars/Cargo.toml

@@ -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]

+ 1 - 1
tests/tictactoe/programs/tictactoe/Cargo.toml

@@ -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 - 1
tests/typescript/programs/shared/Cargo.toml

@@ -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

+ 1 - 1
tests/typescript/programs/typescript/Cargo.toml

@@ -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 - 1
tests/zero-copy/programs/shared/Cargo.toml

@@ -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 - 2
tests/zero-copy/programs/zero-copy/Cargo.toml

@@ -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"

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

@@ -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]