onbjerg

Results 440 comments of onbjerg

Essentially what I want the guide to be is like: - Install Foundry - Quick overview of the repo we're migrating - Configure foundry.toml + talk about lib/test/src/out etc. -...

We don't have any specific repository in mind, a repository that fits the criteria I mentioned above would be great, though. Something that is not too complex (we don't want...

Because the function call returns a value, so Solidity does not insert the `extcodesize` check, since it can just check if any value was returned. The reason I didn't explain...

This is currently blocked. There is no real good way to tell GitHub that the cache is out of date and should be rebuilt.

I'd assume this error is in [solang-parser](https://crates.io/crates/solang-parser) since that's the parser we use for the formatter

`selfdestruct` doesn't take effect until the call is over, which it isn't until the test is over.

>Good to know! Is there any way to get around this limitation? Not currently... Is there any specific reason you need to test that the contract was self-destructed by checking...

Unsure, I still think it is a bit niche, especially considering that selfdestruct is a candidate for removal. But if we do add it, having a forge-std helper makes sense.

We could, however that also breaks 1:1 EVM behavior which might not be desired.

https://github.com/foundry-rs/foundry/issues/2654 contradicts this issue - did this behavior change recently?