Skip to content

Commit

Permalink
Merge 9060947 into 8061f8e
Browse files Browse the repository at this point in the history
  • Loading branch information
frangio committed Jan 8, 2023
2 parents 8061f8e + 9060947 commit c693f67
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions EIPS/eip-5267.md
Expand Up @@ -4,7 +4,8 @@ title: Retrieval of EIP-712 domain
description: A way to describe and retrieve an EIP-712 domain to securely integrate EIP-712 signatures.
author: Francisco Giordano (@frangio)
discussions-to: https://ethereum-magicians.org/t/eip-5267-retrieval-of-eip-712-domain/9951
status: Review
status: Last Call
last-call-deadline: 2023-01-23
type: Standards Track
category: ERC
created: 2022-07-14
Expand Down Expand Up @@ -61,7 +62,7 @@ This is an optional extension to EIP-712 that does not introduce backwards compa

Upgradeable contracts that make use of EIP-712 signatures MAY be upgraded to implement this EIP.

User-agents or applications that implement this EIP SHOULD additionally support those contracts that due to their immutability cannot be upgraded to implement this EIP, by hardcoding their domain based on contract address and chain id.
User-agents or applications that use this EIP SHOULD additionally support those contracts that due to their immutability cannot be upgraded to implement it. The simplest way to achieve this is to hardcode common domains based on contract address and chain id. However, it is also possible to implement a more general solution by guessing possible domains based on a few common patterns using the available information, and selecting the one whose hash matches a `DOMAIN_SEPARATOR` or `domainSeparator` function in the contract.

## Reference Implementation

Expand Down

0 comments on commit c693f67

Please sign in to comment.