mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 15:41:02 +00:00
aura: remove stale check to skip execution (#13074)
This commit is contained in:
@@ -246,14 +246,14 @@ where
|
|||||||
|
|
||||||
// skip the inherents verification if the runtime API is old or not expected to
|
// skip the inherents verification if the runtime API is old or not expected to
|
||||||
// exist.
|
// exist.
|
||||||
if !block.state_action.skip_execution_checks() &&
|
if self
|
||||||
self.client
|
.client
|
||||||
.runtime_api()
|
.runtime_api()
|
||||||
.has_api_with::<dyn BlockBuilderApi<B>, _>(
|
.has_api_with::<dyn BlockBuilderApi<B>, _>(
|
||||||
&BlockId::Hash(parent_hash),
|
&BlockId::Hash(parent_hash),
|
||||||
|v| v >= 2,
|
|v| v >= 2,
|
||||||
)
|
)
|
||||||
.map_err(|e| e.to_string())?
|
.map_err(|e| e.to_string())?
|
||||||
{
|
{
|
||||||
self.check_inherents(
|
self.check_inherents(
|
||||||
new_block.clone(),
|
new_block.clone(),
|
||||||
|
|||||||
Reference in New Issue
Block a user