I am trying to use regular foundry to run tests on the EVM (not zksync).
I can run forge build just fine. But when I then run forge test, it tries to compile my code for zksync even though i do not have the flag enabled.
forge build
[⠊] Compiling...
[⠘] Compiling 125 files with 0.8.24
[⠊] Solc 0.8.24 finished in 10.20s
Compiler run successful with warnings:
...
and then
forge test
[⠊] Compiling...
No files changed, compilation skipped
[⠔] Compiling (zksync)...^C
the zksync compilation then fails and i cannot run my tests for EVM chains.
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.0.2 (fd4066b1 2024-06-06T17:01:06.704615000Z)
What command(s) is the bug in?
forge test
Operating System
macOS (Apple Silicon)
Describe the bug
I am trying to use regular foundry to run tests on the EVM (not zksync). I can run
forge build
just fine. But when I then runforge test
, it tries to compile my code forzksync
even though i do not have the flag enabled.and then
the zksync compilation then fails and i cannot run my tests for EVM chains.