Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion core/state_transition.go
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,10 @@ func (st *StateTransition) TransitionDb() (*ExecutionResult, error) {
// codepath. Add the L1DataFee to the L2 fee for the total fee that is sent
// to the sequencer.
l2Fee := new(big.Int).Mul(new(big.Int).SetUint64(st.gasUsed()), effectiveTip)
fee := new(big.Int).Add(st.l1DataFee, l2Fee)
fee := l2Fee
if st.evm.ChainConfig().Morph.FeeVaultEnabled() {
fee = new(big.Int).Add(st.l1DataFee, l2Fee)
}
st.state.AddBalance(st.evm.FeeRecipient(), fee, tracing.BalanceIncreaseRewardTransactionFee)

return &ExecutionResult{
Expand Down