sherlock-audit / 2024-09-predict-fun-judging

0 stars 0 forks source link

Fluffy Sangria Wallaby - Unnecessary import of forge-std/console2.sol #332

Closed sherlock-admin3 closed 2 days ago

sherlock-admin3 commented 2 days ago

Fluffy Sangria Wallaby

Low/Info

Unnecessary import of forge-std/console2.sol

Summary

In PredictDotLoan.sol imports, there is an import of forge-std/console2.sol which is not necessary for any onchain action.

import {console2} from "forge-std/console2.sol";

Root Cause

No response

Internal pre-conditions

No response

External pre-conditions

No response

Attack Path

No response

Impact

No response

PoC

No response

Mitigation

remove forge-std/console2.sol from imports

sherlock-admin2 commented 6 hours ago

The protocol team fixed this issue in the following PRs/commits: https://github.com/PredictDotFun/predict-dot-loan/pull/40