Eggstravaganza

First Flight #37
Beginner FriendlySolidity
100 EXP
View results
Submission Details
Severity: medium
Invalid

[Medium-Risk]: Incomplete files required for the protocol makes it unable to perform the tests, to check the functionalities properly.

Discription: There isn't "Forge-std" and "Openzeppelin-Contracts" directories in the protocol which must be present in order to test::EggHuntGameTest.t.sol and EggstravaganzaNFT.sol to compile and the protocol to work efficiently.Even if someone tries to get all the repository files through gitclone --recurse submodules one is unable to get the "Forge-std" and "Openzeppelin-contracts" directories because it is unavailable.

Impact:
The test file test::EggHuntGameTest.t.sol will not work properly because it won't compile.

Proof Of Concept:
Simply first clone the git repository of the protocol to your test setup.Try cloning through the --recurse submodules command if using git bash.Then simply run forge build in foundry or compile the files according to your setup.It will not compile and this is what the issue is.

Recommended Mitigation:
Add the missing directory e.g "Forge-std" and "Openzeppelin-contracts" to your protocol and try compiling before deploying to the live blockchain

Updates

Lead Judging Commences

m3dython Lead Judge 3 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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