[Compilers]<Cant compile sample box upgradeable contract> #88
-
Which compiler are you using?
Which version of Solidity or Vyper?solidity ^0.8.16 zksolc/zkvyper version?latest ^0.4.1 Explain the issueWhen i try to compile sample box contract with hardhat-zksync-upgradable plug in and open zeppelin packages i get this compilier error:
An unexpected error occurred:
Error: Cannot find module '@openzeppelin/upgrades-core/dist/ast-dereferencer'
Require stack:
- /home/furkansezal/skyRock/faucetpage/zksyncContract/node_modules/@matterlabs/hardhat-zksync-upgradable/dist/src/core/validate.js
- /home/furkansezal/skyRock/faucetpage/zksyncContract/node_modules/@matterlabs/hardhat-zksync-upgradable/dist/src/index.js
- /home/furkansezal/skyRock/faucetpage/zksyncContract/hardhat.config.js
- /home/furkansezal/skyRock/faucetpage/zksyncContract/node_modules/hardhat/internal/core/config/config-loading.js
- /home/furkansezal/skyRock/faucetpage/zksyncContract/node_modules/hardhat/internal/cli/cli.js
- /home/furkansezal/skyRock/faucetpage/zksyncContract/node_modules/hardhat/internal/cli/bootstrap.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/home/furkansezal/skyRock/faucetpage/zksyncContract/node_modules/@matterlabs/hardhat-zksync-upgradable/src/core/validate.ts:3:1)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/furkansezal/skyRock/faucetpage/zksyncContract/node_modules/@matterlabs/hardhat-zksync-upgradable/dist/src/core/validate.js',
'/home/furkansezal/skyRock/faucetpage/zksyncContract/node_modules/@matterlabs/hardhat-zksync-upgradable/dist/src/index.js',
'/home/furkansezal/skyRock/faucetpage/zksyncContract/hardhat.config.js',
'/home/furkansezal/skyRock/faucetpage/zksyncContract/node_modules/hardhat/internal/core/config/config-loading.js',
'/home/furkansezal/skyRock/faucetpage/zksyncContract/node_modules/hardhat/internal/cli/cli.js',
'/home/furkansezal/skyRock/faucetpage/zksyncContract/node_modules/hardhat/internal/cli/bootstrap.js'
]
} Link to your repo? |
Beta Was this translation helpful? Give feedback.
Answered by
kiriyaga
Aug 9, 2023
Replies: 5 comments 2 replies
-
Hello @FurkanSezal 👋, Thank you so much for reaching out and providing a minimal example of the issue. It made it really easy to reproduce!! 🛠️ I've noticed there were updates to astDereferencer which seem to have affected our plugin. Big thanks 🙌 for highlighting this – we'll jump on it and address the issue asap. 🚀 Stay tuned for updates and thanks again for your invaluable feedback! |
Beta Was this translation helpful? Give feedback.
2 replies
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
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
Hello @FurkanSezal
Check this out matter-labs/hardhat-zksync#361