Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix marketplaceAverageLevel metric #63

Merged
merged 1 commit into from
Oct 20, 2023
Merged

Conversation

Pandelissym
Copy link
Contributor

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. Bug: Medium: Item market average level metric is incorrect #61
  2. Bug: Critical: Item market entry remains in market storage node upon succesful buyItem call #53

@carlos-kryha
Copy link
Contributor

removing #53 from linked issues since there's still some work to do on that one after merging this

@Pandelissym Pandelissym merged commit 31ae801 into develop Oct 20, 2023
2 checks passed
@Pandelissym Pandelissym deleted the bug/fix-market-metrics branch October 20, 2023 06:51
carlos-kryha added a commit that referenced this pull request Nov 10, 2023
Includes the following work:
- #81 
- #77 
- #71 
- #70 
- #69 
- #67 
- #66 
- #63 (note this update requires a core-eval proposal to take effect)

QA is tracked
[here](https://docs.google.com/spreadsheets/d/1bBJhr73o4W2rd3oYNpK_xET_3m6kNYYbeaDvMKIRQRM/edit?usp=sharing)

---------

Co-authored-by: Privilege Mendes <[email protected]>
Co-authored-by: Axel Verheul <[email protected]>
Co-authored-by: Xabier <[email protected]>
Co-authored-by: Xabier Almazor <[email protected]>
Co-authored-by: Xabier Almazor <[email protected]>
Co-authored-by: Wietze <[email protected]>
Co-authored-by: Xabier Almazor Telek <[email protected]>
Co-authored-by: Nick K <[email protected]>
Co-authored-by: Nick Koster <[email protected]>
Co-authored-by: Pandelis Symeonidis <[email protected]>
Co-authored-by: Pandelis Symeonidis <[email protected]>
Co-authored-by: MangoDream1 <[email protected]>
Co-authored-by: Synthetics <[email protected]>
snthtcs added a commit that referenced this pull request Nov 13, 2023
Includes the following work:
- #81 
- #77 
- #71 
- #70 
- #69 
- #67 
- #66 
- #63 (note this update requires a core-eval proposal to take effect)

QA is tracked
[here](https://docs.google.com/spreadsheets/d/1bBJhr73o4W2rd3oYNpK_xET_3m6kNYYbeaDvMKIRQRM/edit?usp=sharing)

---------

Co-authored-by: Privilege Mendes <[email protected]>
Co-authored-by: Axel Verheul <[email protected]>
Co-authored-by: Xabier Almazor <[email protected]>
Co-authored-by: Xabier Almazor <[email protected]>
Co-authored-by: Wietze <[email protected]>
Co-authored-by: CARLOS TRIGO <[email protected]>
Co-authored-by: Xabier Almazor Telek <[email protected]>
Co-authored-by: Nick K <[email protected]>
Co-authored-by: Nick Koster <[email protected]>
Co-authored-by: carlos-kryha <[email protected]>
Co-authored-by: Pandelis Symeonidis <[email protected]>
Co-authored-by: Pandelis Symeonidis <[email protected]>
Co-authored-by: MangoDream1 <[email protected]>
Co-authored-by: Synthetics <[email protected]>
Co-authored-by: Synthetics <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Medium: Item market average level metric is incorrect
2 participants