Unverified Commit 9e69419c authored by thiolliere's avatar thiolliere Committed by GitHub
Browse files

Companion for inherent checks: #8173 (#2560)

* impl is_inherent for pallets

* fix

* fix master merge: inherent is

* update Substrate

Co-authored-by: parity-processbot <>
parent a9af2c33
Pipeline #134319 failed with stages
in 20 minutes and 33 seconds
This diff is collapsed.
......@@ -257,6 +257,10 @@ impl<T: Config> ProvideInherent for Module<T> {
Some(Call::enter(inherent_data))
}
fn is_inherent(call: &Self::Call) -> bool {
matches!(call, Call::enter(..))
}
}
#[cfg(test)]
......
Supports Markdown
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