Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yutianwu committed Aug 2, 2024
1 parent 1d6aa5a commit 0e1929f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions crates/rpc/rpc-types-compat/src/engine/payload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ pub fn try_payload_v1_to_block(payload: ExecutionPayloadV1) -> Result<Block, Pay
return Err(PayloadError::ExtraData(payload.extra_data))
}

// if payload.base_fee_per_gas.is_zero() {
// return Err(PayloadError::BaseFee(payload.base_fee_per_gas))
// }
#[cfg(not(feature = "opbnb"))]
if payload.base_fee_per_gas.is_zero() {
return Err(PayloadError::BaseFee(payload.base_fee_per_gas))
}

let transactions = payload
.transactions
Expand Down

0 comments on commit 0e1929f

Please sign in to comment.