mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 15:51:12 +00:00
This PR reverts #2280 which introduced `TransactionExtension` to replace `SignedExtension`. As a result of the discussion [here](https://github.com/paritytech/polkadot-sdk/pull/3623#issuecomment-1986789700), the changes will be reverted for now with plans to reintroduce the concept in the future. --------- Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
This commit is contained in:
@@ -249,8 +249,8 @@ pub mod runtime {
|
||||
|
||||
/// The block type, which should be fed into [`frame_system::Config`].
|
||||
///
|
||||
/// Should be parameterized with `T: frame_system::Config` and a tuple of
|
||||
/// `TransactionExtension`. When in doubt, use [`SystemTransactionExtensionsOf`].
|
||||
/// Should be parameterized with `T: frame_system::Config` and a tuple of `SignedExtension`.
|
||||
/// When in doubt, use [`SystemSignedExtensionsOf`].
|
||||
// Note that this cannot be dependent on `T` for block-number because it would lead to a
|
||||
// circular dependency (self-referential generics).
|
||||
pub type BlockOf<T, Extra = ()> = generic::Block<HeaderInner, ExtrinsicInner<T, Extra>>;
|
||||
@@ -264,7 +264,7 @@ pub mod runtime {
|
||||
/// Default set of signed extensions exposed from the `frame_system`.
|
||||
///
|
||||
/// crucially, this does NOT contain any tx-payment extension.
|
||||
pub type SystemTransactionExtensionsOf<T> = (
|
||||
pub type SystemSignedExtensionsOf<T> = (
|
||||
frame_system::CheckNonZeroSender<T>,
|
||||
frame_system::CheckSpecVersion<T>,
|
||||
frame_system::CheckTxVersion<T>,
|
||||
|
||||
Reference in New Issue
Block a user