consensus, core, eth/downloader, params: 4844 chain validation (#27382)

This commit is contained in:
Péter Szilágyi
2023-05-31 10:21:13 +03:00
committed by GitHub
parent cc2ab421e4
commit 1f9b69b36d
13 changed files with 208 additions and 65 deletions
+1 -1
View File
@@ -254,7 +254,7 @@ func (ethash *Ethash) verifyHeader(chain consensus.ChainHeaderReader, header, pa
if err := misc.VerifyGaslimit(parent.GasLimit, header.GasLimit); err != nil {
return err
}
} else if err := misc.VerifyEip1559Header(chain.Config(), parent, header); err != nil {
} else if err := misc.VerifyEIP1559Header(chain.Config(), parent, header); err != nil {
// Verify the header's EIP-1559 attributes.
return err
}