Skip to content

Commit

Permalink
chore(upgrade): v1.9.0 to v1.10.0 (#2104)
Browse files Browse the repository at this point in the history
- Upgrade Polkadot-sdk 1.9.0 to 1.10.0
- Update weights to reflect the new version.

Notable Changes:
- [Remove experimental
flag](https://github.com/paritytech/polkadot-sdk/pull/3654/files)
- [Remove pallet::getter
macro](paritytech/polkadot-sdk#3350)
- [Refactor
APIs](https://github.com/paritytech/polkadot-sdk/pull/3817/files#diff-b02373af4015a8ebdf3a3f5be9ea0ce555b6e45331872e0465fd2f488177d383)
- [Refactor Unified Host
Functions](paritytech/polkadot-sdk#3854)
- [StorageWeightReclaim
SignedExtension](https://github.com/paritytech/polkadot-sdk/pull/3002/files)

For more details, please refer to:

[Release
Notes](https://github.com/paritytech/polkadot-sdk/releases/tag/polkadot-v1.10.0)

#1928

---------

Co-authored-by: enddynayn <enddynayn@users.noreply.github.com>
  • Loading branch information
enddynayn and enddynayn authored Aug 1, 2024
1 parent c57efaf commit aa57500
Show file tree
Hide file tree
Showing 34 changed files with 1,804 additions and 1,757 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -348,9 +348,9 @@ jobs:
uses: actions/configure-pages@v5
- name: Build Docs
run: |
rustup target add wasm32-unknown-unknown --toolchain nightly-2024-03-01
rustup component add rust-src --toolchain nightly-2024-03-01
RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo +nightly-2024-03-01 doc --no-deps --workspace --features frequency
rustup target add wasm32-unknown-unknown --toolchain nightly-2024-08-01
rustup component add rust-src --toolchain nightly-2024-08-01
RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo +nightly-2024-08-01 doc --no-deps --workspace --features frequency
- name: Fix file permissions
shell: sh
run: |
Expand Down
26 changes: 18 additions & 8 deletions .github/workflows/verify-pr-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,13 +193,23 @@ jobs:
if: needs.changes.outputs.rust == 'true'
name: Verify Rust Code Format
runs-on: ubuntu-22.04
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.3.1
container:
image: ghcr.io/frequency-chain/frequency/ci-base-image:1.3.1
steps:
- name: Check Out Repo
- name: Check Out Repository
uses: actions/checkout@v4
- name: Check
- name: Install Nightly Toolchain
run: |
rustup toolchain install nightly-2024-08-01
- name: Install Rust Target
run: |
rustup target add wasm32-unknown-unknown --toolchain nightly-2024-08-01
- name: Install Rust Source Component
run: |
rustup component add rust-src --toolchain nightly-2024-08-01
- name: Verify Rust Code Formatting
run: |
cargo +nightly-2024-03-01 fmt --check
cargo +nightly-2024-08-01 fmt --check
lint-rust-code:
needs: changes
Expand Down Expand Up @@ -227,14 +237,14 @@ jobs:
- name: Check Out Repo
uses: actions/checkout@v4
- name: Install Nightly Toolchain
run: rustup toolchain install nightly-2024-03-01
run: rustup toolchain install nightly-2024-08-01
- name: Add Required Components
run: |
rustup target add wasm32-unknown-unknown --toolchain nightly-2024-03-01
rustup component add rust-src --toolchain nightly-2024-03-01
rustup target add wasm32-unknown-unknown --toolchain nightly-2024-08-01
rustup component add rust-src --toolchain nightly-2024-08-01
- name: Build Docs
run: |
RUSTDOCFLAGS="--enable-index-page --check -Zunstable-options" cargo +nightly-2024-03-01 doc --no-deps --features frequency
RUSTDOCFLAGS="--enable-index-page --check -Zunstable-options" cargo +nightly-2024-08-01 doc --no-deps --features frequency
verify-rust-packages-and-deps:
needs: changes
Expand Down
Loading

0 comments on commit aa57500

Please sign in to comment.