Use constant _INITIAL_EMISSION_CURVE
in Vader.sol
#144
Labels
bug
Something isn't working
G (Gas Optimization)
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
Vader
Handle
pmerkleplant
Vulnerability details
Variable
emissionCurve
is defined inVader.sol
as the constant_INITIAL_EMISSION_CURVE
. As the variable is not mutated afterwards, eitherdirectly use the
INITIAL_EMISSION_CURVE
constant, or declareemissionCurve
as constant.
Marking a variable as constant, if possible, saves gas.
The text was updated successfully, but these errors were encountered: