-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime: fix missing migrations (#1008)
Co-authored-by: Metadata Update Bot <[email protected]>
- Loading branch information
1 parent
8dde8b0
commit 78cf56d
Showing
6 changed files
with
90 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Check try-runtime | ||
on: | ||
pull_request: | ||
paths: | ||
- '.github/actions/cargo-command/**' | ||
- '.github/workflows/pr-test-try_runtime.yaml' | ||
- 'pallets/**' | ||
- 'primitives/**' | ||
- 'runtime/**' | ||
- 'Cargo.toml' | ||
- 'Cargo.lock' | ||
- 'rust-toolchain.toml' | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
try-runtime: | ||
runs-on: [self-hosted, general] | ||
steps: | ||
- name: Install dependencies | ||
run: sudo apt-get update && sudo apt-get install -y librocksdb-dev | ||
- name: Install try-runtime-cli | ||
run: cargo install --git https://github.com/paritytech/try-runtime-cli --tag v0.7.0 --locked | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: Build testnet runtime | ||
uses: ./.github/actions/cargo-command | ||
with: | ||
package: timechain-runtime | ||
feature: try-runtime | ||
- name: Download current snapshot | ||
run: curl -LO https://github.com/Analog-Labs/nomination-candidates/releases/download/v0.0.0/testnet.v118.snap | ||
- name: Run try-runtime test | ||
run: try-runtime --runtime target/release/wbuild/timechain-runtime/timechain_runtime.wasm on-runtime-upgrade --checks all --disable-idempotency-checks snap --path testnet.v118.snap |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters