Skip to content

docs: misleading outdated comment at EIP712Upgradeable #5607

Open
@DefiCake

Description

@DefiCake

The EIP712Upgradeable contract seems to have misleading / outdated documentation in the comments.

💻 Environment

Latest (5.2.0)

📝 Details

At https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/blob/master/contracts/utils/cryptography/EIP712Upgradeable.sol

/**
 ...
 * NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain
 * separator of the implementation contract. This will cause the {_domainSeparatorV4} function to always rebuild the
 * separator from the immutable values, which is cheaper than accessing a cached version in cold storage.
 */

There are no use of immutables or constants in the contract. This note should go away.

🔢 Code to reproduce bug

Not relevant

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationInline comments, guides, and examples.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions