mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Require 0.5.0 in contract tests
This commit is contained in:
parent
e9b2c650ce
commit
d05fdb51b0
@ -40,7 +40,7 @@ namespace
|
|||||||
{
|
{
|
||||||
|
|
||||||
static char const* registrarCode = R"DELIMITER(
|
static char const* registrarCode = R"DELIMITER(
|
||||||
pragma solidity ^0.4.0;
|
pragma solidity >=0.4.0 <0.6.0;
|
||||||
|
|
||||||
contract NameRegister {
|
contract NameRegister {
|
||||||
function addr(string memory _name) public view returns (address o_owner);
|
function addr(string memory _name) public view returns (address o_owner);
|
||||||
|
@ -53,7 +53,7 @@ static char const* registrarCode = R"DELIMITER(
|
|||||||
// @authors:
|
// @authors:
|
||||||
// Gav Wood <g@ethdev.com>
|
// Gav Wood <g@ethdev.com>
|
||||||
|
|
||||||
pragma solidity ^0.4.0;
|
pragma solidity >=0.4.0 <0.6.0;
|
||||||
|
|
||||||
contract Registrar {
|
contract Registrar {
|
||||||
event Changed(string indexed name);
|
event Changed(string indexed name);
|
||||||
|
@ -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
|
// some number (specified in constructor) of the set of owners (specified in the constructor, modifiable) before the
|
||||||
// interior is executed.
|
// interior is executed.
|
||||||
|
|
||||||
pragma solidity ^0.4.0;
|
pragma solidity >=0.4.0 <0.6.0;
|
||||||
|
|
||||||
contract multiowned {
|
contract multiowned {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user