when constructing thebytes32 constant MODULE_ENABLE_MODE_TYPE_HASH = keccak256("ModuleEnableMode(address module, bytes32 initDataHash)")
in the Constants.sol
, there is not supposed to be a space between the types. this extra space results in a different hash and will cause issues when signing the data from providers that follow the EIP712 convention.
The EIP712 typehash
definition specifies no space between the type definitions, this space will result in a different hash and prevent other providers that follow the correct convention to fail even if the signature is valid
this incomplete compliance with the EIP712 will prevent valid signatures from providers like metamask which follow the EIP712 to fail.
Manual Audit
In the Constants
file change the line
to
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.