diff --git a/core/types/rollup_cost.go b/core/types/rollup_cost.go index e0bc26d92f..405497cf44 100644 --- a/core/types/rollup_cost.go +++ b/core/types/rollup_cost.go @@ -124,6 +124,9 @@ func NewL1CostFunc(config *params.ChainConfig, statedb StateGetter) L1CostFunc { forBlock := ^uint64(0) var cachedFunc l1CostFunc selectFunc := func(blockTime uint64) l1CostFunc { + if config.IsCel2(blockTime) { + return func(rcd RollupCostData) (fee, gasUsed *big.Int) { return new(big.Int), new(big.Int) } + } if !config.IsOptimismEcotone(blockTime) { return newL1CostFuncBedrock(config, statedb, blockTime) }