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
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.