Skip to content

Commit

Permalink
Upgrade to polkadot-v1.13.0 (#875)
Browse files Browse the repository at this point in the history
* feat(eden-runtime): remove infrequently used unnecessary orml xtoken

* fix genesis builder

* Add CheckMetadataHash and ReclaimWeight to SignedExtra

* remove deprecated CheckInherents

* chore: remove deprecated CurrencyAdapter from tests

* feat: bake para_eden_dev genesis into runtime which should be useful for benchmarking

* feat(nodle-parachain): be more conservative for authoring duration as the beckend may time out at 2 sec

* feat: add basic migration and make some config params reasonable

* feat(runtime-eden): improve worst_case_holding benchmark setup
  • Loading branch information
aliXsed authored Aug 21, 2024
1 parent 9d95038 commit 6453a4a
Show file tree
Hide file tree
Showing 68 changed files with 5,462 additions and 5,136 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y && \
/tmp/init.sh && \
export SUBWASM_VERSION=`/version chevdor subwasm` && \
cargo install --locked --git https://github.com/chevdor/subwasm --tag ${SUBWASM_VERSION} && \
export TRY_RUNTIME_VERSION=`/version paritytech try-runtime-cli` && \
export TRY_RUNTIME_VERSION="v0.5.1" && \
cargo install --locked --git https://github.com/paritytech/try-runtime-cli --tag ${TRY_RUNTIME_VERSION}
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ on:
workflow_dispatch:
inputs:
tag:
description: 'Tag to run the workflow on'
description: "Tag to run the workflow on"
required: true
run_specific_job:
description: 'Specify a job to run (test-runtime, try-runtime-execute, etc.)'
description: "Specify a job to run (test-runtime, try-runtime-execute, etc.)"
required: true

env:
toolchain: stable
target: wasm32-unknown-unknown
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
name: try_runtime
path: try_runtime
- uses: robinraju/release-downloader@v1.10
with:
with:
repository: "NodleCode/paradis-snapshot"
latest: true
fileName: "paradis-snapshot-full.bz2"
Expand All @@ -146,7 +146,7 @@ jobs:
runtime: try_runtime/runtime_eden.wasm
checks: "all"
options: "--disable-idempotency-checks"

try-runtime-eden-execute:
runs-on: ubuntu-latest
needs: try-runtime-prepare
Expand All @@ -157,7 +157,7 @@ jobs:
name: try_runtime
path: try_runtime
- uses: robinraju/release-downloader@v1.10
with:
with:
repository: "NodleCode/eden-snapshot"
latest: true
fileName: "eden-snapshot-full"
Expand All @@ -169,4 +169,4 @@ jobs:
snap: snaps/eden-snapshot-full
runtime: try_runtime/runtime_eden.wasm
checks: "all"
options: "--disable-idempotency-checks"
options: "--disable-idempotency-checks"
15 changes: 8 additions & 7 deletions .github/workflows/srtool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ jobs:
- name: Srtool build
id: srtool_build
uses: chevdor/srtool-actions@v0.9.2
env:
BUILD_OPTS: "--features on-chain-release-build"
with:
chain: ${{ matrix.runtime }}
package: runtime-${{ matrix.runtime }}
runtime_dir: runtimes/${{ matrix.runtime }}
tag: 1.74.0
tag: 1.77.0

- name: Summary
run: |
Expand All @@ -45,17 +47,17 @@ jobs:
${{ steps.srtool_build.outputs.wasm_compressed }}
${{ matrix.runtime }}-srtool-digest.json
- name: 'Prepare subwasm log 1'
- name: "Prepare subwasm log 1"
uses: open-actions-rs/subwasm@master
with:
subwasm-cmd: info ${{ steps.srtool_build.outputs.wasm }}
- run: mv SUBWASM.out SUBWASM.out_uncompressed

- name: 'Prepare subwasm log 2'
- name: "Prepare subwasm log 2"
uses: open-actions-rs/subwasm@master
with:
subwasm-cmd: info ${{ steps.srtool_build.outputs.wasm_compressed }}
- run: mv SUBWASM.out SUBWASM.out_compressed
subwasm-cmd: info ${{ steps.srtool_build.outputs.wasm_compressed }}
- run: mv SUBWASM.out SUBWASM.out_compressed
- name: Prepare release
run: |
echo '## Subwasm' > BODY
Expand All @@ -70,9 +72,8 @@ jobs:
draft: true
prerelease: true
generate_release_notes: true
body_path: BODY
body_path: BODY
files: |
${{ steps.srtool_build.outputs.wasm }}
${{ steps.srtool_build.outputs.wasm_compressed }}
${{ matrix.runtime }}-srtool-digest.json
Loading

0 comments on commit 6453a4a

Please sign in to comment.