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

QA Report #82

Open
howlbot-integration bot opened this issue Aug 10, 2024 · 3 comments
Open

QA Report #82

howlbot-integration bot opened this issue Aug 10, 2024 · 3 comments
Labels
2nd place bug Something isn't working edited-by-warden grade-a Q-02 QA (Quality Assurance) Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax sufficient quality report This report is of sufficient quality

Comments

@howlbot-integration
Copy link

howlbot-integration bot commented Aug 10, 2024

See the markdown file with the details of this report here.

@howlbot-integration howlbot-integration bot added bug Something isn't working edited-by-warden QA (Quality Assurance) Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax sufficient quality report This report is of sufficient quality labels Aug 10, 2024
howlbot-integration bot added a commit that referenced this issue Aug 10, 2024
howlbot-integration bot added a commit that referenced this issue Aug 10, 2024
@Brean0
Copy link

Brean0 commented Aug 13, 2024

L-01 - Due to integer division, there are cases where the result may be +/- 1 off. In this example (test_calcRateStableA), you can double reserve[0] and reserve[1] and verify that the test passes.

L-02 - Agreed

L-03 - In Curve's Stableswap Implementation, we can see that _A is set to A * n ** (n - 1) (for a 2 token pool, A * 2), whereas in this implementation, A is directly set. Thus, I don't think this is valid.

L-04 - 1 here can be increased, if a future developer would like to sacrifice tolerance for a lower gas cost on swaps. Thus, <= was used here rather than ==.

L-05 Agreed.

L-06 This is intentional. A well can upgrade its stable well function to use a different A parameter by using a upgradeable well implementation and upgrading the well function.

@c4-judge
Copy link
Contributor

alex-ppg marked the issue as grade-a

@thebrittfactor
Copy link
Contributor

For awarding purposes, C4 staff have marked as 2nd place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2nd place bug Something isn't working edited-by-warden grade-a Q-02 QA (Quality Assurance) Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax sufficient quality report This report is of sufficient quality
Projects
None yet
Development

No branches or pull requests

4 participants