-
Notifications
You must be signed in to change notification settings - Fork 689
Open
Description
There should be a check here comparing cached address(this)
against the address(this)
of the current context. If the compared addresses don't match, it should recalculate the domain separator:
Line 163 in 97bdb20
return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator(); |
Currently any delegatecalls will result in incorrect domain separator due to the difference in the actual address of the context and the address when the domain separator was cached.
Metadata
Metadata
Assignees
Labels
No labels