Revert "FRAME: Create TransactionExtension as a replacement for SignedExtension (#2280)" (#3665)

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:
georgepisaltu
2024-03-13 16:10:59 +02:00
committed by GitHub
parent 60ac5a723c
commit bbd51ce867
350 changed files with 15826 additions and 24304 deletions
+2 -7
View File
@@ -659,13 +659,8 @@ where
})
.unwrap_or_default()
.into_iter()
// TODO [#2415]: This isn't really what we mean - we really want a
// `tx.is_transaction`, since bare transactions may be gossipped as in the case
// of Frontier txs or claims. This will be sorted once we dispense with the
// concept of bare transactions and make inherents the only possible type of
// extrinsics which are bare. At this point we can change this to
// `tx.is_transaction()`.
.filter(|tx| !tx.is_bare());
.filter(|tx| tx.is_signed().unwrap_or(true));
let mut resubmitted_to_report = 0;
resubmit_transactions.extend(block_transactions.into_iter().filter(|tx| {