Dependency configuration in Laundrette.sol::configureDependencies
is not properly set, with index 0
overwritten.
The index 0
of dependencies
is first set to toKeycode("MONEY")
but then immediately overridden by toKeycode("WEAPN")
by mistake. This prevents the address of moneyShelf
to change to moneyVault
in case of EmergencyMigration
.
The return value of Laundrette.sol::configureDependencies
will be unexpected. In case of EmergencyMigration
, the dependencies will not be updated as intended and the deposit and withdraw functions will not be restricted, potentially leading to fund loses as the protocol will not be frozen.
Manual review
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.