How to calculate a more accurate L1 fee.
Special thanks to Roberto Bayardo for his excellent compression analysis repo and ideas on linear regression.
Current state
The current post-Regolith, pre-Ecotone cost function is defined as follows:
(zeroes*4 + ones*16 + overhead) * scalar * l1BaseFee / 1e6
where: