Closed alexhooketh closed 1 month ago
@alexhooketh this is known to happen in some cases due to non deterministic builds. Check the discussion here, cleaning the cache or setting force_evmla
to true
in zksolc settings should serve as a good wrokaround until we find a better solution.
If the issue still persists for you, could you give us an example reproducing it so we can look into it?
Closing due staleness. Re-open if needed.
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.0.2 (a1155ab 2024-09-01T00:28:04.703903000Z)
What command(s) is the bug in?
forge test --zksync
Operating System
macOS (Apple Silicon)
Describe the bug
I'm running "forge test --zksync" on this. This is the output:
Running the tests without --zksync, however, works properly:
I don't know if it worked before, because I've always used forge test without --zksync. I'll try running the tests before that commit and update this issue. forge build works properly both with and without --zksync.