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

Token Uri exceeds string limit size in `TOKEN_URI`

Summary

The token uri exceeds the maximum string size limit, it will lead to unintended behavior.

Vulnerability Details

Since a string in Solidity is length prefixed with its 256-bit (32 byte) length, which means that even short strings require 2 words (64 bytes) of storage. However the string TOKEN_URI exceeds this size limit.

Impact

it will lead to unintended behaviour when deployment.

Tools Used

Manual Review

Recommendations

Try another way to encode the image file, to reach a smaller size for image.

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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