vegaprotocol / data-node

A rich API server for Vega Protocol
https://vega.xyz
Other
3 stars 1 forks source link

Latest Version of Liquidity Provision Should always be returned not matter the pagination order #799

Closed ettec closed 2 years ago

ettec commented 2 years ago

Currently you will get either the latest or oldest liquidity provision depending on whether you specify oldest/newest first in the pagination parameters. This is incorrect you should always get the current version, the oldest/newest flag should only determine whether you get the most or least recently updated liquidity provision first.

ettec commented 2 years ago

Fixes with the PR to workround postgres seg fault (to which I can't fidn the issue number) :(