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

5 stars 4 forks source link

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

Closed sherlock-admin3 closed 1 month ago

sherlock-admin3 commented 1 month 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 1 month ago

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