Skip to content
This repository has been archived by the owner on Feb 6, 2025. It is now read-only.

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 19b7d89
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/ethereum/consensus/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ 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 +43,8 @@ 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 19b7d89

Please sign in to comment.