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

Open
code423n4 opened this issue Dec 15, 2022 · 4 comments
Open

Gas Optimizations #218

code423n4 opened this issue Dec 15, 2022 · 4 comments
Labels
bug Something isn't working edited-by-warden G (Gas Optimization) G-02 grade-b sponsor confirmed Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")

Comments

@code423n4
Copy link
Contributor

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

@code423n4 code423n4 added bug Something isn't working G (Gas Optimization) labels Dec 15, 2022
code423n4 added a commit that referenced this issue Dec 15, 2022
code423n4 added a commit that referenced this issue Dec 15, 2022
code423n4 added a commit that referenced this issue Dec 15, 2022
code423n4 added a commit that referenced this issue Dec 15, 2022
code423n4 added a commit that referenced this issue Dec 15, 2022
@GalloDaSballo
Copy link

5 immutables

10500

Rest is not as impactful (will check later)

@c4-sponsor
Copy link

GainsGoblin marked the issue as sponsor confirmed

@c4-sponsor c4-sponsor added the sponsor confirmed Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity") label Jan 9, 2023
@GalloDaSballo
Copy link

Repeated unnecessary calls to approve()

200 * 2
400

Rest is negligible, let's say 100 gas

11000

@c4-judge
Copy link
Contributor

GalloDaSballo marked the issue as grade-b

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 G (Gas Optimization) G-02 grade-b sponsor confirmed Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Projects
None yet
Development

No branches or pull requests

5 participants