Arsenii Kulikov
Arsenii Kulikov
> Possibly fixing https://github.com/foundry-rs/foundry/issues/2002 too I don't think so. This sounds like an issue with gas estimation on optimism? looks like people are getting around it by using `--with-gas-multiplier` it...
> @klkvr would this be possible with --isolate? only if cheatcode is invoked inside of isolated subcall ```solidity contract TransientAssert { function assertLocked() external { bool locked; assembly { locked...
Could you please share the commands with actual vs expected output?
> Does `compilation_restrictions` also dictate what artifacts will be generated? In your example, will it only generate artifacts for `src/Counter.sol` and `test/**` while ignoring the rest? it doesn't. Each project...
hey @frontier159 `min_solc_version`/`max_solc_version` have no effect, you should use `version` to specify the solc version restrictions. In your case it would be something like ```toml compilation_restrictions = [ { paths...
you need to remove the `solc_version` key from the root, it requires all sources to get compiled with the 0.8.22 version thus we can't match the =0.8.19 requirement
something like this should work ```toml [profile.default] src = "src" out = "out" libs = ["lib"] compilation_restrictions = [ { paths = "src/**[!1][!9].sol", version = "=0.8.22" }, { paths =...
@BrennerSpear you can't import `lib/v3-periphery/contracts/libraries/PoolAddress.sol` which requires concrete `=0.7.6` from `src/core/PrestoFactory.so` requiring concrete `=0.8.22`
Note: profiling gas is a bit different vs traditional stack sampling, so there are some bugs I'm observing rn which we can look into in follow-ups. Mostly its related to...
@gakonst this should be `forge t --flamegraph --mt testSafeTransferFromToERC721RecipientWithData` `--flamegraph` does not accept test function arg, thus function name was parsed as cli arg (equivalent to `--match-path`)