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

GSW-1838 test: sqrt_price_math unitest #425

Merged
merged 4 commits into from
Dec 16, 2024
Merged

Conversation

r3v4s
Copy link
Member

@r3v4s r3v4s commented Dec 9, 2024

test

  1. unit test for sqrt_price_math

- added testcase
@r3v4s r3v4s requested review from notJoon and onlyhyde December 9, 2024 11:37
@r3v4s r3v4s self-assigned this Dec 9, 2024
@r3v4s r3v4s added refactoring pool Pool contract related tasks labels Dec 9, 2024
notJoon
notJoon previously approved these changes Dec 9, 2024
Copy link
Member

@notJoon notJoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

dongwon8247
dongwon8247 previously approved these changes Dec 15, 2024
mconcat
mconcat previously approved these changes Dec 15, 2024
@onlyhyde onlyhyde dismissed stale reviews from mconcat and dongwon8247 via 8997650 December 15, 2024 12:40
@dongwon8247 dongwon8247 merged commit 5aadc0c into main Dec 16, 2024
1 of 2 checks passed
@dongwon8247 dongwon8247 deleted the refactor/sqrt_price_math branch December 16, 2024 00:36
onlyhyde added a commit that referenced this pull request Dec 18, 2024
* refactor: sqrt_price_math
- added testcase

* refactor: add test code and comments

- fix test fail issue

* refactor: Overflow check for type conversion to int256 in delta amount calculation

---------

Co-authored-by: 0xTopaz <[email protected]>
Co-authored-by: 0xTopaz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pool Pool contract related tasks refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants