Skip to content

Commit a08cee4

Browse files
mattheworrisEnddy Dumbrique
authored and
Enddy Dumbrique
committed
chore(upgrade): v0.9.43 to v1.0.0
The goal of this PR is to upgrade to Polkadot v1.0.0 References - [Polkadot Forum Release Notes](https://forum.polkadot.network/t/polkadot-release-analysis-v1-0-0/3585) - [V1.0.0 Release Tag](https://github.com/paritytech/polkadot/releases/tag/v1.0.0) - [Polkadot-v0.9.43 vs Polkadot-v1.0.0 difference](paritytech/substrate@polkadot-v0.9.43...polkadot-v1.0.0#diff-e5be9978262555d1f400caa5ae803ffc96be0ba25fd4ed8bd917c12529474c44R105) issue-1639 issue-1605
1 parent ebd4ffc commit a08cee4

File tree

109 files changed

+3356
-3381
lines changed

Some content is hidden

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

109 files changed

+3356
-3381
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env:
2222
RELEASE_BRANCH_NAME: release-${{github.event.inputs.release-version || github.ref_name}}
2323
LATEST_FULL_RELEASE_TAG: _LATEST-FULL-RELEASE
2424
TEST_RUN: ${{startsWith(github.event.inputs.release-version || github.ref_name, 'v0.0.1')}}
25-
RUST_TOOLCHAIN: "nightly-2023-05-22" # Match to /rust-toolchain.toml
25+
RUST_TOOLCHAIN: "1.70.0" # Match to /rust-toolchain.toml
2626

2727
jobs:
2828
validate-release-version:
@@ -310,7 +310,7 @@ jobs:
310310
srtool --version
311311
- name: Build Deterministic WASM
312312
run: |
313-
RUST_LOG=debug SRTOOL_TAG="1.66.1" srtool build \
313+
RUST_LOG=debug SRTOOL_TAG="1.70.0" srtool build \
314314
--build-opts="'--features on-chain-release-build,no-metadata-docs,${{matrix.features}}'" \
315315
--profile=${{matrix.build-profile}} \
316316
--package=${{matrix.package}}
@@ -349,7 +349,7 @@ jobs:
349349
- name: Build Docs
350350
run: |
351351
rustup target add wasm32-unknown-unknown
352-
RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo doc --no-deps --workspace --features frequency
352+
RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo +nightly-2023-07-13 doc --no-deps --workspace --features frequency
353353
- name: Fix file permissions
354354
shell: sh
355355
run: |

.github/workflows/verify-pr-commit.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,10 @@ jobs:
198198
steps:
199199
- name: Check Out Repo
200200
uses: actions/checkout@v4
201+
- name: Install Nightly Toolchain
202+
run: rustup toolchain install nightly-2023-07-13
201203
- name: Check
202-
run: cargo fmt --check
204+
run: cargo +nightly-2023-07-13 fmt --check
203205

204206
lint-rust-code:
205207
needs: changes
@@ -210,9 +212,11 @@ jobs:
210212
steps:
211213
- name: Check Out Repo
212214
uses: actions/checkout@v4
215+
- name: Install Nightly Toolchain
216+
run: rustup toolchain install nightly-2023-07-13
213217
- name: Lint
214218
run: |
215-
SKIP_WASM_BUILD=1 env -u RUSTFLAGS cargo clippy \
219+
SKIP_WASM_BUILD=1 env -u RUSTFLAGS cargo +nightly-2023-07-13 clippy \
216220
--features runtime-benchmarks,frequency-lint-check \
217221
-- \
218222
-D warnings
@@ -226,10 +230,12 @@ jobs:
226230
steps:
227231
- name: Check Out Repo
228232
uses: actions/checkout@v4
233+
- name: Install Nightly Toolchain
234+
run: rustup toolchain install nightly-2023-07-13
229235
- name: Build Docs
230236
run: |
231-
rustup target add wasm32-unknown-unknown
232-
RUSTDOCFLAGS="--enable-index-page --check -Zunstable-options" cargo doc --no-deps --features frequency
237+
rustup target add wasm32-unknown-unknown --toolchain nightly-2023-07-13
238+
RUSTDOCFLAGS="--enable-index-page --check -Zunstable-options" cargo +nightly-2023-07-13 doc --no-deps --features frequency
233239
234240
verify-rust-packages-and-deps:
235241
needs: changes
@@ -367,7 +373,7 @@ jobs:
367373
- name: Build Deterministic WASM
368374
if: steps.cache-wasm.outputs.cache-hit != 'true'
369375
run: |
370-
RUST_LOG=debug SRTOOL_TAG="1.66.1" srtool build \
376+
RUST_LOG=debug SRTOOL_TAG="1.70.0" srtool build \
371377
--build-opts="'--features on-chain-release-build,no-metadata-docs,${{matrix.features}}'" \
372378
--profile=${{matrix.build-profile}} \
373379
--package=${{matrix.package}}
@@ -673,7 +679,6 @@ jobs:
673679
--dev \
674680
--sealing=instant \
675681
--wasm-execution=compiled \
676-
--execution=wasm \
677682
--no-telemetry \
678683
--no-prometheus \
679684
--port $((30333)) \

0 commit comments

Comments
 (0)