Closed pcw109550 closed 4 months ago
Looks good 👍 but we have few things to deduplicate and cleanup code.
In erigon-lib/opstack/rollup_cost.go
,
extractL1GasParamsPreEcotone
and extractL1GasParamsPostEcotone
have some duplicated lines with extractL1GasParamsLegacy
and extractL1GasParamsEcotone
. we can reuse code.L1Cost
, l1CostHelper
, L1CostFnForTxPool
Looks good 👍 but we have few things to deduplicate and cleanup code. In
erigon-lib/opstack/rollup_cost.go
,
extractL1GasParamsPreEcotone
andextractL1GasParamsPostEcotone
have some duplicated lines withextractL1GasParamsLegacy
andextractL1GasParamsEcotone
. we can reuse code.- New L1 cost logic must be applied to existing other methods:
L1Cost
,l1CostHelper
,L1CostFnForTxPool
Fixed at https://github.com/testinprod-io/op-erigon/pull/179
Mirror https://github.com/ethereum-optimism/op-geth/pull/249