This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Cumulus Runtimes should check inherents and consensus seals in execute_block as well as validate_block #2436
Labels
I4-annoyance
The node behaves within expectations, however this “expected behaviour” itself is at issue.
I7-refactor
Code needs refactoring.
Currently, Cumulus runtimes are designed to check inherents and consensus seals in the
validate_block
entry point used by relay-chain validators to execute the block. But theexecute_block
entry point used by full nodes when importing blocks doesn't do these checks, meaning that full nodes have to reimplement them on the client-side.It should be standard practice and easy to set up a Cumulus runtime which always does all of these checks in both execute_block and validate_block. With that, import queues could be removed entirely from Cumulus collator consensus implementations.
ref #2301 (comment)
The text was updated successfully, but these errors were encountered: