matter-labs / foundry-zksync

Fork of Foundry tailored for zkSync environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No `broadcast` file created

hensha256 opened this issue · comments

Component

Forge

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

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge 0.0.2 (fd4066b 2024-06-06T19:12:48.861429000Z)

What command(s) is the bug in?

forge create

Operating System

macOS (Apple Silicon)

Describe the bug

I ran forge create --zksync to deploy a smart contract to zksync era, and no broadcast file was created.

I was deploying this smart contract - the URL includes the branch update-create2-formula which I was on.

Hey @hensha256!
Thank you for raising this issue. The broadcast file is created when using forge script with the --broadcast flag enabled. We don't create the file when using forge create. Would you mind trying the same process but using a script?

Thank you, and let me know if anything else comes up.