mangrove.js
mangrove.js copied to clipboard
`LiquidityProvider`'s `newBid/Ask` event listener does not work
Describe the bug Using the API to post an offer works but the event filter is never satisified.
To Reproduce
-
lp = await mgv.liquidityProvider(market)
-
await lp.newAsk({volume: 1, price: 2500, fund:0.1})
succeeds but outputs "Uncaught { revert: false, exception: 'tx mined but filter never returned true' }" although the ask was indeed posted to Mangrove.