[Deployment] Assertion error: factory deps non zero, data: "0x" #787
-
Team or ProjectNo response EnvironmentTestnet L2 block numberNo response zkSolc Versionzksolc-1.5.7 zksync-ethers Versionsolc 0.8.28 Minimal Reproducible Code or Repo Linkforge create src/Counter.sol:Counter Ran the command above but get this error below: Does this work on other EVMs? (If yes, please list at least 1 of them)No Description of What Your Contract DoesNo response Additional DetailsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
It appears you are encountering a specific error related to the deployment of a contract on the ZKsync Testnet using the This type of error can be complex and might require detailed investigation by the development team. Here are a few steps you can take:
By reporting this, the ZKsync team can provide more specific guidance or patches if there's a bug affecting your deployment process. Your feedback helps us serve you better. If this fully addresses your question, please give it a thumbs up. If it doesn't, please give it a thumbs down. This will inform the community and team so we can improve our support. |
Beta Was this translation helpful? Give feedback.
-
Can you confirm you're using foundry-zksync? If so, please run |
Beta Was this translation helpful? Give feedback.
Looks like the latest nightly version has a bug (reported here). Please install the previous version with
foundryup-zksync --version nightly-420660c5243e06af1f12febb1765a9abc9c77461
. Once installed make sureforge --version
returnsforge 0.0.2 (420660c 2024-11-21T00:41:59.430174000Z)
You should be able to deploy the contract with no issues. I just tried on my end: