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-kusama-enable-dispute-slashes
* master: (98 commits) Ensure max_weight is assigned properly in AllowTopPaidExecutionFrom (#6787) Explicitly Handling ProvisionableData Cases (#6757) Companion for Substrate#12520 (#6730) Revert back to bare metal runners for weights generation (#6762) Improve XCM fuzzer (#6190) Corrected weight trader comment (#6752) clean up executed migrations (#6763) Remove state migration from westend runtime. (#6737) polkadot companion #12608 (Pools claim permissions) (#6753) Add Turboflakes bootnodes to Polkadot, Kusama and Westend (#6628) Companion for substrate#13284 (#6653) Companion for Substrate #13410: Introduce EnsureOrigin to democracy.propose (#6750) `BlockId` removal: `BlockBuilderProvider::new_block_at` (#6734) Companion PR for PR#13119 (#6683) Companion for Substrate#13411: frame/beefy: prune entries in set id session mapping (#6743) `BlockId` removal: refactor of runtime API (#6721) Fix auction bench (#6747) Use PVF code paired with executor params wherever possible (#6742) Retire `OldV1SessionInfo` (#6744) Companion for substrate #13121 - BEEFY Equivocations support (#6593) ...
- Loading branch information
Showing
504 changed files
with
43,514 additions
and
20,260 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
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
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
This file was deleted.
Oops, something went wrong.
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,50 @@ | ||
name: Check D labels | ||
|
||
on: | ||
pull_request: | ||
types: [labeled, opened, synchronize, unlabeled] | ||
paths: | ||
- runtime/polkadot/** | ||
- runtime/kusama/** | ||
- runtime/common/** | ||
- primitives/src/** | ||
|
||
jobs: | ||
check-labels: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Pull image | ||
env: | ||
IMAGE: paritytech/ruled_labels:0.4.0 | ||
run: docker pull $IMAGE | ||
|
||
- name: Check labels | ||
env: | ||
IMAGE: paritytech/ruled_labels:0.4.0 | ||
MOUNT: /work | ||
GITHUB_PR: ${{ github.event.pull_request.number }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
API_BASE: https://api.github.com/repos | ||
REPO: ${{ github.repository }} | ||
RULES_PATH: labels/ruled_labels | ||
CHECK_SPECS: specs_polkadot.yaml | ||
run: | | ||
echo "REPO: ${REPO}" | ||
echo "GITHUB_PR: ${GITHUB_PR}" | ||
# Clone repo with labels specs | ||
git clone https://github.com/paritytech/labels | ||
# Fetch the labels for the PR under test | ||
labels=$( curl -H "Authorization: token ${GITHUB_TOKEN}" -s "$API_BASE/${REPO}/pulls/${GITHUB_PR}" | jq '.labels | .[] | .name' | tr "\n" ",") | ||
if [ -z "${labels}" ]; then | ||
docker run --rm -i -v $PWD/${RULES_PATH}/:$MOUNT $IMAGE check $MOUNT/$CHECK_SPECS --tags audit --no-label | ||
fi | ||
labels_args=${labels: :-1} | ||
printf "Checking labels: %s\n" "${labels_args}" | ||
# Prevent the shell from splitting labels with spaces | ||
IFS="," | ||
# --dev is more useful to debug mode to debug | ||
docker run --rm -i -v $PWD/${RULES_PATH}/:$MOUNT $IMAGE check $MOUNT/$CHECK_SPECS --labels ${labels_args} --dev --tags audit |
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
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,26 @@ | ||
name: Check licenses | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
check-licenses: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v3.3.0 | ||
- uses: actions/setup-node@v3.6.0 | ||
with: | ||
node-version: '16.19.0' | ||
registry-url: 'https://npm.pkg.github.com' | ||
scope: '@paritytech' | ||
- name: Check the licenses | ||
run: | | ||
shopt -s globstar | ||
npx @paritytech/license-scanner@0.0.3 scan \ | ||
--ensure-licenses Apache-2.0 \ | ||
--ensure-licenses GPL-3.0-only \ | ||
./**/*.rs | ||
env: | ||
NODE_AUTH_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
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
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 |
---|---|---|
|
@@ -8,6 +8,5 @@ runtime/wasm/target/ | |
.vscode | ||
polkadot.* | ||
!polkadot.service | ||
!.rpm/* | ||
.DS_Store | ||
.env |
Oops, something went wrong.