FraxFinance / dev-fraxswap

Fraxswap for Fraxtal
0 stars 0 forks source link

[potential bug]: Add liquidity revert #12

Open pegahcarter opened 5 months ago

pegahcarter commented 5 months ago

Found while testing BAMM as the fuzz test reverts when minting an amount less than what exists in the pair, directly from the pair:

PR: https://github.com/FraxFinance/dev-frax-bamm/pull/116 Specifically: link (mint() will revert if _amountDeposited < 1e18)

I'm not sure if this is expected behavior so documenting for now.