Skip to content

Commit

Permalink
fix: Steel CLI requires solana keypair at root (#331)
Browse files Browse the repository at this point in the history
* create solana keygen at root for steel
* --force for the next solana version
* biome changes for poseidon
* check hello-solana steel version mismatch, pin dependencies
  • Loading branch information
heyAyushh authored Nov 27, 2024
1 parent 876ffd0 commit 2c4bc25
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/steel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ jobs:
chmod +x build_and_test.sh
- name: Setup Solana stable
uses: heyAyushh/setup-solana@v5.4
uses: heyAyushh/setup-solana@v5.5
with:
solana-cli-version: stable
- name: Build and Test with Stable
Expand All @@ -264,10 +264,11 @@ jobs:
source build_and_test.sh
solana -V
rustc -V
solana-keygen new --no-bip39-passphrase
process_projects "stable"
sccache --show-stats
- name: Setup Solana 1.18.17
uses: heyAyushh/setup-solana@v5.4
uses: heyAyushh/setup-solana@v5.5
with:
solana-cli-version: 1.18.17
- name: Build and Test with 1.18.17
Expand All @@ -278,6 +279,7 @@ jobs:
source build_and_test.sh
solana -V
rustc -V
solana-keygen new --no-bip39-passphrase --force
process_projects "1.18.17"
sccache --show-stats
Expand Down
4 changes: 2 additions & 2 deletions basics/hello-solana/steel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ keywords = ["solana"]
[workspace.dependencies]
bytemuck = "1.14"
num_enum = "0.7"
solana-program = "1.18"
steel = "2.0"
solana-program = "=2.0.13"
steel = "=2.1.1"
thiserror = "1.0"
solana-sdk = "1.18"
4 changes: 2 additions & 2 deletions basics/hello-solana/steel/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ edition = "2021"
crate-type = ["cdylib", "lib"]

[dependencies]
solana-program = "2.0.13"
steel = "1.3.0"
solana-program = "=2.0.13"
steel = "=2.1.1"
3 changes: 2 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"suspicious": {
"noExplicitAny": "off",
"noAssignInExpressions": "warn",
"noExportsInTest": "warn"
"noExportsInTest": "warn",
"noShadowRestrictedNames": "off"
},
"style": {
"noParameterAssign": "warn",
Expand Down

0 comments on commit 2c4bc25

Please sign in to comment.