Some foundry tests behave differently when the project is compiled with the via-ir
flag or without.
git clone --recurse-submodules [email protected]:malteish/troubleWithFoundryAndYul.git
to clone this repocd
into the local copy of this repoforge test -vv
. This executes the one test and shows the corresponding output. The test passes, even though it should definitely fail. Read the test for more details.FOUNDRY_PROFILE=noYUL forge test -vv
. This compiles the project without thevia-ir
flag. The test fails, as expected.
Please notice there are at least 2 problems here, which are described in the test.