Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

[ad-hoc] mirror strategy should prepend deleteOps before both bid and ask ops #501

@nikhilsaraf

Description

@nikhilsaraf

currently we prepend it at the beginning of each list and then combine the lists.
this is wrong because we could have the following order (few examples):

  • deleteSellOps, sellOps, deleteBuyOps, buyOps
  • sellOps, deleteBuyOps, buyOps
  • deleteBuyOps, buyOps, deleteSellOps, sellOps
  • buyOps, deleteSellOps, sellOps
  • buyOps, deleteSellOps

What we want is for something like this:

  • deleteSellOps, deleteBuyOps, sellOps, buyOps
  • deleteBuyOps, sellOps, buyOps
  • deleteBuyOps, deleteSellOps, buyOps, sellOps
  • deleteSellOps, buyOps, sellOps
  • deleteSellOps, buyOps

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions