Skip to content

[Deployment] Assertion error: factory deps non zero, data: "0x" #787

Answered by uF4No
wwwMalcolm asked this question in Deployments
Discussion options

You must be logged in to vote

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 sure forge --version returns forge 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:

forge create src/Counter.sol:Counter --account myKeystore --rpc-url https://sepolia.era.zksync.dev --chain 300 --zksync 

[⠃] Using zksolc-1.5.7
[⠊] Compiling (zksync)
No files changed, compilation skipped
Enter keystore password: **********************
Deployer: 0x466ff3c5C76445823b49dF047d72663B8eAe9272
Deployed to: 0x3BfF4A55…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@wwwMalcolm
Comment options

@wwwMalcolm
Comment options

@uF4No
Comment options

Answer selected by uF4No
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment Questions for deployment
2 participants