• Conner Fromknecht's avatar
    fix: don't round down average gas per epoch · 9eed33c4
    Conner Fromknecht authored
    Also corrects the targetGps constant in the test harness. The constant
    was chosen to be the expected Gps of the initial burst, causing the Gps
    to stablize in the second part of the test at the floor.
    
    Adding a check that the average measured gas price matches our desired
    constant prevents this from silently passing.
    9eed33c4
Name
Last commit
Last update
..
gas_price_updater.go Loading commit data...
gas_price_updater_test.go Loading commit data...
l2_gas_pricer.go Loading commit data...
l2_gas_pricer_test.go Loading commit data...