code-423n4 / 2021-12-yetifinance-findings

0 stars 0 forks source link

Leftover console.log calls #159

Closed code423n4 closed 2 years ago

code423n4 commented 2 years ago

Handle

p4st13r4

Vulnerability details

Impact

WJLP.sol has some leftover hardhat’ console.log calls in it. They have to be removed before deploying to mainnet

Proof of Concept

https://github.com/code-423n4/2021-12-yetifinance/blob/main/packages/contracts/contracts/AssetWrappers/WJLP/WJLP.sol#L152

Tools Used

Editor

Recommended Mitigation Steps

Remove console.log invokations

kingyetifinance commented 2 years ago

@LilYeti: Duplicate with #106