First Flight #18: T-Swap

First Flight #18
Beginner FriendlyDeFiFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

`PoolFactory::PoolFactory__PoolDoesNotExit` Error is no used in the `PoolFactory` contract and should be removed.

Description: Error is meant to check that pool is already created and thus should revert the call to PoolFactory::createPool but a similar error exits, PoolFactory__PoolAlreadyExists which is used to check the same thing, thus this error remains unused.

Impact: Extra gas usage

Recommended Mitigation:

- error PoolFactory__PoolDoesNotExist(address tokenAddress);
Updates

Appeal created

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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