Skip to content

Commit

Permalink
Merge pull request #1850 from OffchainLabs/fix-non-mutating-basefee
Browse files Browse the repository at this point in the history
Fix changing the basefee in non-mutating calls
  • Loading branch information
PlasmaPower authored Sep 1, 2023
2 parents beea4fb + 73a9c8a commit 9d6f7ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arbos/tx_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ func (p *TxProcessor) GetPaidGasPrice() *big.Int {
if version != 9 {
gasPrice = p.evm.Context.BaseFee
if p.msg.TxRunMode != core.MessageCommitMode && p.msg.GasFeeCap.Sign() == 0 {
gasPrice.SetInt64(0) // gasprice zero behavior
gasPrice = common.Big0
}
}
return gasPrice
Expand Down

0 comments on commit 9d6f7ba

Please sign in to comment.