With increasing the target to 4 and keeping the max at 6, we would end up with asymmetric max-scale rates of 6% (positive) and 11% negative. It would be better to achieve symmetry around the target. Thus we can simply scale the deviation form the taget by a scaling factor derived by comparing the max negative deviation with the max positive deviation. The scaling factor can then be applied directly or to the normalized excess gas.
Maximum Negative Deviation (
Maximum Positive Deviation (
For
To achieve symmetry, set the maximum positive and negative deviations equal in magnitude by introducing a scaling factor
Substituting the values:
For
For
This adjustment ensures the maximum deviations of the adjusted excess blob gas are equal in magnitude.
To achieve a maximum base fee change of ±12.5% (i.e.,
At Maximum Deviation:
Exponent at Maximum Deviation:
Solving for UpdateFraction:
Substituting the values:
The base fee per blob gas is updated using:
Where:
AdjustedExcessBlobGas is calculated as:
For
For
UpdateFraction:
AdjustedExcessBlobGas:
Exponent:
Base Fee Adjustment:
Percentage Change:
AdjustedExcessBlobGas:
Exponent:
Base Fee Adjustment:
Percentage Change: