test: redefine domainSeparator on TokenHandleRegistryTest

This commit is contained in:
juancito.eth
2023-10-24 19:53:08 -03:00
parent 7e90a7d6f0
commit 71e154513a

View File

@@ -20,6 +20,16 @@ contract TokenHandleRegistryTest is BaseTest {
vm.prank(governance);
handleId = lensHandles.mintHandle(initialHandleHolder, 'handle');
domainSeparator = keccak256(
abi.encode(
Typehash.EIP712_DOMAIN,
keccak256('TokenHandleRegistry'),
keccak256(bytes('1')),
block.chainid,
address(tokenHandleRegistry)
)
);
}
function testCannot_MigrationLink_IfNotHub(address otherAddress) public {