Incorrect definition of BLUEPRINT_TYPE_HASH
will result in an incorrectly computed hash in the _getBlueprintHash
function.
The BLUEPRINT_TYPE_HASH
is defined as:
LibTractor.sol#L28-L31
And the Blueprint
struct is defined as:
LibTractor.sol#L43-L50
EIP-712 standard requires that the data types
, order
, and names
of the fields in the type hash string must match exactly with the struct.
bytes32[] operatorPasteInstrs
is used in the struct and bytes operatorData
is used in the type hash.
The BLUEPRINT_TYPE_HASH
calculated above is used to calculate blueprint hash
LibTractor.sol#L139-L154
Since the BLUEPRINT_TYPE_HASH
does not accurately represent the Blueprint
struct, the resulting hash will be incorrect.
Any signatures generated using this incorrect hash will be invalid.
Manual Review
Update the BLUEPRINT_TYPE_HASH
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.