All reports
mediumLogic errorEVM-Solidity

predict.fun lending market: hashProposal uses wrong typeshash when hashing the encoded Proposal struct data

Payout
$0
Protocol
predict.fun lending market
Disclosed
Oct 7, 2024
Source
sherlock

In predict.fun's loan market, the EIP712 type hash constructed inside hashProposal() declares questionId as uint256 even though the Proposal struct defines the field as bytes32. Because the encoded struct value is still the bytes32, the type hash no longer mat …

Similar reports

  • No close matches yet.

References

This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.