Update state_transition.go

This commit is contained in:
Felix Lange 2025-06-17 14:50:51 +02:00 committed by GitHub
parent 033c1ed8bd
commit f3b04b6e49
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -533,9 +533,6 @@ func (st *stateTransition) execute() (*ExecutionResult, error) {
effectiveTip := msg.GasPrice
if rules.IsLondon {
effectiveTip = new(big.Int).Sub(msg.GasPrice, st.evm.Context.BaseFee)
if effectiveTip.Cmp(msg.GasTipCap) > 0 {
effectiveTip = msg.GasTipCap
}
}
effectiveTipU256, _ := uint256.FromBig(effectiveTip)