Returning nil works inside geth, but optimism tests expect the l1CostFunc to return non-nil values. Considering our l1CostFunc is the only one retuning nil values, it seems more pragmatic to change that rather than adapting external code to deal correctly with nil values.
Returning nil works inside geth, but optimism tests expect the l1CostFunc to return non-nil values. Considering our l1CostFunc is the only one retuning nil values, it seems more pragmatic to change that rather than adapting external code to deal correctly with nil values.