Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: medium
Invalid

Forge Not Properly Initialized

Summary:

Forge is not properly initialized

Vulnerability Details:

lib folder is missing. So, forge-std/Script.sol and forge-std/Test.sol cannot be imported in the Script and Test files respectively

Impact:

Because forge-std is missing, deployments and tests cannot be done

Tools Used:

Replit IDE and Foundry

Recommendations:

Run
forge init --force .
to initialize the project properly (because it is not an empty directory). After initializing the project, delete the Counter.sol, Counter.s.sol, and Counter.t.sol files from the src, script, and test folders respectively.

  • I added a screenshot of my terminal showing this finding

Updates

Lead Judging Commences

inallhonesty Lead Judge
over 1 year ago
inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.