mirror of
https://github.com/lens-protocol/core.git
synced 2026-01-10 22:58:08 -05:00
test: redefine domainSeparator on TokenHandleRegistryTest
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user