The struct Request in both Solidity and Cairo contracts contains unused elements. Removing these elements can reduce gas costs and simplify the code.
The following array elements are not used in any of the contracts in l1 or l2, consider removing to avoid overhead gas costs.
in cairo here
Locations:
The unuse elements does not present a security risk but contributes to unnecessary complexity in the code. Removing unuse element can improve code readability and maintainability.
Manual code review
Remove the unused elements from the struct.
Please, do not suppose impacts, think about the real impact of the bug and check the CodeHawks documentation to confirm: https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity A PoC always helps to understand the real impact possible.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.