BuildOnViction / BuildOnViction/bug-reports

Orders section 50 items limitation and missed older orders log

Open
#33 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
18
Forks
5
PR merge metrics
No merged PRs in 30d

Description

The sum of Open Orders+Order History is always 50. For example if you have 1 closed order in Order History then you will see only 49 Open orders. If you have 5 closed orders and 45 opened, and want add more orders, older orders will be removed from the list. You can see them in blockchain (if you saved transaction), but can't see and cancel on exchange. Order still in order list.

Video example:
https://drive.google.com/file/d/1ARPJ393-Ujbs_1P6fF_4SFZ-oxUJawKX/view?usp=sharing

When you fill the Order History with 50 orders, then after opening new order, the oldest from Order History will be removed to balance 50 count. In such way with adding new open orders you can clear Order History.

![Order History](https://user-images.githubusercontent.com/31537952/72473712-f6781e00-37ef-11ea-8fd9-dee0606e6a5f.jpg)

In video example 2 orders were removed from the list (22:39:53 and 22:39:57 creation time) after adding few new.

https://drive.google.com/file/d/1pxhdMhKw0AbCDNdfJataFXps-a3S7-JE/view?usp=sharing

This order from 22:39:53 is still opened but you can't check it in Open orders list.
https://scan.testnet.tomochain.com/orders/0x7e8403ae0863c9d02e326914d1be503db24906c95ea252df8a70d97925a18212

On screen below you can see only one order for 6 TOMO, but in orders more then 1k TOMO.
![Missed orders](https://user-images.githubusercontent.com/31537952/72472925-43f38b80-37ee-11ea-96bb-f61b3a626fd0.jpg)

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files or tests are identified in the issue. Start by reproducing the order-list behavior using the linked videos and compare the displayed orders with the linked blockchain transaction and exchange state. Done means open and historical orders are not silently evicted from the visible list, and affected open orders remain available for cancellation.

Written by the indexing model from the issue text.

Assessment

Tech stack
blockchain
Domain
blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.