Skip to content

Commit

Permalink
Add v0.5 contracts to test
Browse files Browse the repository at this point in the history
  • Loading branch information
dcb9 committed Jan 2, 2019
1 parent 98f47e2 commit f4a36cc
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
9 changes: 9 additions & 0 deletions contracts/A_v0dot5.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
pragma solidity ^0.5.2;

contract A_v0dot5 {
uint256 a;

constructor(uint256 _a) public {
a = _a;
}
}
17 changes: 17 additions & 0 deletions contracts/SimpleStore_v0dot5.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
pragma solidity ^0.5.2;

contract SimpleStore_v0dot5 {
constructor(uint _value) public {
value = _value;
}

function set(uint newValue) public {
value = newValue;
}

function get() public view returns (uint) {
return value;
}

uint value;
}

0 comments on commit f4a36cc

Please sign in to comment.