Skip to content

[Deployment] Error on executing a create2 tx #978

Answered by lutr0
lutr0 asked this question in Deployments
Discussion options

You must be logged in to vote

Hi, we found that the issue was due to the contracts having been compiled and deployed on Sophon with the non-inlinable libraries addresses for zkSync.
The call was failing as it was trying to call a non-existing library, it being a CREATE2 tx was a red herring.
Deploying the libraries on Sophon and redeploying the contracts fixed the issue.

Thank you so much for your support, it's super appreciated.

Btw, I saw there was a PR matter-labs/hardhat-zksync#1531 to allow setting the libraries per network on hardhat, it would greatly help in these scenarios.

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@sarahschwartz
Comment options

@lutr0
Comment options

@dutterbutter
Comment options

@lutr0
Comment options

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