Repository navigation
[Dev Tools] Foundry tests panick/crash due to cast overflow #954
Replies: 1 comment
|
Seeing as @Karrq found the issue in matter-labs/foundry-zksync#949, closing this. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Team or Project
Lens
ZK chain
Lens Chain
Environment
Testnet
Select the Dev Tool you are using
Foundry
Provide the version of the tool (if applicable)
0.0.10-foundry-zksync-v0.0.10
Provide a brief description of the functionality you're trying to implement and the issue you are running into.
forge test --zksynccommand unexpectedly crashes, which does not allow us to properly move on in our test workflow. In addition, it makes our CI flow fail due to foundry panicking, despite all tests are in theory passing.Example of the stacktrace:
You can see it failing in this and this CI executions.
It does not seem to be a fully deterministic issue, as sometimes it passes locally. I started wondering if the undeterminism has something to do with the seed used to fuzz, but I am just guessing. However, it fails most of the times, thus it's being a critical issue for now, being close to the potential Lens Chain release date.
Repo Link (Optional)
https://github.com/lens-protocol/lens-v3
Additional Details
This was initially raised as an issue in the
matter-labs/foundry-zksyncrepository (See issue # 949).All reactions