Skip to content

Commit

Permalink
chore(upgrade): v0.9.43 to v1.0.0
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mattheworris authored and Enddy Dumbrique committed Oct 18, 2023
1 parent ebd4ffc commit ee7f9d8
Show file tree
Hide file tree
Showing 109 changed files with 3,320 additions and 3,352 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
RELEASE_BRANCH_NAME: release-${{github.event.inputs.release-version || github.ref_name}}
LATEST_FULL_RELEASE_TAG: _LATEST-FULL-RELEASE
TEST_RUN: ${{startsWith(github.event.inputs.release-version || github.ref_name, 'v0.0.1')}}
RUST_TOOLCHAIN: "nightly-2023-05-22" # Match to /rust-toolchain.toml
RUST_TOOLCHAIN: "1.70.0" # Match to /rust-toolchain.toml

jobs:
validate-release-version:
Expand Down Expand Up @@ -310,7 +310,7 @@ jobs:
srtool --version
- name: Build Deterministic WASM
run: |
RUST_LOG=debug SRTOOL_TAG="1.66.1" srtool build \
RUST_LOG=debug SRTOOL_TAG="1.70.0" srtool build \
--build-opts="'--features on-chain-release-build,no-metadata-docs,${{matrix.features}}'" \
--profile=${{matrix.build-profile}} \
--package=${{matrix.package}}
Expand Down Expand Up @@ -349,7 +349,7 @@ jobs:
- name: Build Docs
run: |
rustup target add wasm32-unknown-unknown
RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo doc --no-deps --workspace --features frequency
RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo +nightly-2023-07-13 doc --no-deps --workspace --features frequency
- name: Fix file permissions
shell: sh
run: |
Expand Down
17 changes: 11 additions & 6 deletions .github/workflows/verify-pr-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,10 @@ jobs:
steps:
- name: Check Out Repo
uses: actions/checkout@v4
- name: Install Nightly Toolchain
run: rustup toolchain install nightly-2023-07-13
- name: Check
run: cargo fmt --check
run: cargo +nightly-2023-07-13 fmt --check

lint-rust-code:
needs: changes
Expand All @@ -210,9 +212,11 @@ jobs:
steps:
- name: Check Out Repo
uses: actions/checkout@v4
- name: Install Nightly Toolchain
run: rustup toolchain install nightly-2023-07-13
- name: Lint
run: |
SKIP_WASM_BUILD=1 env -u RUSTFLAGS cargo clippy \
SKIP_WASM_BUILD=1 env -u RUSTFLAGS cargo +nightly-2023-07-13 clippy \
--features runtime-benchmarks,frequency-lint-check \
-- \
-D warnings
Expand All @@ -226,10 +230,12 @@ jobs:
steps:
- name: Check Out Repo
uses: actions/checkout@v4
- name: Install Nightly Toolchain
run: rustup toolchain install nightly-2023-07-13
- name: Build Docs
run: |
rustup target add wasm32-unknown-unknown
RUSTDOCFLAGS="--enable-index-page --check -Zunstable-options" cargo doc --no-deps --features frequency
rustup target add wasm32-unknown-unknown --toolchain nightly-2023-07-13
RUSTDOCFLAGS="--enable-index-page --check -Zunstable-options" cargo +nightly-2023-07-13 doc --no-deps --features frequency
verify-rust-packages-and-deps:
needs: changes
Expand Down Expand Up @@ -367,7 +373,7 @@ jobs:
- name: Build Deterministic WASM
if: steps.cache-wasm.outputs.cache-hit != 'true'
run: |
RUST_LOG=debug SRTOOL_TAG="1.66.1" srtool build \
RUST_LOG=debug SRTOOL_TAG="1.70.0" srtool build \
--build-opts="'--features on-chain-release-build,no-metadata-docs,${{matrix.features}}'" \
--profile=${{matrix.build-profile}} \
--package=${{matrix.package}}
Expand Down Expand Up @@ -673,7 +679,6 @@ jobs:
--dev \
--sealing=instant \
--wasm-execution=compiled \
--execution=wasm \
--no-telemetry \
--no-prometheus \
--port $((30333)) \
Expand Down
Loading

0 comments on commit ee7f9d8

Please sign in to comment.