We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d7afdc commit 25a688bCopy full SHA for 25a688b
core/state_transition.go
@@ -276,12 +276,12 @@ func (st *stateTransition) buyGas() error {
276
if st.evm.Context.L1CostFunc != nil {
277
l1Cost = st.evm.Context.L1CostFunc(st.msg.RollupCostData, st.evm.Context.Time)
278
if l1Cost != nil {
279
- mgval = mgval.Add(mgval, l1Cost)
+ mgval.Add(mgval, l1Cost)
280
}
281
282
if st.evm.Context.OperatorCostFunc != nil {
283
operatorCost = st.evm.Context.OperatorCostFunc(st.msg.GasLimit, st.evm.Context.Time)
284
- mgval = mgval.Add(mgval, operatorCost.ToBig())
+ mgval.Add(mgval, operatorCost.ToBig())
285
286
287
balanceCheck := new(big.Int).Set(mgval)
0 commit comments