openzeppelin-foundry-upgrades
openzeppelin-foundry-upgrades copied to clipboard
Warnings when compiling with new forge
[⠊] Compiling...
[⠃] Compiling 153 files with Solc 0.8.30
[⠘] Solc 0.8.30 finished in 83.94s
Compiler run successful with warnings:
Warning (2018): Function state mutability can be restricted to pure
--> lib/openzeppelin-foundry-upgrades/src/internal/StringFinder.sol:15:5:
|
15 | function contains(string memory subject, string memory search) internal returns (bool) {
| ^ (Relevant source part starts here and spans across multiple lines).
Warning (2018): Function state mutability can be restricted to pure
--> lib/openzeppelin-foundry-upgrades/src/internal/DefenderDeploy.sol:226:5:
|
226 | function _parseLine(
| ^ (Relevant source part starts here and spans across multiple lines).