mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 18:41:03 +00:00
Refactor SignedExtension (#5540)
* Refactor SignedExtension * Move DispatchInfo Associated type to Dispatchable * Bound Call: Dispatchable * Pass PostDispatchInfo to post_dispatch * Pass DispatchInfo by reference to avoid clones * Whitespace fix Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com> * Style changes from code review Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Only decalre in test mod to remove warning * Deduplicate Call definition * Bound frame_system::trait::Call by Dispatchable * Introduce DispatchInfoOf type alias * Whitespace fix from review Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com> Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
f8c8355ac7
commit
30ae26074c
@@ -2939,7 +2939,7 @@ mod offchain_phragmen {
|
||||
|
||||
let lock_staking: LockStakingStatus<Test> = Default::default();
|
||||
assert_eq!(
|
||||
lock_staking.validate(&10, &outer, Default::default(), Default::default(),),
|
||||
lock_staking.validate(&10, &outer, &Default::default(), Default::default(),),
|
||||
TransactionValidity::Err(InvalidTransaction::Stale.into()),
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user