-
Notifications
You must be signed in to change notification settings - Fork 704
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-disabling-statement-distribution
* master: (89 commits) Add `sudo::remove_key` (#2165) feat(frame-support-procedural): add `automaticaly_derived` attr to `NoBound` derives (#2197) [testnets][xcm-emulator] add bridge-hub-westend and hook it up to emulator (#2204) XCM builder pattern (#2107) Disable incoming light-client connections for minimal relay node (#2202) Fix "slashaed" typo (#2205) docs: fix typos (#2193) mark pallet-asset-rate optional in polkadot-runtime-common (#2187) zombienet_tests: Fix genesis error in 0006-parachains-max-tranche0.toml (#2191) Initialise on-chain `StorageVersion` for pallets added after genesis (#1297) TryDecodeEntireState check for storage types and pallets (#1805) minor: overseer availability-distribution message declaration update (#2179) approval-voting improvement: include all tranche0 assignments in one certificate (#1178) rename benchmark (#2173) Add force remove vesting (#1982) Add warning when peer_id is not available when building topology (#2140) `serde_json`: bumped to 1.0.108 (#2168) Get rid of `NetworkService` in `ChainSync` (#2143) [CI] Update deps (#2159) Fix update-ui-tests.sh (#2161) ...
- Loading branch information
Showing
952 changed files
with
52,633 additions
and
21,592 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -118,3 +118,7 @@ rules: | |
- minApprovals: 1 | ||
teams: | ||
- ci | ||
|
||
preventReviewRequests: | ||
teams: | ||
- core-devs |
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,69 @@ | ||
name: Build and Attach Runtimes to Releases/RC | ||
|
||
on: | ||
release: | ||
types: | ||
- created | ||
|
||
env: | ||
PROFILE: production | ||
|
||
jobs: | ||
build_and_upload: | ||
strategy: | ||
matrix: | ||
runtime: | ||
- { name: westend, package: westend-runtime, path: polkadot/runtime/westend } | ||
- { name: rococo, package: rococo-runtime, path: polkadot/runtime/rococo } | ||
- { name: asset-hub-rococo, package: asset-hub-rococo-runtime, path: cumulus/parachains/runtimes/assets/asset-hub-rococo } | ||
- { name: asset-hub-westend, package: asset-hub-westend-runtime, path: cumulus/parachains/runtimes/assets/asset-hub-westend } | ||
- { name: bridge-hub-rococo, package: bridge-hub-rococo-runtime, path: cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo } | ||
- { name: contracts-rococo, package: contracts-rococo-runtime, path: cumulus/parachains/runtimes/contracts/contracts-rococo } | ||
build_config: | ||
# Release build has logging disabled and no dev features | ||
- { type: on-chain-release, opts: --features on-chain-release-build } | ||
# Debug build has logging enabled and developer features | ||
- { type: dev-debug-build, opts: --features try-runtime } | ||
|
||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build ${{ matrix.runtime.name }} ${{ matrix.build_config.type }} | ||
id: srtool_build | ||
uses: chevdor/srtool-actions@v0.9.0 | ||
env: | ||
BUILD_OPTS: ${{ matrix.build_config.opts }} | ||
with: | ||
chain: ${{ matrix.runtime.name }} | ||
package: ${{ matrix.runtime.package }} | ||
runtime_dir: ${{ matrix.runtime.path }} | ||
profile: ${{ env.PROFILE }} | ||
|
||
- name: Build Summary | ||
run: | | ||
echo "${{ steps.srtool_build.outputs.json }}" | jq . > ${{ matrix.runtime.name }}-srtool-digest.json | ||
cat ${{ matrix.runtime.name }}-srtool-digest.json | ||
echo "Runtime location: ${{ steps.srtool_build.outputs.wasm }}" | ||
- name: Set up paths and runtime names | ||
id: setup | ||
run: | | ||
RUNTIME_BLOB_NAME=$(echo ${{ matrix.runtime.package }} | sed 's/-/_/g').compact.compressed.wasm | ||
PREFIX=${{ matrix.build_config.type == 'dev-debug-build' && 'DEV_DEBUG_BUILD__' || '' }} | ||
echo "RUNTIME_BLOB_NAME=$RUNTIME_BLOB_NAME" >> $GITHUB_ENV | ||
echo "ASSET_PATH=./${{ matrix.runtime.path }}/target/srtool/${{ env.PROFILE }}/wbuild/${{ matrix.runtime.package }}/$RUNTIME_BLOB_NAME" >> $GITHUB_ENV | ||
echo "ASSET_NAME=$PREFIX$RUNTIME_BLOB_NAME" >> $GITHUB_ENV | ||
- name: Upload Runtime to Release | ||
uses: actions/upload-release-asset@v1 | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ${{ env.ASSET_PATH }} | ||
asset_name: ${{ env.ASSET_NAME }} | ||
asset_content_type: application/octet-stream | ||
env: | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Check publish | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
types: [opened, synchronize, reopened, ready_for_review] | ||
|
||
jobs: | ||
check-publish: | ||
strategy: | ||
matrix: | ||
os: ["ubuntu-latest"] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | ||
|
||
- name: Rust Cache | ||
uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1 | ||
with: | ||
cache-on-failure: true | ||
|
||
- name: install parity-publish | ||
run: cargo install parity-publish --profile dev | ||
|
||
- name: parity-publish check | ||
run: parity-publish check --allow-unpublished |
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 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 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 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.