foundry-yul icon indicating copy to clipboard operation
foundry-yul copied to clipboard

Foundry + Yul template

Results 4 foundry-yul issues
Sort by recently updated
recently updated
newest added
trafficstars

If I clone the repo and run `forge test -vvv`, I get the following error: ERROR forge::runner: setUp failed reason="YulDeployer could not deploy contract" contract=0x7fa9385be102ac3eac297483dd6233d62b3e1496 Digging into it and attempting...

This PR enables optimizer for Yul and also fixes issue from https://github.com/CodeForcer/foundry-yul/pull/2 . I'm seeing ~40% bytecode size reduction with optimization enabled on my test project https://github.com/pawurb/yul721 ``` solc --strict-assembly...

``` 2023-08-19T06:55:36.259401Z ERROR apply:ext: evm::cheatcodes: non-empty stderr args=["bash", "-c", "cast abi-encode \"f(bytes)\" $(solc --yul yul/Example.yul --bin | tail -1)"] stderr="Error: \n\u{1b}[31mCould not ABI encode the function and arguments. Did you...

`forge test` throw an error due to the some of yul functions such as `iszero` or `eq`, etc. I will leave here an example code in order to reproduce the...