Factory smart contract to make easier and safer usage of the `CREATE` and `CREATE2` EVM opcodes as well as of `CREATE3`-based (i.e. without an initcode factor) contract creations.
Foundry changed the default value for the invariantdepth parameter to 500 here: https://github.com/foundry-rs/foundry/pull/7957. Given the current setup, this would lead to overall 2,500,000 executed calls (= 5,000 runs 500 depth), which would cause the CI to timeout (see https://github.com/pcaversaccio/createx/actions/runs/9304062368/job/25622386435 as an example). We patch this by setting the new invariantruns parameter to 500 and the depth parameter to 500, leading to overall (only) 250,000 (= 500 500) calls.
🕓 Changelog
Foundry changed the default value for the
invariant
depth
parameter to500
here: https://github.com/foundry-rs/foundry/pull/7957. Given the current setup, this would lead to overall 2,500,000 executed calls (= 5,000runs
500depth
), which would cause the CI to timeout (see https://github.com/pcaversaccio/createx/actions/runs/9304062368/job/25622386435 as an example). We patch this by setting the newinvariant
runs
parameter to 500 and thedepth
parameter to 500, leading to overall (only) 250,000 (= 500 500) calls.🐶 Cute Animal Picture