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

Open
code423n4 opened this issue May 1, 2022 · 3 comments
Open

Gas Optimizations #39

code423n4 opened this issue May 1, 2022 · 3 comments
Assignees
Labels
bug Something isn't working G (Gas Optimization)

Comments

@code423n4
Copy link
Contributor

[2022-04-pooltogether] QA report

tags: c4, 2022-04-pooltogether

SafeApprove is deprecated

Unnecessary use of SafeMath

@code423n4 code423n4 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 May 1, 2022
code423n4 added a commit that referenced this issue May 1, 2022
@PierrickGT PierrickGT self-assigned this May 3, 2022
@PierrickGT
Copy link
Member

SafeApprove is deprecated

Deprecated but perfectly safe to use if allowance is equal to 0, which is the case here.

Unnecessary use of SafeMath

Duplicate of #11

@PierrickGT PierrickGT added the duplicate This issue or pull request already exists label May 3, 2022
@PierrickGT PierrickGT mentioned this issue May 3, 2022
@JeeberC4 JeeberC4 removed the duplicate This issue or pull request already exists label May 6, 2022
@JeeberC4 JeeberC4 reopened this May 6, 2022
@gititGoro
Copy link
Collaborator

Changing to gas optimization since only the safeMath issue is applicable

@gititGoro gititGoro added G (Gas Optimization) and removed QA (Quality Assurance) Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax labels May 14, 2022
@JeeberC4 JeeberC4 changed the title QA Report Gas Optimizations May 23, 2022
@JeeberC4
Copy link
Contributor

Changing name to better reflect the judging outcome.

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)
Projects
None yet
Development

No branches or pull requests

4 participants