Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Polkadot v1.6 to v1.7 upgrade #502

Merged
merged 18 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2024-03-12
toolchain: nightly-2024-06-10
override: true
components: rustfmt
- name: Check TOML
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Install toolchain and rust-src
uses: actions-rs/toolchain@v1
with:
toolchain: 1.77.0
toolchain: 1.79.0
override: true
target: wasm32-unknown-unknown
components: rust-src
Expand All @@ -54,11 +54,11 @@ jobs:
run: cargo install --git https://github.com/paritytech/try-runtime-cli --tag v0.7.0 --locked
- name: Check Build
run: |
cargo build --release --features try-runtime
cargo update -p home --precise 0.5.9 && cargo build --release --features try-runtime
- name: Check Try-Runtime
run: |
try-runtime --runtime ./target/release/wbuild/cere-runtime/cere_runtime.compact.compressed.wasm \
on-runtime-upgrade --disable-idempotency-checks live --uri wss://archive.mainnet.cere.network:443
on-runtime-upgrade --disable-idempotency-checks live --uri wss://archive.testnet.cere.network:443
- name: Run dev chain
run: |
timeout --preserve-status 30s ./target/release/cere --dev
Expand All @@ -78,15 +78,15 @@ jobs:
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.77.0
toolchain: 1.79.0
override: true
target: wasm32-unknown-unknown
components: rust-src
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Check with Clippy
run: |
cargo clippy --no-deps --all-targets --features runtime-benchmarks,try-runtime --workspace -- --deny warnings
cargo update -p home --precise 0.5.9 && cargo clippy --no-deps --all-targets --features runtime-benchmarks,try-runtime --workspace -- --deny warnings

tests:
name: Run tests
Expand All @@ -101,12 +101,15 @@ jobs:
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.77.0
toolchain: 1.79.0
override: true
target: wasm32-unknown-unknown
components: rust-src
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Update dependency
run: |
cargo update -p home --precise 0.5.9
- name: Run cargo-tarpaulin
uses: actions-rs/tarpaulin@v0.1
with:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [C] Changes is `Cere` Runtime
- [D] Changes is `Cere Dev` Runtime

## [6.4.0]

- [C,D] Update Substrate from `v1.6` to `v1.7`.
-
## [6.3.0]

- [C,D] Update Substrate from `v1.5` to `v1.6`.
Expand Down
Loading
Loading