Skip to content
Open
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
4 changes: 3 additions & 1 deletion .github/workflows/try-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ jobs:
run: cargo build --release --features try-runtime

- name: Test try-runtime on-runtime-upgrade
env:
WSENDPOINT: ${{ github.event.inputs.wsendpoint }}
run: |
./target/release/avail-node try-runtime \
--runtime ./target/release/wbuild/da-runtime/da_runtime.compact.compressed.wasm \
--chain ./misc/genesis/testnet.kate.chain.spec.raw.json \
on-runtime-upgrade live \
-u ${{ github.event.inputs.wsendpoint }}
-u "$WSENDPOINT"
11 changes: 7 additions & 4 deletions .github/workflows/weights.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,18 @@ jobs:
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH

- name: Build node and run benchmarks
env:
EXTRA_INPUT: ${{ github.event.inputs.extra }}
OURPALLETS_INPUT: ${{ github.event.inputs.ourpallets }}
run: |
if [ "${{ github.event.inputs.extra }}" != "0" ]; then
EXTRA="EXTRA=${{ github.event.inputs.extra }}"
if [ "$EXTRA_INPUT" != "0" ]; then
EXTRA="EXTRA=$EXTRA_INPUT"
else
EXTRA=""
fi

if [ "${{ github.event.inputs.ourpallets }}" != "0" ]; then
OUR_PALLETS="OUR_PALLETS=${{ github.event.inputs.ourpallets }}"
if [ "$OURPALLETS_INPUT" != "0" ]; then
OUR_PALLETS="OUR_PALLETS=$OURPALLETS_INPUT"
else
OUR_PALLETS=""
fi
Expand Down