When MoneyShelf
is migrated to MoneyVault
, the USDC balance stays in MoneyShelf
instead of being transferred to MoneyVault
. This means that the God Father won't be able to withdraw from MoneyVault
and the USDC will stay stuck in the replaced contract.
Adding this test to EmergencyMigration.t.sol
, it fails when asserting that the USDC balance moved to the new contract address, demonstrating that the USDC balance stays linked to the old contract.
During migration, the USDC balance is lost. It becomes impossible to withdraw it.
Forge test
The USDC could be sent to the Kernel instead of moneyShelf (but the Kernel can also migrate and USDC transfer should be addressed in this case), or transferred during migration.
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.