code-423n4 / 2022-04-pooltogether-findings

0 stars 0 forks source link

Gas Optimizations #39

Open code423n4 opened 2 years ago

code423n4 commented 2 years ago

[2022-04-pooltogether] QA report

tags: c4, 2022-04-pooltogether

SafeApprove is deprecated

Unnecessary use of SafeMath

PierrickGT commented 2 years ago

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 https://github.com/code-423n4/2022-04-pooltogether-findings/issues/11

gititGoro commented 2 years ago

Changing to gas optimization since only the safeMath issue is applicable

JeeberC4 commented 2 years ago

Changing name to better reflect the judging outcome.