From 033c1ed8bd93d17ee95cda192a2e5ba045a35527 Mon Sep 17 00:00:00 2001 From: alan <652732310@qq.com> Date: Wed, 7 May 2025 00:25:55 +0800 Subject: [PATCH] effectiveTip = GasPrice - BaseFee --- core/state_transition.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/state_transition.go b/core/state_transition.go index f9c9a2ab5a..ef519918b4 100644 --- a/core/state_transition.go +++ b/core/state_transition.go @@ -532,7 +532,7 @@ func (st *stateTransition) execute() (*ExecutionResult, error) { effectiveTip := msg.GasPrice if rules.IsLondon { - effectiveTip = new(big.Int).Sub(msg.GasFeeCap, st.evm.Context.BaseFee) + effectiveTip = new(big.Int).Sub(msg.GasPrice, st.evm.Context.BaseFee) if effectiveTip.Cmp(msg.GasTipCap) > 0 { effectiveTip = msg.GasTipCap }