diff --git a/foundry.toml b/foundry.toml index 19903e0..247c5c1 100644 --- a/foundry.toml +++ b/foundry.toml @@ -1,7 +1,5 @@ -[default] +[profile.default] src = 'src' out = 'out' libs = ['lib'] remappings = ['ds-test/=lib/ds-test/src/'] - -# See more config options https://github.com/gakonst/foundry/tree/master/config \ No newline at end of file diff --git a/src/test/ExcessivelySafeCall.t.sol b/src/test/ExcessivelySafeCall.t.sol index f925678..18b01b3 100644 --- a/src/test/ExcessivelySafeCall.t.sol +++ b/src/test/ExcessivelySafeCall.t.sol @@ -200,23 +200,23 @@ contract CallTarget { called = msg.value; } - function retBytes(uint256 _bytes) public view { + function retBytes(uint256 _bytes) public pure { assembly { return(0, _bytes) } } - function revBytes(uint256 _bytes) public view { + function revBytes(uint256 _bytes) public pure { assembly { revert(0, _bytes) } } - function badRet() external returns (bytes memory) { + function badRet() external pure returns (bytes memory) { retBytes(1_000_000); } - function badRev() external{ + function badRev() external pure { revBytes(1_000_000); } -} \ No newline at end of file +}