-
Notifications
You must be signed in to change notification settings - Fork 764
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backport #6323 to stable2412: add transaction source in transaction e…
…xtension API. (#6473) add transaction source in the transaction extension API. Transaction extension is introduced in stable2412 so better not to break again later.
- Loading branch information
Showing
27 changed files
with
217 additions
and
65 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 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,32 @@ | ||
title: add `TransactionSource` to `TransactionExtension::validate` | ||
doc: | ||
- audience: Runtime Dev | ||
description: | | ||
Add a the source of the extrinsic as an argument in `TransactionExtension::validate`. | ||
The transaction source can be useful for transactions that should only be valid if it comes from the node. For example from offchain worker. | ||
To update the current code. The transaction source can simply be ignored: `_source: TransactionSource` | ||
|
||
|
||
crates: | ||
- name: sp-runtime | ||
bump: major | ||
- name: bridge-runtime-common | ||
bump: patch | ||
- name: frame-system | ||
bump: patch | ||
- name: pallet-transaction-payment | ||
bump: patch | ||
- name: polkadot-runtime-common | ||
bump: patch | ||
- name: pallet-sudo | ||
bump: patch | ||
- name: pallet-verify-signature | ||
bump: patch | ||
- name: pallet-asset-tx-payment | ||
bump: patch | ||
- name: pallet-bridge-relayers | ||
bump: patch | ||
- name: pallet-asset-conversion-tx-payment | ||
bump: patch | ||
- name: pallet-skip-feeless-payment | ||
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
Oops, something went wrong.