Skip to content

OwnableValidator Forces EIP-191 Signature Format, Preventing EIP-712 Typed Data Support #27

@johnson86tw

Description

@johnson86tw

The OwnableValidator contract hardcodes the use of ECDSA.toEthSignedMessageHash() in its signature validation logic, which forces all signatures to use the EIP-191 personal message format. This prevents users from signing structured EIP-712 typed data.

https://github.com/rhinestonewtf/core-modules/blob/ccc47536901f4a5a6db78be8edf63e10bc636da1/src/OwnableValidator/OwnableValidator.sol#L385C13-L385C102

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions