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

Update feeToAmount of smardex pool state #225

Merged
merged 2 commits into from
Nov 15, 2023
Merged

Update feeToAmount of smardex pool state #225

merged 2 commits into from
Nov 15, 2023

Conversation

ChauNguyen-K
Copy link
Member

@ChauNguyen-K ChauNguyen-K commented Nov 14, 2023

FeeToAmount and priceAverage1 is updated wrong, link to sc, priceAverage and feeToAmount.
When UpdateBalance func miss some values, it can cause getRoute return bad result.

Why did we need it?

Related Issue

https://team-kyber.atlassian.net/browse/AG-1222

Release Note

How Has This Been Tested?

  • Make price local storage, local pool state storage are up to date with staging.
  • Follow step by step from the ticket.
  • Result: 2 APIs must return the same result despite alien-base-stableswap is include or exclude.

Screenshots (if appropriate):

@ChauNguyen-K ChauNguyen-K merged commit de0e74e into main Nov 15, 2023
2 checks passed
@ChauNguyen-K ChauNguyen-K deleted the fixbug/AG-1222 branch November 15, 2023 02:07
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.

2 participants