Commented out code #140
Labels
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
BasePool
bug
Something isn't working
resolved
Finding has been patched by sponsor (sponsor pls link to PR containing fix)
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
Vader
Handle
ye0lde
Vulnerability details
Impact
Code clarity
Proof of Concept
Unused import
https://github.com/code-423n4/2021-11-vader/blob/429970427b4dc65e37808d7116b9de27e395ce0c/contracts/dex/pool/BasePool.sol#L12
Call to deprecated code (not sure the entire function is necessary anymore)
https://github.com/code-423n4/2021-11-vader/blob/429970427b4dc65e37808d7116b9de27e395ce0c/contracts/tokens/Vader.sol#L243
Tools Used
Visual Studio Code, Remix
Recommended Mitigation Steps
Consider removing the code or documenting why it is commented out.
The text was updated successfully, but these errors were encountered: