Skip to content

Commit

Permalink
fix(consensus): correct the fork name for validating 1559 transaction (
Browse files Browse the repository at this point in the history
  • Loading branch information
hsyodyssey authored Dec 22, 2023
1 parent 099c833 commit 8fb6ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/consensus/common/src/validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub fn validate_transaction_regarding_header(
..
}) => {
// EIP-1559: Fee market change for ETH 1.0 chain https://eips.ethereum.org/EIPS/eip-1559
if !chain_spec.fork(Hardfork::Berlin).active_at_block(at_block_number) {
if !chain_spec.fork(Hardfork::London).active_at_block(at_block_number) {
return Err(InvalidTransactionError::Eip1559Disabled.into())
}

Expand Down

0 comments on commit 8fb6ed9

Please sign in to comment.