cclp-project / cclp-contracts-poc0

MIT License
2 stars 2 forks source link

Update OpenZeppelin libs #8

Open ajunge opened 6 years ago

ajunge commented 6 years ago

When they fix the emit warning for their events.

ajunge commented 6 years ago

We have new warnings

Compilation warnings encountered:

openzeppelin-solidity/contracts/ownership/Ownable.sol:20:3: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
  function Ownable() public {
  ^ (Relevant source part starts here and spans across multiple lines).
,openzeppelin-solidity/contracts/token/ERC20/DetailedERC20.sol:11:3: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
  function DetailedERC20(string _name, string _symbol, uint8 _decimals) public {
  ^ (Relevant source part starts here and spans across multiple lines).

Writing artifacts to ./build/contracts

@vdrg ^

vdrg commented 6 years ago

yes, the zeppelin guys are working on that (it still has less warnings than before). Will update when they fix it