You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve SignedExtension matching logic and remove SkipCheckIfFeeless bits (paritytech#1283)
* First pass making matching on signed exts more general and handlng SkipCheckifFeeless
* remove unneeded derives (only exts we can decode into are handled by the user)
* No SkipCheckIfFeeless in integration tests either
* Cargo fmt
* Remove SkipCheckIfFeeless specific logic
* clippy
* matches to just return bool, not result
* remove now-invalid comment
* return error from find if .iter() errors
let value = E::decode_as_type(&mut&self.bytes[..],self.ty_id,self.metadata.types())?;
750
-
Ok(value)
751
-
}
752
-
753
-
/// Decodes the `extra` bytes of this Signed Extension into its associated `Decoded` type.
754
-
/// Returns `Ok(None)` if the identitfier of this Signed Extension object does not line up with the `NAME` constant of the provided Signed Extension type.
0 commit comments