Skip to content

Commit

Permalink
feat: Update to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
morrislaptop committed Aug 28, 2018
1 parent c8d9ccd commit ba0e804
Show file tree
Hide file tree
Showing 4 changed files with 1,476 additions and 29 deletions.
4 changes: 2 additions & 2 deletions contracts/Migrations.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.4.19;
pragma solidity 0.4.24;

contract Migrations {
address public owner;
Expand All @@ -8,7 +8,7 @@ contract Migrations {
if (msg.sender == owner) _;
}

function Migrations() public {
constructor() public {
owner = msg.sender;
}

Expand Down
4 changes: 2 additions & 2 deletions contracts/SetsAndEvents.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.4.19;
pragma solidity 0.4.24;

contract SetsAndEvents {

Expand All @@ -16,7 +16,7 @@ contract SetsAndEvents {
}

function doSomething(uint value) public {
SomethingHappened(msg.sender, value);
emit SomethingHappened(msg.sender, value);
}

function noop () public {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"semantic-release": "^12.4.1",
"truffle": "^4.1.0",
"vue": "^2.5.13",
"web3": "^1.0.0-beta.36"
"web3": "^1.0.0-beta.35"
},
"scripts": {
"dev": "microbundle watch",
Expand Down
Loading

0 comments on commit ba0e804

Please sign in to comment.