Constructors can be made payable to save on gas
Constructor in DSCEngine.sol line 112 is not payable. By not making it payable the compiler will have to do a check
if(msg.value != 0) so that is reverts if value is sent in. Therefore to save on gas make all constructors payable.
Gas Savings: Payable constructor avoids about 10 Opcodes e.g CALLVALUE DUP1 ISZERO PUSH1 JUMP1
PUSH1 DUP1 REVERT JUMPDEST POP. This reduces opcodes and reduces deployment costs
Manual Analysis
It is recommended to make constructor payable to save on deployment costs
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.