15,000 USDC
View results
Submission Details
Severity: gas

nonReeantrant modifier can be remove when CEI pattern to save gas

Summary

When the function follows the CEI pattern, the nonReeantrant modifier can be removed to save gas.

Vulnerability Details

When the function follows the CEI pattern, the nonReeantrant modifier can be removed to save gas.

Impact

Useless additional gas consumption.

Tools Used

Manuel review

Recommendations

Remove the nonReeantrant modifier when the function follows the CEI pattern.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.