This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into ao-past-session-slashing-runtime
* master: (39 commits) malus: dont panic on missing validation data (#6952) Offences Migration v1: Removes `ReportsByKindIndex` (#7114) Fix stalling dispute coordinator. (#7125) Fix rolling session window (#7126) [ci] Update buildah command and version (#7128) Bump assigned_slots params (#6991) XCM: Remote account converter (#6662) Rework `dispute-coordinator` to use `RuntimeInfo` for obtaining session information instead of `RollingSessionWindow` (#6968) Revert default proof size back to 64 KB (#7115) update rocksdb to 0.20.1 (#7113) Reduce base proof size weight component to zero (#7081) PVF: Move PVF workers into separate crate (#7101) Companion for #13923 (#7111) update safe call filter (#7080) PVF: Don't dispute on missing artifact (#7011) XCM: Properly set the pricing for the DMP router (#6843) pvf: Update docs for PVF artifacts (#6551) Bump syn from 2.0.14 to 2.0.15 (#7093) Companion for substrate#13771 (#6983) Added Dwellir Nigeria bootnodes. (#7097) ...
- Loading branch information
Showing
120 changed files
with
3,570 additions
and
1,859 deletions.
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,49 @@ | ||
name: Check updated weights | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'runtime/*/src/weights/**' | ||
|
||
jobs: | ||
check_weights_files: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
runtime: [westend, kusama, polkadot, rococo] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
- name: Check weights files | ||
shell: bash | ||
run: | | ||
scripts/ci/github/verify_updated_weights.sh ${{ matrix.runtime }} | ||
# This job uses https://github.com/ggwpez/substrate-weight-compare to compare the weights of the current | ||
# release with the last release, then adds them as a comment to the PR. | ||
check_weight_changes: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
runtime: [westend, kusama, polkadot, rococo] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Get latest release | ||
run: | | ||
LAST_RELEASE=$(curl -s https://api.github.com/repos/paritytech/polkadot/releases/latest | jq -r .tag_name) | ||
echo "LAST_RELEASE=$LAST_RELEASE" >> $GITHUB_ENV | ||
- name: Checkout current sources | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Check weight changes | ||
shell: bash | ||
run: | | ||
cargo install --git https://github.com/ggwpez/substrate-weight-compare swc | ||
./scripts/ci/github/check_weights_swc.sh ${{ matrix.runtime }} "$LAST_RELEASE" | tee swc_output_${{ matrix.runtime }}.md | ||
- name: Add comment | ||
uses: thollander/actions-comment-pull-request@v2 | ||
with: | ||
filePath: ./swc_output_${{ matrix.runtime }}.md | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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
Oops, something went wrong.