15,000 USDC
View results
Submission Details
Severity: gas

Remove import forge-std

Summary

[G-24] Remove import forge-std

It's used to print the values of variables while running tests to help debug and see what's happening inside your contracts but since it's a development tool, it serves no purpose on mainnet. Also, the remember to remove the usage of calls that use forge-std when removing of the import of forge-std.

file: /script/DeployDSC.s.sol
5 import {Script} from "forge-std/Script.sol";

https://github.com/Cyfrin/2023-07-foundry-defi-stablecoin/blob/main/script/DeployDSC.s.sol#L5

Support

FAQs

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