Closed ghost closed 6 years ago
This pull request solves issue https://github.com/truffle-box/react-box/issues/58 which is about compilation failure due to this deprecation warning:
Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead. function Migrations() public { ^ (Relevant source part starts here and spans across multiple lines).
Fix Migrations.sol:11:3: from this
function Migrations() public {
to this
constructor() public {
This pull request solves issue https://github.com/truffle-box/react-box/issues/58 which is about compilation failure due to this deprecation warning:
Solution
Fix Migrations.sol:11:3: from this
to this