Skip to content

Commit

Permalink
fix(op): Correct Cancun activation check in OP payload builder (#6729)
Browse files Browse the repository at this point in the history
  • Loading branch information
clabby authored Feb 21, 2024
1 parent 39cd900 commit a4c0349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/payload/builder/src/optimism.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ impl PayloadBuilderAttributes for OptimismPayloadBuilderAttributes {
let blob_excess_gas_and_price = parent
.next_block_excess_blob_gas()
.or_else(|| {
if spec_id == SpecId::CANCUN {
if spec_id.is_enabled_in(SpecId::CANCUN) {
// default excess blob gas is zero
Some(0)
} else {
Expand Down

0 comments on commit a4c0349

Please sign in to comment.