graphprotocol/common-ts

EIP712 hashstruct/encodedata need to keccak256 hash strings

Closed this issue · 0 comments

To match the EIP712 example provided, the RFC and the way it's implemented in the DisputeManager, the name and version need to be hashed as they are strings.

Location:

[domain.name, domain.version, domain.chainId, domain.verifyingContract, domain.salt],

Reference: