Require 0.5.0 in contract tests

This commit is contained in:
Alex Beregszaszi 2018-07-28 12:57:11 +01:00
parent e9b2c650ce
commit d05fdb51b0
3 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ namespace
{
static char const* registrarCode = R"DELIMITER(
pragma solidity ^0.4.0;
pragma solidity >=0.4.0 <0.6.0;
contract NameRegister {
function addr(string memory _name) public view returns (address o_owner);

View File

@ -53,7 +53,7 @@ static char const* registrarCode = R"DELIMITER(
// @authors:
// Gav Wood <g@ethdev.com>
pragma solidity ^0.4.0;
pragma solidity >=0.4.0 <0.6.0;
contract Registrar {
event Changed(string indexed name);

View File

@ -56,7 +56,7 @@ static char const* walletCode = R"DELIMITER(
// some number (specified in constructor) of the set of owners (specified in the constructor, modifiable) before the
// interior is executed.
pragma solidity ^0.4.0;
pragma solidity >=0.4.0 <0.6.0;
contract multiowned {