code-423n4 / 2021-09-yaxis-findings

0 stars 0 forks source link

Dead code #87

Open code423n4 opened 2 years ago

code423n4 commented 2 years ago

Handle

pauliax

Vulnerability details

Impact

rate state variable in MinterWrapper is practically useless as it is not used in any meaningful way. event InsuranceClaimed is declared but never emitted. Same with events VaultManagerSet and ControllerSet.

Recommended Mitigation Steps

Consider removing dead code.

GalloDaSballo commented 2 years ago

Evidence from code provided does agree with warden finding

Sponsor disputed

Will keep issue as valid as it may be because of some issue with the repo, however sponsor shouldn't have to mitigate as at worst this is a waste of gas