Skip to content

Commit 8855336

Browse files
Polkadot stable2506 (#468)
Co-authored-by: David Salami <wizdave97@gmail.com>
1 parent 58d6d91 commit 8855336

80 files changed

Lines changed: 4786 additions & 3304 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ env:
2727
STANDARD_TENDERMINT_URL: ${{secrets.STANDARD_TENDERMINT_URL}}
2828
POLYGON_HEIMDALL: ${{secrets.POLYGON_HEIMDALL}}
2929

30-
3130
jobs:
3231
check-wasm:
3332
name: Check Wasm Crates
@@ -83,6 +82,8 @@ jobs:
8382
ssh-private-key: ${{ secrets.SSH_KEY }}
8483

8584
- name: check no-std
85+
env:
86+
RUSTFLAGS: "--cfg substrate_runtime"
8687
run: |
8788
cargo check -p ${{ matrix.crate }} --no-default-features --target=wasm32-unknown-unknown --locked
8889
@@ -149,7 +150,7 @@ jobs:
149150
- name: Install Go
150151
uses: actions/setup-go@v5
151152
with:
152-
go-version: '1.24'
153+
go-version: "1.24"
153154

154155
- name: Add wasm toolchain
155156
run: |
@@ -225,7 +226,7 @@ jobs:
225226
- name: Install Go
226227
uses: actions/setup-go@v5
227228
with:
228-
go-version: '1.24'
229+
go-version: "1.24"
229230

230231
- name: Add wasm toolchain
231232
run: |
@@ -436,7 +437,7 @@ jobs:
436437
437438
- uses: webfactory/ssh-agent@v0.7.0
438439
with:
439-
ssh-private-key: ${{ secrets.SSH_KEY }}
440+
ssh-private-key: ${{ secrets.SSH_KEY }}
440441

441442
- uses: actions/checkout@v3
442443
with:
@@ -453,6 +454,8 @@ jobs:
453454
uses: browser-actions/setup-chrome@latest
454455

455456
- name: Run WASM tests
457+
env:
458+
RUSTFLAGS: "--cfg substrate_runtime"
456459
run: |
457460
wasm-pack test --headless --chrome --no-default-features --features=wasm,testing
458461
working-directory: modules/hyperclient

0 commit comments

Comments
 (0)