the EmergencyMigration::migrate
doesn't transfer the funds from the MoneyShelf contract to the MoneyVault contract
The goat of the EmergencyMigration::migrate
is to allow the godfather to migrate funds from the MoneyShelf to a contract (MoneyVault) that only he can manage. However, the function currently does not transfer the funds, thus defeating the purpose of the emergency migration
Since the funds are not transferred to the MoneyVault, they remain in the MoneyShelf and are susceptible to being compromised.
Place the following into EmergencyMigration.t.sol
.
Manual Review
Add a transfer of funds from the MoneyShelf to the MoneyVault in the migrate
function and keep track of balance of every account.
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.