TempleGold

TempleDAO
Foundry
25,000 USDC
View results
Submission Details
Severity: low
Invalid

Invalid Import Statement in `spiceAuction.sol` Causing Compilation Failure

Summary

The spiceAuction.sol contract in the Temple Gold project fails to compile due to an invalid import statement.

Vulnerability Details

The contract contains an incorrect import statement:

import { AuctionBase } from "contracts/templegold//AuctionBase.sol";

The double slashes in the import path cause a compilation error.

Impact

This issue prevents the spiceAuction.sol contract from compiling, hindering the deployment and usage of the contract. Consequently, any functionality depending on this contract is blocked until the issue is resolved.

Tools Used

  • Code editor/IDE

Recommendations

Correct the import statement in the spiceAuction.sol contract to:

import { AuctionBase } from "contracts/templegold/AuctionBase.sol";

This adjustment will resolve the compilation error and allow the contract to compile successfully.

Updates

Lead Judging Commences

inallhonesty Lead Judge
11 months ago
inallhonesty Lead Judge 11 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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