Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When will @openzeppelin/[email protected] be supported? #1019

Closed
time-holder opened this issue Apr 13, 2024 · 4 comments
Closed

When will @openzeppelin/[email protected] be supported? #1019

time-holder opened this issue Apr 13, 2024 · 4 comments

Comments

@time-holder
Copy link

time-holder commented Apr 13, 2024

It looks like contract deployment doesn't seem to support @openzeppelin/[email protected] and @openzeppelin/[email protected]. Is there any plan to upgrade?

My contract is written based on version 5.0.2. It compiles successfully, but the following error occurs during deployment:
image

I found that all the packages under @matterlabs/hardhat-zksync-* depend on @OpenZeppelin version v4.9.2. This could be the reason for the failure.

@nikola-bozin-txfusion
Copy link
Contributor

nikola-bozin-txfusion commented Apr 15, 2024

Hello @time-holder The primary reason we haven't updated this feature in our plugin yet is due to compatibility issues that arise when it's used alongside the @matterlabs/zksync-contracts package. This package relies on outdated versions of the openzeppelin contracts, which can cause errors.

We are optimistic that this issue will be resolved soon.

@logan272
Copy link

Any update when will @openzeppelin/contracts@v5 be supported?

@kiriyaga-txfusion
Copy link
Contributor

kiriyaga-txfusion commented Jun 10, 2024

We are still waiting for the ML team to update the OpenZeppelin dependencies used in the @matterlabs/zksync-contracts, which may cause conflicts. Here is a PR where we bump OpenZeppelin to v5.

@kiriyaga-txfusion
Copy link
Contributor

Support for OpenZeppelin Contracts v5 is available starting from @matterlabs/hardhat-zksync-upgradable version 1.7.0.

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

No branches or pull requests

4 participants