mangrove.js icon indicating copy to clipboard operation
mangrove.js copied to clipboard

`LiquidityProvider`'s `newBid/Ask` event listener does not work

Open jkrivine opened this issue 2 years ago • 1 comments

Describe the bug Using the API to post an offer works but the event filter is never satisified.

To Reproduce

  1. lp = await mgv.liquidityProvider(market)
  2. 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.

jkrivine avatar Aug 17 '22 11:08 jkrivine