You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The average market level metric for items is incorrect. The average is updated incorrectly. Could be linked to #53 if the update operation makes the contract function error and not complete all required steps.
Fixed marketplaceAverageLevel metric. For items, this metric was being
calculated incorrectly. This lead to specific cases where the metric
might become a negative value after updating. This would violate the
typeguard of the metric which expects it to be greater or equal than 0
and an error would be thrown. This means the buy item flow would not
complete hence why the item would still remain in the market state.
Fixes 2 bugs:
1. #61
2. #53
Co-authored-by: Pandelis Symeonidis <[email protected]>
Description:
The average market level metric for items is incorrect. The average is updated incorrectly. Could be linked to #53 if the update operation makes the contract function error and not complete all required steps.
Repro
Acceptance criteria
The text was updated successfully, but these errors were encountered: