sherlock-audit / 2022-11-float-capital-judging

2 stars 1 forks source link

0x0 - Development Libraries In Production #16

Closed sherlock-admin closed 1 year ago

sherlock-admin commented 1 year ago

0x0

medium

Development Libraries In Production

Summary

MarketExtended imports and uses MarketStorage. This imported library contains a Forge development library used for build.

Vulnerability Detail

MarketStorage

This imports the Forge standard library. As well as causing a higher cost for deployment, this necessitates the redeployment without this library which would incur maintainers of the project as well as migration costs for users.

Impact

Code Snippet

import "forge-std/console2.sol";

Tool used

Manual Review

Recommendation