Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

gas-report: use bytes32

Summary

Use bytes32 instead of string for better gas optimisation

Vulnerability Details

bytes32 uses less gas because it fits in a single word of the EVM, hence it is advisable to store the string as bytes32

Impact

This can pose high cost usage for investors, hence it is better to follow the most efficient gas optimisation route

Tools Used

manual review

Recommendations

Use bytes32 as data type

Updates

Lead Judging Commences

inallhonesty Lead Judge
almost 2 years ago
inallhonesty Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Gas optimizations

Support

FAQs

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