EIP712 hashstruct/encodedata need to keccak256 hash strings
Closed this issue · 0 comments
abarmat commented
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:
Reference:
- https://github.com/ethereum/EIPs/blob/master/assets/eip-712/Example.sol#L47
- In https://eips.ethereum.org/EIPS/eip-712 -> "The dynamic values bytes and string are encoded as a keccak256 hash of their contents."