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

Gas Optimizations #465

Open
c4-submissions opened this issue Sep 7, 2023 · 4 comments
Open

Gas Optimizations #465

c4-submissions opened this issue Sep 7, 2023 · 4 comments
Labels
bug Something isn't working G (Gas Optimization) G-07 grade-b sufficient quality report This report is of sufficient quality

Comments

@c4-submissions
Copy link
Contributor

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

@c4-submissions c4-submissions added bug Something isn't working G (Gas Optimization) labels Sep 7, 2023
c4-submissions added a commit that referenced this issue Sep 7, 2023
c4-submissions added a commit that referenced this issue Sep 7, 2023
@c4-pre-sort c4-pre-sort added the sufficient quality report This report is of sufficient quality label Sep 8, 2023
@c4-pre-sort
Copy link

raymondfam marked the issue as sufficient quality report

@c4-judge
Copy link
Contributor

kirk-baird marked the issue as grade-a

@c3phas
Copy link

c3phas commented Sep 25, 2023

G-01: Avoid contract existence checks by using low level calls - Invalid (we are already using version >0.8.10)
G-06: Should use arguments instead of state variables -- OOS
G-08 : With assembly, call can be optimized - OOS
G-16: Multiplication/division by two should use bit shifting -- values are dynamic here, we can't be sure it's two

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

kirk-baird marked the issue as grade-b

@C4-Staff C4-Staff added the G-07 label Oct 2, 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 G (Gas Optimization) G-07 grade-b sufficient quality report This report is of sufficient quality
Projects
None yet
Development

No branches or pull requests

5 participants