Description:
The LikeRegistry::FIXEDFEE
is a variable of type immutable, but it is directly being initialised without the use of constructor. If it is not supposed to get initialised during contract deployment, then using type immutable
is unneccesary, and can led to high gas consumption; instead it could be declared with type constant
to save gas.
Impact:
Type immutable
leds to gas consumption.
Recommended Mitigation:
Easy fix:
If the variable was supposed to get initialised through constructor, then:
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
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.