Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sergerad committed Jan 15, 2025
1 parent dfea834 commit df009fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/executor/src/executor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ where
// The sum of the transaction’s gas limit, Tg, and the gas utilized in this block prior,
// must be no greater than the block’s gasLimit.
let block_available_gas = (gas_limit - cumulative_gas_used) as u128;
if (transaction.gas_limit() as u128) > block_available_gas
&& (is_regolith || !transaction.is_system_transaction())
if (transaction.gas_limit() as u128) > block_available_gas &&
(is_regolith || !transaction.is_system_transaction())
{
return Err(ExecutorError::BlockGasLimitExceeded);
}
Expand Down

0 comments on commit df009fb

Please sign in to comment.