[Prop14] Harvest() fails on Qi strats when no fees set
timbotro opened this issue · 0 comments
timbotro commented
Looks like with the new prop14 changes we get errors when setKeep is set to 0
Steps to recreate:
- Deploy and configure new a new Qi strat, e.g. benqi-dai
- Call setKeep(0)
- Call harvest
=>Error: VM Exception while processing transaction: reverted with reason string 'PangolinLibrary: INSUFFICIENT_INPUT_AMOUNT'
is thrown by contract, Setting keep to greater than 0 does not throw error, as you'd expect.