Skip to content

Commit

Permalink
revert changes which are for test purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
forcodedancing committed May 15, 2024
1 parent edc3580 commit bf0a898
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions crates/ethereum/consensus/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ impl EthBeaconConsensus {

impl Consensus for EthBeaconConsensus {
fn validate_header(&self, header: &SealedHeader) -> Result<(), ConsensusError> {
// TODO: revert after testing
//validation::validate_header_standalone(header, &self.chain_spec)?;
validation::validate_header_standalone(header, &self.chain_spec)?;
Ok(())
}

Expand All @@ -43,8 +42,7 @@ impl Consensus for EthBeaconConsensus {
header: &SealedHeader,
parent: &SealedHeader,
) -> Result<(), ConsensusError> {
// TODO: revert after testing
// header.validate_against_parent(parent, &self.chain_spec).map_err(ConsensusError::from)?;
header.validate_against_parent(parent, &self.chain_spec).map_err(ConsensusError::from)?;
Ok(())
}

Expand Down

0 comments on commit bf0a898

Please sign in to comment.