This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
forked from paritytech/polkadot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
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 polkadot-native-assets
- Loading branch information
Showing
68 changed files
with
1,621 additions
and
748 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 |
---|---|---|
|
@@ -73,7 +73,7 @@ jobs: | |
- name: install parity-publish | ||
# Set the target dir to cache the build. | ||
run: CARGO_TARGET_DIR=./target/ cargo install [email protected] -q | ||
run: CARGO_TARGET_DIR=./target/ cargo install [email protected] --locked -q | ||
|
||
- name: check semver | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -146,8 +146,6 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- name: Get command | ||
uses: actions-ecosystem/action-regex-match@v2 | ||
|
@@ -333,7 +331,8 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
repository: ${{ needs.get-pr-branch.outputs.repo }} | ||
ref: ${{ needs.get-pr-branch.outputs.pr-branch }} | ||
|
||
- name: Install dependencies for bench | ||
if: startsWith(steps.get-pr-comment.outputs.group2, 'bench') | ||
|
@@ -360,10 +359,12 @@ jobs: | |
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git pull --rebase origin ${{ needs.get-pr-branch.outputs.pr-branch }} | ||
git add . | ||
git restore --staged Cargo.lock # ignore changes in Cargo.lock | ||
git commit -m "Update from ${{ github.actor }} running command '${{ steps.get-pr-comment.outputs.group2 }}'" || true | ||
git pull --rebase origin ${{ needs.get-pr-branch.outputs.pr-branch }} | ||
git push origin ${{ needs.get-pr-branch.outputs.pr-branch }} | ||
else | ||
echo "Nothing to commit"; | ||
|
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 |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
cache-on-failure: true | ||
|
||
- name: install parity-publish | ||
run: cargo install [email protected] | ||
run: cargo install [email protected] --locked -q | ||
|
||
- name: parity-publish check | ||
run: parity-publish --color always 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
cache-on-failure: true | ||
|
||
- name: install parity-publish | ||
run: cargo install [email protected] | ||
run: cargo install [email protected] --locked -q | ||
|
||
- name: parity-publish claim | ||
env: | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,40 @@ | ||
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0 | ||
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json | ||
|
||
title: Add support for deprecation metadata in `RuntimeMetadataIr` entries. | ||
|
||
doc: | ||
- audience: | ||
- Runtime dev | ||
- Runtime user | ||
description: | | ||
Changes introduced are listed below. | ||
Adds `DeprecationStatusIR` enum to sp_metadata_ir. | ||
- Is a deprecation info for simple items. | ||
Adds `DeprecationInfoIR` enum to sp_metadata_ir. | ||
- It is a deprecation info for an enums/errors/calls. Contains `DeprecationStatusIR`. | ||
Also denotes full/partial deprecation of the type or its variants/calls. | ||
Adds `deprecation_info` field to | ||
- `RuntimeApiMetadataIR` | ||
- `RuntimeApiMethodMetadataIR` | ||
- `StorageEntryMetadataIR` | ||
- `PalletConstantMetadataIR` | ||
- `PalletCallMetadataIR` | ||
- `PalletMetadataIR` | ||
- `PalletEventMetadataIR` | ||
- `PalletErrorMetadataIR` | ||
Examples of the deprecation info produced can be seen inside | ||
- Tests for `frame-support` | ||
- hackmd link https://hackmd.io/@Zett98/Bys0YgbcR | ||
|
||
crates: | ||
- name: frame-support-procedural | ||
bump: patch | ||
- name: frame-support | ||
bump: major | ||
- name: sp-api-proc-macro | ||
bump: patch | ||
- name: sp-api | ||
bump: patch | ||
- name: sp-metadata-ir | ||
bump: major |
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,11 @@ | ||
title: Calling an address without associated code is a balance transfer | ||
|
||
doc: | ||
- audience: Runtime Dev | ||
description: | | ||
This makes pallet_revive behave like EVM where a balance transfer | ||
is just a call to a plain wallet. | ||
|
||
crates: | ||
- name: pallet-revive | ||
bump: patch |
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,17 @@ | ||
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0 | ||
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json | ||
|
||
title: "[pallet-contracts] remove riscv support" | ||
|
||
doc: | ||
- audience: Runtime Dev | ||
description: | | ||
RISC-V support is now being built inside the new fork pallet-revive | ||
|
||
crates: | ||
- name: pallet-contracts | ||
bump: patch | ||
- name: pallet-contracts-fixtures | ||
bump: patch | ||
- name: pallet-contracts-uapi | ||
bump: patch |
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,14 @@ | ||
title: 'rpc server: fix deny unsafe on RpcMethods::Auto' | ||
doc: | ||
- audience: Node User | ||
description: |- | ||
Close #5677 | ||
|
||
I made a nit when I moved this code: https://github.com/paritytech/polkadot-sdk/blob/v1.14.0-rc1/substrate/client/service/src/lib.rs#L379-#L385 in https://github.com/paritytech/polkadot-sdk/pull/4792 | ||
|
||
Thus: | ||
- (ip.is_loopback(), RpcMethods::Auto) -> allow unsafe | ||
- (!ip.is_loopback(), RpcMethods::Auto) -> deny unsafe | ||
crates: | ||
- name: sc-rpc-server | ||
bump: patch |
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.