Swapping amounts that would send the price below/above the bounds of the amm underflows without a reason
Description
For example, _getBaseValue() calculates the base amount according to the k using the virtual reserves; however, some amounts will return a base amount bigger than the real reserves, silently underflowing when updating the reserves in swapOpen().
Recommendation
Add a revert message if the base/quote amount calculated is bigger than the real base/quote reserves.
Status
Addressed in the AMMRouter