Преглед изворни кода

Update Solana-program and rust-version (#2420)

Henry-E пре 2 година
родитељ
комит
45fa9bd3ba
57 измењених фајлова са 507 додато и 204 уклоњено
  1. 2 2
      .github/workflows/no-caching-tests.yaml
  2. 1 1
      .github/workflows/tests.yaml
  3. 1 0
      CHANGELOG.md
  4. 439 137
      Cargo.lock
  5. 1 1
      avm/Cargo.toml
  6. 6 6
      cli/Cargo.toml
  7. 3 3
      client/Cargo.toml
  8. 2 2
      client/example/Cargo.toml
  9. 1 1
      docker/Makefile
  10. 1 1
      examples/tutorial/basic-0/programs/basic-0/Cargo.toml
  11. 1 1
      examples/tutorial/basic-1/programs/basic-1/Cargo.toml
  12. 1 1
      examples/tutorial/basic-2/programs/basic-2/Cargo.toml
  13. 1 1
      examples/tutorial/basic-3/programs/puppet-master/Cargo.toml
  14. 1 1
      examples/tutorial/basic-3/programs/puppet/Cargo.toml
  15. 1 1
      examples/tutorial/basic-4/programs/basic-4/Cargo.toml
  16. 2 2
      lang/Cargo.toml
  17. 1 1
      lang/attribute/access-control/Cargo.toml
  18. 1 1
      lang/attribute/account/Cargo.toml
  19. 1 1
      lang/attribute/constant/Cargo.toml
  20. 1 1
      lang/attribute/error/Cargo.toml
  21. 1 1
      lang/attribute/event/Cargo.toml
  22. 1 1
      lang/attribute/program/Cargo.toml
  23. 1 1
      lang/derive/accounts/Cargo.toml
  24. 1 1
      lang/derive/space/Cargo.toml
  25. 1 1
      lang/src/lib.rs
  26. 1 1
      lang/syn/Cargo.toml
  27. 2 2
      spl/Cargo.toml
  28. 1 1
      tests/bpf-upgradeable-state/programs/bpf-upgradeable-state/Cargo.toml
  29. 1 1
      tests/cashiers-check/programs/cashiers-check/Cargo.toml
  30. 1 1
      tests/cfo/programs/cfo/Cargo.toml
  31. 1 1
      tests/chat/programs/chat/Cargo.toml
  32. 1 1
      tests/composite/programs/composite/Cargo.toml
  33. 1 1
      tests/custom-coder/programs/native-system/Cargo.toml
  34. 1 1
      tests/custom-coder/programs/spl-token/Cargo.toml
  35. 1 1
      tests/errors/programs/errors/Cargo.toml
  36. 1 1
      tests/escrow/programs/escrow/Cargo.toml
  37. 1 1
      tests/events/programs/events/Cargo.toml
  38. 1 1
      tests/ido-pool/programs/ido-pool/Cargo.toml
  39. 1 1
      tests/lockup/programs/lockup/Cargo.toml
  40. 1 1
      tests/lockup/programs/registry/Cargo.toml
  41. 1 1
      tests/misc/programs/idl_doc/Cargo.toml
  42. 1 1
      tests/misc/programs/misc/Cargo.toml
  43. 1 1
      tests/misc/programs/shared/Cargo.toml
  44. 1 1
      tests/multisig/programs/multisig/Cargo.toml
  45. 1 1
      tests/pda-derivation/programs/pda-derivation/Cargo.toml
  46. 1 1
      tests/pyth/programs/pyth/Cargo.toml
  47. 1 1
      tests/relations-derivation/programs/relations-derivation/Cargo.toml
  48. 1 1
      tests/spl/token-proxy/programs/token-proxy/Cargo.toml
  49. 1 1
      tests/swap/programs/swap/Cargo.toml
  50. 1 1
      tests/system-accounts/programs/system-accounts/Cargo.toml
  51. 1 1
      tests/sysvars/programs/sysvars/Cargo.toml
  52. 1 1
      tests/tictactoe/programs/tictactoe/Cargo.toml
  53. 1 1
      tests/typescript/programs/shared/Cargo.toml
  54. 1 1
      tests/typescript/programs/typescript/Cargo.toml
  55. 1 1
      tests/zero-copy/programs/shared/Cargo.toml
  56. 2 2
      tests/zero-copy/programs/zero-copy/Cargo.toml
  57. 1 1
      tests/zero-copy/programs/zero-cpi/Cargo.toml

+ 2 - 2
.github/workflows/no-caching-tests.yaml

@@ -11,7 +11,7 @@ jobs:
     uses: ./.github/workflows/reusable-tests.yaml
     with:
       cache: false
-      solana_cli_version: 1.14.11
+      solana_cli_version: 1.14.16
       node_version: 17.0.1
       cargo_profile: release
-      anchor_binary_name: anchor-binary-no-caching
+      anchor_binary_name: anchor-binary-no-caching

+ 1 - 1
.github/workflows/tests.yaml

@@ -14,7 +14,7 @@ jobs:
     uses: ./.github/workflows/reusable-tests.yaml
     with:
       cache: true
-      solana_cli_version: 1.14.11
+      solana_cli_version: 1.14.16
       node_version: 17.0.1
       cargo_profile: debug
       anchor_binary_name: anchor-binary

+ 1 - 0
CHANGELOG.md

@@ -32,6 +32,7 @@ The minor version will be incremented upon a breaking change and the patch versi
 - cli: Failing commands will return the correct exit status. ([#2370](https://github.com/coral-xyz/anchor/pull/2370)).
 - idl: Update the IDL program to use non-deprecated account types ([#2365](https://github.com/coral-xyz/anchor/pull/2365)).
 - ts: Enum fields weren't being converted from snake_case to camelCase ([#2378](https://github.com/coral-xyz/anchor/pull/2378)).
+- lang/cli: Update to solana-program version 1.14.16 and rust version 1.60, appears to still be incompatible with 1.15 CLI ([#2420](https://github.com/coral-xyz/anchor/pull/2420)).
 
 ### Breaking
 

Разлика између датотеке није приказан због своје велике величине
+ 439 - 137
Cargo.lock


+ 1 - 1
avm/Cargo.toml

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

+ 6 - 6
cli/Cargo.toml

@@ -2,7 +2,7 @@
 name = "anchor-cli"
 version = "0.26.0"
 authors = ["armaniferrante <armaniferrante@gmail.com>"]
-rust-version = "1.59"
+rust-version = "1.60"
 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.5"
-solana-program = "1.13.5"
-solana-client = "1.13.5"
-solana-cli-config = "1.13.5"
-solana-faucet = "1.13.5"
+solana-sdk = "1.14.16"
+solana-program = "1.14.16"
+solana-client = "1.14.16"
+solana-cli-config = "1.14.16"
+solana-faucet = "1.14.16"
 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.26.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
-rust-version = "1.59"
+rust-version = "1.60"
 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.5"
-solana-account-decoder = "1.13.5"
+solana-sdk = "1.14.16"
+solana-account-decoder = "1.14.16"
 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.59"
+rust-version = "1.60"
 edition = "2021"
 
 [workspace]
@@ -17,4 +17,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.5"
+solana-sdk = "1.14.16"

+ 1 - 1
docker/Makefile

@@ -6,7 +6,7 @@ ANCHOR_CLI=v0.26.0
 #
 # Solana toolchain.
 #
-SOLANA_CLI=v1.13.5
+SOLANA_CLI=v1.14.16
 #
 # 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 edition = "2021"
 
 [lib]

+ 2 - 2
lang/Cargo.toml

@@ -3,7 +3,7 @@ name = "anchor-lang"
 version = "0.26.0"
 authors = ["Serum Foundation <foundation@projectserum.com>"]
 repository = "https://github.com/coral-xyz/anchor"
-rust-version = "1.59"
+rust-version = "1.60"
 edition = "2021"
 license = "Apache-2.0"
 description = "Solana Sealevel eDSL"
@@ -37,6 +37,6 @@ arrayref = "0.3.6"
 base64 = "0.13.0"
 borsh = "0.9"
 bytemuck = "1.4.0"
-solana-program = "1.13.5"
+solana-program = "1.14.16"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 edition = "2021"
 
 [lib]

+ 1 - 1
lang/derive/space/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 to automatically calculate the size of a structure or an enum"
-rust-version = "1.59"
+rust-version = "1.60"
 edition = "2021"
 
 [lib]

+ 1 - 1
lang/src/lib.rs

@@ -352,7 +352,7 @@ pub mod __private {
     #[doc(hidden)]
     impl ZeroCopyAccessor<Pubkey> for [u8; 32] {
         fn get(&self) -> Pubkey {
-            Pubkey::new(self)
+            Pubkey::from(*self)
         }
         fn set(input: &Pubkey) -> [u8; 32] {
             input.to_bytes()

+ 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.59"
+rust-version = "1.60"
 edition = "2021"
 
 [features]

+ 2 - 2
spl/Cargo.toml

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

+ 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 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.59"
+rust-version = "1.60"
 edition = "2021"
 
 [lib]
@@ -22,4 +22,4 @@ bytemuck = {version = "1.4.0", features = ["derive", "min_const_generics"]}
 
 [dev-dependencies]
 anchor-client = { path = "../../../../client", features = ["debug"] }
-solana-program-test = "1.13.5"
+solana-program-test = "1.14.16"

+ 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.59"
+rust-version = "1.60"
 edition = "2021"
 
 [lib]

Неке датотеке нису приказане због велике количине промена