Description: The EmergencyMigration::migrate
function is supposed to erase the traces of the old addresses and set them all to address(0)
.
As per the natspec in the EmergencyMigration::run
function, the migration should erase the traces of the old contracts.
Impact: The migration does not get rid of the old addressess of Kernel
, USDC
and CrimeMoney
. The agency will find the old contracts and is able to use them agains the mob.
Proof of Concepts: Just run the test_migrate
function inside the EmergencyMigrationTest.t.sol
file and check the logs.
Recommended mitigation: Ensure that the addresses are updated correctly.
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.