-
Notifications
You must be signed in to change notification settings - Fork 54
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
test: add tests for new DEX #167
Conversation
since pool's current liquidity will always be positive, it has same effect to use AmountDelta
use custom `PriceToBytes` instead of `sdk.SortableDecBytes`
also add new store iteration method
comparing open quantity with zero was not enough to check if the order was fully executed, the ideal solution would be using `ExecutableQuantity`
allow negative farmingRewardsGrowthInside, like feeGrowthInside
…t into new-dex-tests
this failed lint part If you put sanity check because there is no possibility of this part occurring, why don't you panic it so that you can check the occurrence with simulation, fuzzing, etc. before going to production? |
This is being discussed separately. Another PR will resolve this issue later. |
Description
The purpose of this PR is to increase test coverage.
Tasks