@@ -46,8 +46,6 @@ contract Migration__01_Revoke_Roles is Migration {
46
46
_ronController = RONRegistrarController (loadContract (Contract.RONRegistrarController.key ()));
47
47
_ownedMulticaller = OwnedMulticaller (loadContract (Contract.OwnedMulticaller.key ()));
48
48
49
- _upgradeProxy (Contract.RNSUnified.key ());
50
-
51
49
address [] memory contracts = new address [](5 );
52
50
contracts[0 ] = address (_domainPrice);
53
51
contracts[1 ] = address (_ronController);
@@ -80,10 +78,11 @@ contract Migration__01_Revoke_Roles is Migration {
80
78
81
79
_ownedMulticaller.multicall (tos, callDatas, values);
82
80
83
- uint256 length;
81
+ uint256 length = contracts. length ;
84
82
85
83
for (uint256 i; i < length; i++ ) {
86
84
AccessControlEnumerable (contracts[i]).grantRole (0x0 , multisig);
85
+ console.log ("Duke will renounce his admin roles of contract: " , vm.getLabel (contracts[i]), "manually " );
87
86
88
87
assertTrue (
89
88
AccessControlEnumerable (contracts[i]).getRoleMemberCount (0x0 ) > 0 ,
@@ -93,7 +92,17 @@ contract Migration__01_Revoke_Roles is Migration {
93
92
94
93
// Duke will do this manually
95
94
// Ownable(loadContract(Contract.OwnedMulticaller.key())).transferOwnership(multisig);
95
+ console.log (
96
+ "Duke will renounce his owner role of contract: " ,
97
+ vm.getLabel (loadContract (Contract.OwnedMulticaller.key ())),
98
+ "manually "
99
+ );
96
100
// Ownable(loadContract(Contract.RNSReverseRegistrar.key())).transferOwnership(multisig);
101
+ console.log (
102
+ "Duke will renounce his owner role of contract: " ,
103
+ vm.getLabel (loadContract (Contract.RNSReverseRegistrar.key ())),
104
+ "manually "
105
+ );
97
106
98
107
vm.stopBroadcast ();
99
108
}
0 commit comments