When will there be Solidity 0.6.0 support for OpenZeppelin Contracts library?

Hi everyone,

solc version 0.6 was released some hours ago and I am already refactoring our codebase, in order to make use of long awaited cool new features like try catch and override markers.

When will the oz contracts library be solc 0.6 compatible?

2 Likes

Hi @gitpusha,

I have created an issue https://github.com/OpenZeppelin/openzeppelin-contracts/issues/2028 and will come back to you when I have more details.

1 Like

Hi @abcoathup - I modified the @openzeppelin/contracts pragma statements to play around with solc 0.6.0.

I stumbled upon this error:

It seems like many @openzeppelin/contracts might be incompatible with solc 0.6.0s try / catch because their functions are not declared as external ?

EDITS:
This compiled (IERC20 without SafeERC20 library internal method overriding)

image

1 Like

Hi @gitpusha,

Thanks for reporting, please share what you find with Solidity 0.6.

I have only had a quick play so far.

Hi @abcoathup,

Happy New Year!

Do you have any news with regards to solc 0.6 and @openzeppelin/contracts ?

1 Like

Hi @gitpusha,

Happy New Year to you too!!

This is the latest on Solidity 0.6 support:

https://github.com/OpenZeppelin/openzeppelin-contracts/issues/2028#issuecomment-568568484
... This will definitely happen before Q2, and most likely during January. We are analyzing this and will post as soon as we have any estimates.

1 Like

Hi @gitpusha,

OpenZeppelin Contracts were migrated to Solidity 0.6 in OpenZeppelin Contracts v3.0 Beta

Would appreciate if you can give the Beta a try and let us know what you think!

1 Like