Closed code423n4 closed 2 years ago
Czar102
The variable preMergeCirculatingTribe is not marked constant, thus every read is very gas-inefficient. The deployment costs 16,014 gas more.
preMergeCirculatingTribe
code
slither, truffle, ganache
Mark the variable constant.
A duplicate of #147
Handle
Czar102
Vulnerability details
Impact
The variable
preMergeCirculatingTribe
is not marked constant, thus every read is very gas-inefficient. The deployment costs 16,014 gas more.Proof of Concept
code
Tools Used
slither, truffle, ganache
Recommended Mitigation Steps
Mark the variable constant.