Skip to content

[Deployment] Deploying Beacon Proxy Upgradeable Simple ERC20 Contract #221

Closed Answered by vasyl-ivanchuk
vascovitche asked this question in Deployments
Discussion options

You must be logged in to vote

Hey @vascovitche 👋 ,

Thanks for reaching out. In the example you shared the are a couple of issues with the dependency versions and the deployment script. To make it work, I changed the dependencies to the following:

  "devDependencies": {
    "@matterlabs/hardhat-zksync-deploy": "^1.0.0",
    "@matterlabs/hardhat-zksync-upgradable": "^1.0.0",
    "@openzeppelin/contracts": "^4.9.2",
    "@openzeppelin/contracts-upgradeable": "^4.9.2",
    "dotenv": "^16.0.3",
    "ethers": "^6.9.0",
    "hardhat": "^2.19.1",
    "ts-node": "^10.9.1",
    "typescript": "^4.9.5",
    "zksync-ethers": "^6.1.0"
  }

and modified the deployment script based on our hardhat-zksync-upgradable tutorial here:

import {

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by MexicanAce

This comment was marked as disruptive content.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment Questions for deployment
7 participants