Skip to content

[Deployment] Need help with error while deploying contract on layer 2(zksync testnet) #683

Answered by bxpana
kientt265 asked this question in Deployments
Discussion options

You must be logged in to vote

@kientt265 Just a heads up, Truffle is planning on being discontinued soon so you'll want to look for another tool to use for deployment.

We have some tutorials on deploying with Hardhat and Foundry in our docs that might help you with this issue too https://docs.zksync.io/build/start-coding/zksync-101

One thing that stands out is in your FundBridgeL2 contract you are importing Il1Messenger.sol from something that doesn't exist. There is no zksync-contracts repo in the Matter Labs org. Check out the examples in our tutorials and see if those help you out.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bxpana
Comment options

Answer selected by kientt265
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