foundry-zksync: floating point exception (core dumped) error when runing build --zksync

Component

Foundryup, Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge 0.0.4 (VERGEN_IDEMPOTENT_OUTPUT 2025-01-23T19:54:33.239256966Z)

What command(s) is the bug in?

forge build --zksync

Operating System

Linux

Describe the bug

when I run this command i get this error:

forge build --zksync
[1]    124800 floating point exception (core dumped)  forge build --zksync

I tried to run foundryup and after that foundryup-zksync again but I still get the same error this is my repo: https://github.com/sg-milad/Todo-smart-contract-foundry/pull/1 Image

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 27 (10 by maintainers)

Most upvoted comments

Hi all, have been having the same issues and am on the latest version of foundry zksync, have tried reverting back to normal foundry and trying zksync again and that didn’t work, also tried running foundryup-zksync --platform linux, didn’t change anything. I can confirm am able to build without using the zksync flag and below is the details of my current version: forge Version: 1.0.0-dev Commit SHA: VERGEN_IDEMPOTENT_OUTPUT Build Timestamp: 2025-03-10T15:28:21.453732116Z (1741620501) Build Profile: release Is there any other thing you might require? Also am on Linux mint