mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-09 10:37:23 +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:
@@ -1813,7 +1813,7 @@ mod tests {
|
||||
|
||||
let encoded = pool.read().transactions[0].clone();
|
||||
let extrinsic: Extrinsic = codec::Decode::decode(&mut &*encoded).unwrap();
|
||||
let call = extrinsic.function;
|
||||
let call = extrinsic.call;
|
||||
assert!(matches!(call, RuntimeCall::MultiPhase(Call::submit_unsigned { .. })));
|
||||
})
|
||||
}
|
||||
@@ -1830,7 +1830,7 @@ mod tests {
|
||||
|
||||
let encoded = pool.read().transactions[0].clone();
|
||||
let extrinsic = Extrinsic::decode(&mut &*encoded).unwrap();
|
||||
let call = match extrinsic.function {
|
||||
let call = match extrinsic.call {
|
||||
RuntimeCall::MultiPhase(call @ Call::submit_unsigned { .. }) => call,
|
||||
_ => panic!("bad call: unexpected submission"),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user