Skip to content

Commit 88ac5e7

Browse files
committed
cleanup
1 parent 704def2 commit 88ac5e7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/EIP7702Proxy/upgradeToAndCall.t.sol

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)