Skip to content

Commit

Permalink
Ignore L1MessageTx from Gas Calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
KodeyThomas committed Jun 21, 2024
1 parent acbe826 commit 59ed73c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/chains/evm/gas/chain_specific.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func chainSpecificIsUsable(tx evmtypes.Transaction, baseFee *assets.Wei, chainTy
return false
}
}
if chainType == config.ChainOptimismBedrock || chainType == config.ChainKroma {
if chainType == config.ChainOptimismBedrock || chainType == config.ChainKroma || chainType == config.ChainScroll {
// This is a special deposit transaction type introduced in Bedrock upgrade.
// This is a system transaction that it will occur at least one time per block.
// We should discard this type before even processing it to avoid flooding the
Expand Down

0 comments on commit 59ed73c

Please sign in to comment.