Ayush 4 months ago
parent
commit
2f94fcdb4a
27 changed files with 387 additions and 188 deletions
  1. 3 3
      .github/workflows/solana-native.yml
  2. 2 2
      .github/workflows/steel.yml
  3. 358 159
      Cargo.lock
  4. 1 1
      basics/account-data/native/program/Cargo.toml
  5. 1 1
      basics/checking-accounts/native/program/Cargo.toml
  6. 1 1
      basics/close-account/native/program/Cargo.toml
  7. 1 1
      basics/counter/native/program/Cargo.toml
  8. 1 1
      basics/create-account/native/program/Cargo.toml
  9. 1 1
      basics/cross-program-invocation/native/programs/hand/Cargo.toml
  10. 1 1
      basics/cross-program-invocation/native/programs/lever/Cargo.toml
  11. 1 1
      basics/favorites/native/program/Cargo.toml
  12. 1 1
      basics/hello-solana/native/program/Cargo.toml
  13. 1 1
      basics/pda-rent-payer/native/program/Cargo.toml
  14. 1 1
      basics/processing-instructions/native/program/Cargo.toml
  15. 1 1
      basics/program-derived-addresses/native/program/Cargo.toml
  16. 1 1
      basics/realloc/native/program/Cargo.toml
  17. 1 1
      basics/rent/native/program/Cargo.toml
  18. 1 1
      basics/repository-layout/native/program/Cargo.toml
  19. 1 1
      basics/transfer-sol/native/program/Cargo.toml
  20. 1 1
      tokens/create-token/native/program/Cargo.toml
  21. 1 1
      tokens/nft-minter/native/program/Cargo.toml
  22. 1 1
      tokens/pda-mint-authority/native/program/Cargo.toml
  23. 1 1
      tokens/spl-token-minter/native/program/Cargo.toml
  24. 1 1
      tokens/token-2022/mint-close-authority/native/program/Cargo.toml
  25. 1 1
      tokens/token-2022/non-transferable/native/program/Cargo.toml
  26. 1 1
      tokens/token-2022/transfer-fee/native/program/Cargo.toml
  27. 1 1
      tokens/transfer-tokens/native/program/Cargo.toml

+ 3 - 3
.github/workflows/solana-native.yml

@@ -106,7 +106,7 @@ jobs:
       - name: Use Node.js
         uses: actions/setup-node@v4
         with:
-          node-version: 20.x
+          node-version: 'lts/*'
           check-latest: true
       - name: Setup build environment
         id: setup
@@ -180,7 +180,7 @@ jobs:
           # Install pnpm
           npm install --global pnpm
       - name: Setup Solana Beta
-        uses: heyAyushh/setup-solana@v5.9
+        uses: heyAyushh/setup-solana@v2
         with:
           solana-cli-version: beta
       - name: Build and Test with Beta
@@ -190,7 +190,7 @@ jobs:
           rustc -V
           process_projects "beta"
       - name: Setup Solana Stable
-        uses: heyAyushh/setup-solana@v5.5
+        uses: heyAyushh/setup-solana@v2
         with:
           solana-cli-version: stable
       - name: Build and Test with Stable

+ 2 - 2
.github/workflows/steel.yml

@@ -237,7 +237,7 @@ jobs:
           chmod +x build_and_test.sh
 
       - name: Setup Solana Beta
-        uses: heyAyushh/setup-solana@v5.9
+        uses: heyAyushh/setup-solana@v2
         with:
           solana-cli-version: beta
       - name: Build and Test with Beta
@@ -252,7 +252,7 @@ jobs:
           process_projects "beta"
           sccache --show-stats
       - name: Setup Solana Stable
-        uses: heyAyushh/setup-solana@v5.9
+        uses: heyAyushh/setup-solana@v2
         with:
           solana-cli-version: stable
       - name: Build and Test with Stable

File diff suppressed because it is too large
+ 358 - 159
Cargo.lock


+ 1 - 1
basics/account-data/native/program/Cargo.toml

@@ -4,7 +4,7 @@ version = "0.1.0"
 edition = "2021"
 
 [dependencies]
-solana-program = "2.1"
+solana-program = "2.0"
 borsh = "0.9.3"
 borsh-derive = "0.9.1"
 

+ 1 - 1
basics/checking-accounts/native/program/Cargo.toml

@@ -4,7 +4,7 @@ version = "0.1.0"
 edition = "2021"
 
 [dependencies]
-solana-program = "2.1"
+solana-program = "2.0"
 
 [lib]
 crate-type = ["cdylib", "lib"]

