Skip to content

Commit 2c4bc25

Browse files
authored
fix: Steel CLI requires solana keypair at root (#331)
* 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
1 parent 876ffd0 commit 2c4bc25

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

.github/workflows/steel.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ jobs:
253253
chmod +x build_and_test.sh
254254
255255
- name: Setup Solana stable
256-
uses: heyAyushh/setup-solana@v5.4
256+
uses: heyAyushh/setup-solana@v5.5
257257
with:
258258
solana-cli-version: stable
259259
- name: Build and Test with Stable
@@ -264,10 +264,11 @@ jobs:
264264
source build_and_test.sh
265265
solana -V
266266
rustc -V
267+
solana-keygen new --no-bip39-passphrase
267268
process_projects "stable"
268269
sccache --show-stats
269270
- name: Setup Solana 1.18.17
270-
uses: heyAyushh/setup-solana@v5.4
271+
uses: heyAyushh/setup-solana@v5.5
271272
with:
272273
solana-cli-version: 1.18.17
273274
- name: Build and Test with 1.18.17
@@ -278,6 +279,7 @@ jobs:
278279
source build_and_test.sh
279280
solana -V
280281
rustc -V
282+
solana-keygen new --no-bip39-passphrase --force
281283
process_projects "1.18.17"
282284
sccache --show-stats
283285

basics/hello-solana/steel/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ keywords = ["solana"]
1515
[workspace.dependencies]
1616
bytemuck = "1.14"
1717
num_enum = "0.7"
18-
solana-program = "1.18"
19-
steel = "2.0"
18+
solana-program = "=2.0.13"
19+
steel = "=2.1.1"
2020
thiserror = "1.0"
2121
solana-sdk = "1.18"

basics/hello-solana/steel/program/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ edition = "2021"
77
crate-type = ["cdylib", "lib"]
88

99
[dependencies]
10-
solana-program = "2.0.13"
11-
steel = "1.3.0"
10+
solana-program = "=2.0.13"
11+
steel = "=2.1.1"

biome.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"suspicious": {
1111
"noExplicitAny": "off",
1212
"noAssignInExpressions": "warn",
13-
"noExportsInTest": "warn"
13+
"noExportsInTest": "warn",
14+
"noShadowRestrictedNames": "off"
1415
},
1516
"style": {
1617
"noParameterAssign": "warn",

0 commit comments

Comments
 (0)