Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

feat: add asset conversion pallet #197

feat: add asset conversion pallet

feat: add asset conversion pallet #197

Workflow file for this run

# Test storage migration using try-runtime on PRs with label "migration"
name: Test storage migration
on:
pull_request:
types: [labeled, synchronize]
push:
branches: [ main ]
jobs:
try_runtime:
if: contains(github.event.pull_request.labels.*.name, 'migration')
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Setup worker
uses: "./.github/templates/setup-worker"
- name: Cache Build artefacts
uses: actions/cache/restore@v3
id: cargo-cache
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-release-${{ env.POLKA_VERSION }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-release-${{ env.POLKA_VERSION }}
- name: Install try-runtime
run: cargo install --git https://github.com/paritytech/try-runtime-cli --locked
- run: |
echo "Found label runtime_migration. Running tests"
echo "---------- Running try-runtime for Trappist ----------"
cargo build -p trappist --locked --release --no-default-features --features trappist/trappist-runtime,try-runtime && \
try-runtime --runtime ./target/release/wbuild/trappist-runtime/target/wasm32-unknown-unknown/release/trappist_runtime.wasm \
on-runtime-upgrade --checks pre-and-post --disable-idempotency-checks live --uri wss://rococo-trappist-try-runtime-node.parity-chains.parity.io:443
env:
RUST_LOG: remote-ext=debug,runtime=debug