Skip to content

Commit

Permalink
GSW-1838 test: sqrt_price_math unitest (#425)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
3 people authored Dec 16, 2024
1 parent 24e76e2 commit 5aadc0c
Show file tree
Hide file tree
Showing 5 changed files with 908 additions and 762 deletions.
Loading

0 comments on commit 5aadc0c

Please sign in to comment.