Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Missing support for Solidity 0.7 in the @openzeppelin/upgrades package #1580

Closed
andrekorol opened this issue Aug 29, 2020 · 4 comments
Closed

Comments

@andrekorol
Copy link

I've been using the '3.1.0-solc-0.7' version of the @openzeppelin/contracts package, which already supports compiling its contracts with solc 0.7.

But when I tried to inherit from a contract in the @openzeppelin/upgrades (Initializable.sol), I noticed that it still does not compile on solc 0.7 (it specifies 'pragma solidity >=0.4.24 <0.7.0;').

@abcoathup
Copy link
Contributor

Hi @andrekorol! I’m sorry that you had this issue.

Thanks so much for reporting it! The project owner will review and triage this issue as soon as they can.

Just to let you know Initializable as part of the proxy contracts is being moved to OpenZeppelin Contracts: OpenZeppelin/openzeppelin-contracts#2335

@andrekorol
Copy link
Author

Hi @abcoathup, thanks for answering!

If Initializable is already being moved to OpenZeppelin Contracts, then that's great since it already supports solc 0.7.

BTW, I love using the OpenZeppelin CLI, thank you for providing such a great product! 😃

@scorpion9979
Copy link

Thanks for bringing up this issue. This is also a blocker for me at the moment, as I'm heavily dependent on solc ^0.6.

@frangio
Copy link
Contributor

frangio commented Sep 7, 2020

A release candidate for the next version of OpenZeppelin Contracts has been published and it includes all the proxies as well as Initializable, with support for Solidity 0.6. Solidity 0.7 will be supported as well once the final release is published. Check out the announcement in the forum!

I'm closing this issue as we will not add Solidity 0.7 support in this project.

@frangio frangio closed this as completed Sep 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants