File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import { SampleProxyForTestingPurpose7 } from "src/mocks/ForTesting/SampleProxyF
22
22
import { SampleProxy } from "src/mocks/SampleProxy.sol " ;
23
23
24
24
interface ITransparentUpgradeableProxy {
25
+ function upgradeTo (address ) external ;
25
26
function upgradeToAndCall (address , bytes memory ) external payable ;
26
27
}
27
28
@@ -65,7 +66,7 @@ contract LibInitializeGuardTest is Test {
65
66
66
67
address newLogic = address (new SampleProxyForTestingPurpose2 ());
67
68
vm.prank (admin);
68
- ITransparentUpgradeableProxy (address (_sample)).upgradeToAndCall (newLogic, "" );
69
+ ITransparentUpgradeableProxy (address (_sample)).upgradeTo (newLogic);
69
70
MockConfig (address (vme)).updateSampleProxyLogicForTesting ("SampleProxyForTestingPurpose2 " );
70
71
71
72
Vm.Log[] memory logs = vm.getRecordedLogs ();
You can’t perform that action at this time.
0 commit comments