@msolomon4 asked in Telegram
Hey small question—in @openzepplin/contracts why does Address.sol use ^0.6.2 in the pragma while the rest of the contracts seem to use ^0.6.0?
Reposting question in the forum for future community reference
@msolomon4 asked in Telegram
Hey small question—in @openzepplin/contracts why does Address.sol use ^0.6.2 in the pragma while the rest of the contracts seem to use ^0.6.0?
Reposting question in the forum for future community reference
Hi @msolomon4,
Solidity v0.6.4 deprecated the .value(x)
syntax in favor of {value: x}
, which resulted in deprecation warnings.
Unfortunately, the new notation was only introduced on v0.6.2, so we’re forced to bump the minimum compiler version for those contracts to fix this.
See the pull request for details: