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 #171

Open
c4-bot-9 opened this issue Dec 8, 2023 · 7 comments
Open

QA Report #171

c4-bot-9 opened this issue Dec 8, 2023 · 7 comments
Labels
bug Something isn't working edited-by-warden grade-b high quality report This report is of especially high quality Q-04 QA (Quality Assurance) Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax sponsor acknowledged Technically the issue is correct, but we're not going to resolve it for XYZ reasons

Comments

@c4-bot-9
Copy link
Contributor

c4-bot-9 commented Dec 8, 2023

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

@c4-bot-9 c4-bot-9 added bug Something isn't working QA (Quality Assurance) Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax labels Dec 8, 2023
c4-bot-5 added a commit that referenced this issue Dec 8, 2023
c4-bot-10 added a commit that referenced this issue Dec 8, 2023
c4-bot-5 added a commit that referenced this issue Dec 8, 2023
c4-bot-7 added a commit that referenced this issue Dec 8, 2023
c4-bot-7 added a commit that referenced this issue Dec 8, 2023
@raymondfam
Copy link

Possible upgrade:

L-09 --> #277

@c4-pre-sort
Copy link

raymondfam marked the issue as high quality report

@c4-pre-sort c4-pre-sort added the high quality report This report is of especially high quality label Dec 10, 2023
@viraj124
Copy link

don't agree with 1,3, 5 and 7

@c4-sponsor
Copy link

viraj124 (sponsor) acknowledged

@c4-sponsor c4-sponsor added the sponsor acknowledged Technically the issue is correct, but we're not going to resolve it for XYZ reasons label Dec 12, 2023
@0xA5DF
Copy link

0xA5DF commented Dec 17, 2023

8R, 5NC

[L-01] Ocean._calculateUnwrapFee() should be rounded up

R

[L-02] Unnecessary zero dust placing on the owner's balance

Gas

[L-03] Dust associated with token decimals over 18 not catered for

R

[L-04] Slippage could have been detected earlier

R

[L-05] USDT might turn into a fee-on-transfer token

NC

[L-06] Function arguments not efficiently used

NC

[L-07] Ineffective CEI adapted from OpenZeppelin Reentrancy Guard

R

[L-08] Private function with embedded modifier reduces contract size

Gas

[L-09] Optional deadline parameter for primitiveOutputAmount()

R

[L-10] Excess contract balance not catered for

R

[L-11] Risk assessment and mitigation strategies for WBTC depeg

R

[L-12] Unrestricted asset approval

R

[NC-01] Incorrect comments

NC

[NC-02] Typo errors

NC

[NC-03] Activate the optimizer

NC

@c4-judge
Copy link
Contributor

0xA5DF marked the issue as grade-a

@c4-judge c4-judge added grade-b and removed grade-a labels Dec 18, 2023
@c4-judge
Copy link
Contributor

0xA5DF marked the issue as grade-b

@C4-Staff C4-Staff added the Q-04 label Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working edited-by-warden grade-b high quality report This report is of especially high quality Q-04 QA (Quality Assurance) Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax sponsor acknowledged Technically the issue is correct, but we're not going to resolve it for XYZ reasons
Projects
None yet
Development

No branches or pull requests

9 participants