-
Notifications
You must be signed in to change notification settings - Fork 608
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
[x/gamm][stableswap]: Add tests for single-asset joins (calcSingleAssetJoinShares
)
#2348
Comments
calcSingleAssetJoinShares
)
calcSingleAssetJoinShares
)calcSingleAssetJoinShares
)
calcSingleAssetJoinShares
)calcSingleAssetJoinShares
)
Is this issue available to work on? |
@rusakh Yes, please You can get inspiration from the existing test cases in balancer. However, they might not be exhaustive so if you think of any extra, please add them |
I actually covered a significant portion of this issue in #2905, so it might not be a great one to pick up if you don't have context (properly testing this functionality is actually a relatively complicated process) |
Background
Our current implementation of
calcSingleAssetJoinShares
is untested. We should make tests that cover similar cases to what we have in balancer.Suggested Design
Acceptance Criteria
updatePoolForJoin
through mutation testing doesn't breakcalcSingleAssetJoinShares
The text was updated successfully, but these errors were encountered: