Commit 30ae2607 authored by Alexander Theißen's avatar Alexander Theißen Committed by GitHub
Browse files

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: default avatarTomasz Drwięga <[email protected]>

* Style changes from code review

Co-Authored-By: default avatarKian Paimani <[email protected]>

* 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: default avatarBastian Köcher <[email protected]>

Co-authored-by: default avatarTomasz Drwięga <[email protected]>
Co-authored-by: default avatarKian Paimani <[email protected]>
Co-authored-by: default avatarBastian Köcher <[email protected]>
parent f8c8355a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment