Skip to content

Commit

Permalink
fix(test): Remove unused insertion from f9cb74a
Browse files Browse the repository at this point in the history
  • Loading branch information
jdubpark committed Apr 8, 2024
1 parent bc7ef73 commit c0ca714
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/foundry/IPAccount.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ contract IPAccountTest is BaseTest {

IIPAccount ipAccount = IIPAccount(payable(account));

// Register vm.addr(2) as a valid module to test isValidSigner
bytes32 moduleNameHash = keccak256(abi.encodePacked("MockModuleAddr2"));
bytes32 moduleRegistryStorageLocation = 0xa17d78ae7aee011aefa3f1388acb36741284b44eb3fcffe23ecc3a736eaa2700;
bytes32 entrySlot = keccak256(abi.encodePacked(moduleRegistryStorageLocation, moduleNameHash));
vm.store(address(moduleRegistry), entrySlot, bytes32(uint256(uint160(vm.addr(2)))));

// Check token and owner functions
(uint256 chainId_, address tokenAddress_, uint256 tokenId_) = ipAccount.token();
assertEq(chainId_, block.chainid);
Expand Down

0 comments on commit c0ca714

Please sign in to comment.