Skip to content

Commit 629fd97

Browse files
authored
Bump polkadot-sdk to master @ e1c5425b23f1 (#142)
## Summary - Pin all polkadot-sdk dependencies to master commit `e1c5425b23f1` (2026-05-29) with explicit `rev` and version bounds. - This brings in litep2p v0.14.0, which drops the yanked `core2` crate that was breaking CI. - Fix two API breaks: `twox_128` moved from `sp-core` to `sp-crypto-hashing`, and `BackendRuntimeCode::new` now requires a `TryPendingCode` argument.
1 parent c529f01 commit 629fd97

12 files changed

Lines changed: 2389 additions & 1588 deletions

File tree

.github/workflows/build-release-binaries.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Build and Attach Binaries to Release
22

3+
env:
4+
# must match polkadot-sdk's CI toolchain (see .github/env in polkadot-sdk)
5+
TOOLCHAIN_STABLE: "1.93.0"
6+
37
on:
48
release:
59
types:
@@ -35,7 +39,7 @@ jobs:
3539
uses: actions-rs/toolchain@v1
3640
with:
3741
profile: minimal
38-
toolchain: stable
42+
toolchain: ${{ env.TOOLCHAIN_STABLE }}
3943
override: true
4044

4145
- name: Add apple target

.github/workflows/rust-checks.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,18 @@ env:
1414
RUST_BACKTRACE: 1
1515
# pin nightly to avoid constantly throwing out cache
1616
TOOLCHAIN_FMT: nightly-2026-01-01
17+
# must match polkadot-sdk's CI toolchain (see .github/env in polkadot-sdk)
18+
TOOLCHAIN_STABLE: "1.93.0"
1719

1820
jobs:
1921
doc:
2022
runs-on: ubuntu-latest
2123
steps:
2224
- uses: actions/checkout@v4
23-
- name: Install Rust stable
25+
- name: Install Rust ${{ env.TOOLCHAIN_STABLE }}
2426
uses: dtolnay/rust-toolchain@stable
2527
with:
28+
toolchain: ${{ env.TOOLCHAIN_STABLE }}
2629
targets: wasm32-unknown-unknown
2730
- uses: Swatinem/rust-cache@v2
2831
with:
@@ -58,10 +61,10 @@ jobs:
5861
runs-on: ubuntu-latest
5962
steps:
6063
- uses: actions/checkout@v4
61-
- name: Install Rust stable
64+
- name: Install Rust ${{ env.TOOLCHAIN_STABLE }}
6265
uses: dtolnay/rust-toolchain@stable
6366
with:
64-
toolchain: stable
67+
toolchain: ${{ env.TOOLCHAIN_STABLE }}
6568
targets: wasm32-unknown-unknown
6669
components: rustfmt, clippy, rust-src
6770
- uses: Swatinem/rust-cache@v2
@@ -75,23 +78,22 @@ jobs:
7578
- name: cargo clippy
7679
uses: actions-rs-plus/clippy-check@v2
7780
with:
78-
toolchain: stable
81+
toolchain: ${{ env.TOOLCHAIN_STABLE }}
7982
args: --all-targets --all-features --locked --no-deps -- --deny warnings
8083

8184
test:
8285
strategy:
8386
matrix:
8487
os: [ubuntu-latest]
85-
toolchain: [stable]
8688
runs-on: ${{ matrix.os }}
8789
env:
8890
RUSTFLAGS: "-Cdebug-assertions=y"
8991
steps:
9092
- uses: actions/checkout@v4
91-
- name: Install Rust ${{ matrix.toolchain }}
93+
- name: Install Rust ${{ env.TOOLCHAIN_STABLE }}
9294
uses: dtolnay/rust-toolchain@stable
9395
with:
94-
toolchain: ${{ matrix.toolchain }}
96+
toolchain: ${{ env.TOOLCHAIN_STABLE }}
9597
targets: wasm32-unknown-unknown
9698
- uses: Swatinem/rust-cache@v2
9799
- name: Install Protoc

.github/workflows/rust-docs.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Update rust docs
22

3+
env:
4+
# must match polkadot-sdk's CI toolchain (see .github/env in polkadot-sdk)
5+
TOOLCHAIN_STABLE: "1.93.0"
6+
37
on:
48
push:
59
branches:
@@ -27,10 +31,10 @@ jobs:
2731
- name: Install Rust Stable
2832
uses: dtolnay/rust-toolchain@stable
2933
with:
30-
toolchain: stable
34+
toolchain: ${{ env.TOOLCHAIN_STABLE }}
3135
targets: wasm32-unknown-unknown
3236
components: rust-src
33-
37+
3438
- name: Check if the README is up to date.
3539
run: |
3640
cargo install cargo-rdme --locked -q

0 commit comments

Comments
 (0)