There are variables that are only assigned once (e.g. in a constructor). You should mark such variables with the keyword "immutable", this greatly reduces the gas costs. A concrete example of such a variable is "VADER" which is only initialized once and cannot be changed later:
VADER = _vader;
There are plenty of such variables across the contracts.
Handle
paulius.eth
Vulnerability details
Impact
There are variables that are only assigned once (e.g. in a constructor). You should mark such variables with the keyword "immutable", this greatly reduces the gas costs. A concrete example of such a variable is "VADER" which is only initialized once and cannot be changed later: VADER = _vader; There are plenty of such variables across the contracts.