File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ contract UpgradeToAndCallTest is EIP7702ProxyBase {
1515 // Initialize the proxy first
1616 bytes memory initArgs = _createInitArgs (_newOwner);
1717 bytes memory signature = _signInitData (_EOA_PRIVATE_KEY, initArgs);
18- vm.prank (_eoa);
1918 EIP7702Proxy (_eoa).initialize (initArgs, signature);
2019
2120 // Deploy new implementation
@@ -52,7 +51,7 @@ contract UpgradeToAndCallTest is EIP7702ProxyBase {
5251 DummyImplementation (payable (_eoa)).dummy ();
5352 }
5453
55- function testUpgradeToAndCallRevertsForNonOwner () public {
54+ function testUpgradeToAndCall_revertsForNonOwner () public {
5655 vm.prank (address (0xBAD ));
5756 vm.expectRevert (); // CoinbaseSmartWallet will revert for non-owner
5857 CoinbaseSmartWallet (payable (_eoa)).upgradeToAndCall (
You can’t perform that action at this time.
0 commit comments