[base] Account for L1 Fee (Avoid Necessary Churn Dusting)
Resolves #2166 (closed) and avoids the stuck churns requiring dusting the BASE vaults.
The static amount for the L1 fee was determined by looking at the 90th percentile of the amount overshot for all migrates in the last month across 9R validators and rounded up:
$ cat overshot.logs | rg -o 'overshot [0-9]+' | agrind '*|parse "overshot *" as overshot|avg(overshot),p90(overshot),max(overshot)'
_average p90 _max
------------------------------------------------------------
2740316629823.14 6569767230573 50725386838950
$ python3 -c 'print(f"{6569767230573/1e10:f}")'
656.976723
Summary by CodeRabbit
-
New Features
- Introduced an additional configuration parameter to support extra Layer 1 gas fees for EVM-compatible chains.
-
Refactor
- Grouped EVM-related gas configuration parameters under a dedicated section in both the application configuration and user-editable config files for improved organization and clarity.
-
Chores
- Updated internal tests to align with the new configuration structure.
Edited by Ghost User