EIP-7378: Add time-weighted averaging to the base fee