chore: relax more consensus functions (#13236)

This commit is contained in:
Matthias Seitz
2024-12-09 19:26:32 +01:00
committed by GitHub
parent a3e90e18b6
commit 3af2afe995
5 changed files with 79 additions and 61 deletions

View File

@ -65,7 +65,7 @@ impl Consensus for OpBeaconConsensus {
body: &BlockBody,
header: &SealedHeader,
) -> Result<(), ConsensusError> {
validate_body_against_header(body, header)
validate_body_against_header(body, header.header())
}
fn validate_block_pre_execution(&self, block: &SealedBlock) -> Result<(), ConsensusError> {