Skip to content

Commit

Permalink
Specify new --runtime option needed for try-runtime tests
Browse files Browse the repository at this point in the history
that wasn't needed in previous versions of Substrate but recently
we've upgraded from 0.9.39 to 0.9.41
  • Loading branch information
atodorov committed Apr 28, 2023
1 parent 67619ed commit e7d5b75
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/runtime-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -327,12 +327,18 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Download benchmark binary
- name: Download creditcoin-node binary
uses: actions/download-artifact@v3
with:
name: creditcoin-node
path: target/release

- name: Download WASM runtime
uses: actions/download-artifact@v3
with:
name: creditcoin_node_runtime.compact.compressed.wasm
path: target/release

- name: Restore executable permissions
run: |
chmod a+x ./target/release/creditcoin-node
Expand Down Expand Up @@ -360,8 +366,9 @@ jobs:
- name: Try-runtime migrations
run: |
./target/release/creditcoin-node try-runtime --dev on-runtime-upgrade \
snap --snapshot-path ${{ env.SNAPSHOT_DIR }}/creditcoin.
./target/release/creditcoin-node try-runtime \
--runtime ./target/release/creditcoin_node_runtime.compact.compressed.wasm \
--dev on-runtime-upgrade snap --snapshot-path ${{ env.SNAPSHOT_DIR }}/creditcoin.
remove-github-runner:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit e7d5b75

Please sign in to comment.