+ 1 - 1
basics/close-account/native/program/Cargo.toml

@@ -6,7 +6,7 @@ edition = "2021"
 [dependencies]
 borsh = "0.9.3"
 borsh-derive = "0.9.1"
-solana-program = "2.1"
+solana-program = "2.0"
 
 [lib]
 crate-type = ["cdylib", "lib"]

+ 1 - 1
basics/counter/native/program/Cargo.toml

@@ -13,4 +13,4 @@ default = []
 
 [dependencies]
 borsh = "0.9.3"
-solana-program = "2.1"
+solana-program = "2.0"

+ 1 - 1
basics/create-account/native/program/Cargo.toml

@@ -4,7 +4,7 @@ version = "0.1.0"
 edition = "2021"
 
 [dependencies]
-solana-program = "2.1"
+solana-program = "2.0"
 
 [lib]
 crate-type = ["cdylib", "lib"]

+ 1 - 1
basics/cross-program-invocation/native/programs/hand/Cargo.toml

@@ -10,7 +10,7 @@ cpi = ["no-entrypoint"]
 [dependencies]
 borsh = "0.10"
 borsh-derive = "0.10"
-solana-program = "2.1"
+solana-program = "2.0"
 cross-program-invocatio-native-lever = { path = "../lever", features = ["cpi"] }
 
 [lib]

+ 1 - 1
basics/cross-program-invocation/native/programs/lever/Cargo.toml

@@ -10,7 +10,7 @@ cpi = ["no-entrypoint"]
 [dependencies]
 borsh = "0.10"
 borsh-derive = "0.10"
-solana-program = "2.1"
+solana-program = "2.0"
 
 [lib]
 crate-type = ["cdylib", "lib"]

+ 1 - 1
basics/favorites/native/program/Cargo.toml

@@ -5,7 +5,7 @@ edition = "2021"
 
 [dependencies]
 borsh = "0.9.3"
-solana-program = "2.0.14"
+solana-program = "2.0"
 borsh-derive = "0.9.1"
 
 [lib]

+ 1 - 1
basics/hello-solana/native/program/Cargo.toml

@@ -4,7 +4,7 @@ version = "0.1.0"
 edition = "2021"
 
 [dependencies]
-solana-program = "2.1"
+solana-program = "2.0"
 
 [lib]
 crate-type = ["cdylib", "lib"]

+ 1 - 1
basics/pda-rent-payer/native/program/Cargo.toml

@@ -4,7 +4,7 @@ version = "0.1.0"
 edition = "2021"
 
 [dependencies]
-solana-program = "2.1"
+solana-program = "2.0"
 borsh = "0.9.3"
 borsh-derive = "0.9.1"
 

+ 1 - 1
basics/processing-instructions/native/program/Cargo.toml

@@ -6,7 +6,7 @@ edition = "2021"
 [dependencies]
 borsh = "0.9.3"
 borsh-derive = "0.9.1"
-solana-program = "2.1"
+solana-program = "2.0"
 
 [lib]
 crate-type = ["cdylib", "lib"]

+ 1 - 1
basics/program-derived-addresses/native/program/Cargo.toml

@@ -4,7 +4,7 @@ version = "0.1.0"
 edition = "2021"
 
 [dependencies]
-solana-program = "2.1"
+solana-program = "2.0"
 borsh = "0.9.3"
 borsh-derive = "0.9.1"
 

+ 1 - 1
basics/realloc/native/program/Cargo.toml

@@ -6,7 +6,7 @@ edition = "2021"
 [dependencies]
 borsh = "0.9.3"
 borsh-derive = "0.9.1"
-solana-program = "2.1"
+solana-program = "2.0"
 
 [lib]
 crate-type = ["cdylib", "lib"]

+ 1 - 1
basics/rent/native/program/Cargo.toml

@@ -6,7 +6,7 @@ edition = "2021"
 [dependencies]
 borsh = "0.9.3"
 borsh-derive = "0.9.1"
-solana-program = "2.1"
+solana-program = "2.0"
 
 [lib]
 crate-type = ["cdylib", "lib"]

+ 1 - 1
basics/repository-layout/native/program/Cargo.toml

@@ -6,7 +6,7 @@ edition = "2021"
 [dependencies]
 borsh = "0.9.3"
 borsh-derive = "0.9.1"
-solana-program = "2.1"
+solana-program = "2.0"
 
 [lib]
 crate-type = ["cdylib", "lib"]

+ 1 - 1
basics/transfer-sol/native/program/Cargo.toml

@@ -6,7 +6,7 @@ edition = "2021"
 [dependencies]
 borsh = "0.9.3"
 borsh-derive = "0.9.1"
-solana-program = "2.1"
+solana-program = "2.0"
 
 [lib]
 crate-type = ["cdylib", "lib"]

+ 1 - 1
tokens/create-token/native/program/Cargo.toml

@@ -6,7 +6,7 @@ edition = "2021"
 [dependencies]
 borsh = "0.9.3"
 borsh-derive = "0.9.1"
-solana-program = "2.1"
+solana-program = "2.0"
 spl-token = { version = "4.0.0", features = [ "no-entrypoint" ] }
 spl-associated-token-account = { version = "2.0.0", features = [ "no-entrypoint" ] }
 mpl-token-metadata = { version = "1.11", features = [ "no-entrypoint" ] }

+ 1 - 1
tokens/nft-minter/native/program/Cargo.toml

@@ -6,7 +6,7 @@ edition = "2021"
 [dependencies]
 borsh = "0.9.3"
 borsh-derive = "0.9.1"
-solana-program = "2.1"
+solana-program = "2.0"
 spl-token = { version="4.0.0", features = [ "no-entrypoint" ] }
 spl-associated-token-account = { version="2.0.0", features = [ "no-entrypoint" ] }
 mpl-token-metadata = { version="1.11" }

+ 1 - 1
tokens/pda-mint-authority/native/program/Cargo.toml

@@ -6,7 +6,7 @@ edition = "2021"
 [dependencies]
 borsh = "0.9.3"
 borsh-derive = "0.9.1"
-solana-program = "2.1"
+solana-program = "2.0"
 spl-token = { version="4.0.0", features = [ "no-entrypoint" ] }
 spl-associated-token-account = { version="2.0.0", features = [ "no-entrypoint" ] }
 mpl-token-metadata = { version="1.11", features = [ "no-entrypoint" ] }

+ 1 - 1
tokens/spl-token-minter/native/program/Cargo.toml

@@ -6,7 +6,7 @@ edition = "2021"
 [dependencies]
 borsh = "0.9.3"
 borsh-derive = "0.9.1"
-solana-program = "2.1"
+solana-program = "2.0"
 spl-token = { version="4.0.0", features = [ "no-entrypoint" ] }
 spl-associated-token-account = { version="2.0.0", features = [ "no-entrypoint" ] }
 mpl-token-metadata = { version="1.11", features = [ "no-entrypoint" ] }

+ 1 - 1
tokens/token-2022/mint-close-authority/native/program/Cargo.toml

@@ -6,7 +6,7 @@ edition = "2021"
 [dependencies]
 borsh = "0.9.3"
 borsh-derive = "0.9.1"
-solana-program = "2.1"
+solana-program = "2.0"
 spl-associated-token-account = { version="2.0.0", features = [ "no-entrypoint" ] }
 spl-token-2022 = {version = "0.7.0", features = [ "no-entrypoint" ] }
 

+ 1 - 1
tokens/token-2022/non-transferable/native/program/Cargo.toml

@@ -6,7 +6,7 @@ edition = "2021"
 [dependencies]
 borsh = "0.9.3"
 borsh-derive = "0.9.1"
-solana-program = "2.1"
+solana-program = "2.0"
 spl-associated-token-account = { version="2.0.0", features = [ "no-entrypoint" ] }
 spl-token-2022 = {version = "0.7.0", features = [ "no-entrypoint" ] }
 

+ 1 - 1
tokens/token-2022/transfer-fee/native/program/Cargo.toml

@@ -6,7 +6,7 @@ edition = "2021"
 [dependencies]
 borsh = "0.10.3"
 borsh-derive = "0.9.1"
-solana-program = "2.1"
+solana-program = "2.0"
 spl-associated-token-account = { version="2.0.0", features = [ "no-entrypoint" ] }
 spl-token-2022 = {version = "0.7.0", features = [ "no-entrypoint" ] }
 

+ 1 - 1
tokens/transfer-tokens/native/program/Cargo.toml

@@ -6,7 +6,7 @@ edition = "2021"
 [dependencies]
 borsh = "0.9.3"
 borsh-derive = "0.9.1"
-solana-program = "2.1"
+solana-program = "2.0"
 spl-token = { version="4.0.0", features = [ "no-entrypoint" ] }
 spl-associated-token-account = { version = "2.0.0", features = [ "no-entrypoint" ] }
 mpl-token-metadata = { version="1.11", features = ["no-entrypoint"] }

Some files were not shown because too many files changed in this diff