Use Verify::Signer
for the offchain SigningTypes
trait definition
#357
Labels
C1-mentor
A task where a mentor is available. Please indicate in the issue who the mentor could be.
D0-easy
Can be fixed primarily by duplicating and adapting code by an intermediate coder.
I4-refactor
Code needs refactoring.
T1-FRAME
This PR/Issue is related to core FRAME, the framework.
As a follow up to the refactoring of paritytech/substrate#5182, Implementing
SigningTypes
could be simplified to just specify theSignature
type whilePublic
can be defined as<T::Signature as traits::Verify>::Signer
https://github.com/paritytech/substrate/blob/4a6d2686e7871137f744f31781ab22e8f65f61d1/frame/system/src/offchain.rs#L471-L495
The text was updated successfully, but these errors were encountered: