Skip to content

Conversation

@ali-behjati
Copy link
Collaborator

@ali-behjati ali-behjati commented Jan 2, 2023

This PR adds the requied files and configurations for deploying Pyth to zkSync networks (currently only testnet).

Unfortunately they only support hardhat and I needed to rewrite deployment scripts. The zksync plugin expects deployment scripts to be on deploy directory and I couldn't get away from it.

Also as our deployment/sync script is based in truffle contract upgrades won't work automatically and I added a script for the part that needs to be done in hardhat with proper documentation. It is not very clean and I might change it in the future (or the deployment automation might improve it).

Please read Deploying.md for more information on how this works.

@ali-behjati ali-behjati requested a review from jayantk January 2, 2023 18:36
Copy link
Contributor

@jayantk jayantk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks. thankfully managing the contracts shouldn't be as bad since upgrades etc. are done via wormhole.

@ali-behjati ali-behjati merged commit 3b5c159 into main Jan 3, 2023
@ali-behjati ali-behjati deleted the eth/add-zksync-deployment-files branch January 3, 2023 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants