Tadle

Tadle
DeFiFoundry
27,750 USDC
View results
Submission Details
Severity: low
Invalid

Typo in Contract Name Could Cause Inheritance and Integration Problems

Vulnerability Details:

The contract is currently named PreMarktes instead of the intended PreMarkets. This typo could lead to confusion and errors in inheritance and interaction with other contracts.

Impact

Although this issue does not directly affect the contract’s execution, it can lead to misunderstandings during development, testing, and integration processes. Other contracts attempting to inherit from or interact with this contract might encounter unexpected issues due to the incorrect name.

Proof of concept:

The following shows where the typo occurs:

Link to code

contract PreMarktes is PerMarketsStorage, Rescuable, Related, IPerMarkets {
// Contract implementation
}

Tools Used:

code Review

Recommendations

Correct the contract name from PreMarktes to PreMarkets.

Verify that all references to this contract, including inheritance, factory contracts, and tests, use the correct spelling.

Updates

Lead Judging Commences

0xnevi Lead Judge 12 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

[invalid] finding-Typos

Typos are at most informational and does not highlight a direct smart contract vulnerability

Support

FAQs

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