Commit 5cd9df21 authored by aniket-engg's avatar aniket-engg

range updated for contracts

parent 0a78ff25
'use strict'
const storage = `pragma solidity >=0.4.22 <0.8.0;
const storage = `pragma solidity >=0.7.0 <0.8.0;
/**
* @title Storage
......@@ -27,7 +27,7 @@ contract Storage {
}
}`
const owner = `pragma solidity >=0.4.22 <0.8.0;
const owner = `pragma solidity >=0.7.0 <0.8.0;
/**
* @title Owner
......@@ -77,7 +77,7 @@ contract Owner {
}
}`
const ballot = `pragma solidity >=0.4.22 <0.8.0;
const ballot = `pragma solidity >=0.7.0 <0.8.0;
/**
* @title Ballot
......@@ -215,7 +215,7 @@ contract Ballot {
}
`
const ballot_0_4_11 = `pragma solidity >=0.4.10 <0.8.0;
const ballot_0_4_11 = `pragma solidity >=0.4.10 <0.7.0;
contract Ballot {
struct Voter {
......
......@@ -178,7 +178,7 @@ const sources = [
{
'browser/blah.sol': {
content: `
pragma solidity >=0.4.22 <0.8.0;
pragma solidity >=0.4.22 <0.7.0;
contract Kickstarter {
......@@ -193,7 +193,7 @@ const sources = [
Project[] public projects;
constructor() {
constructor() public {
}
......
......@@ -6,7 +6,7 @@ import sauce from './sauce'
const sources = [
{
'browser/Untitled.sol': {content: `
pragma solidity >=0.4.22 <0.8.0;
pragma solidity >=0.4.22 <0.7.0;
contract test1 { address test = tx.origin; }
contract test2 {}
contract TooMuchGas {
......
......@@ -5,14 +5,14 @@ import sauce from './sauce'
const sources = [
{'browser/basic.sol': { content:
`pragma solidity >=0.2.0 <0.8.0;
`pragma solidity >=0.2.0 <0.7.0;
/**
* @title Basic contract
*/
contract Basic {
uint someVar;
constructor() {}
constructor() public {}
}`
}}
]
......
'use strict'
const storage = `pragma solidity >=0.4.22 <0.8.0;
const storage = `pragma solidity >=0.7.0 <0.8.0;
/**
* @title Storage
......@@ -27,7 +27,7 @@ contract Storage {
}
}`
const owner = `pragma solidity >=0.4.22 <0.8.0;
const owner = `pragma solidity >=0.7.0 <0.8.0;
/**
* @title Owner
......@@ -77,7 +77,7 @@ contract Owner {
}
}`
const ballot = `pragma solidity >=0.4.22 <0.8.0;
const ballot = `pragma solidity >=0.7.0 <0.8.0;
/**
* @title Ballot
......@@ -215,7 +215,7 @@ contract Ballot {
}
`
var ballotTest = `pragma solidity >=0.4.22 <0.8.0;
var ballotTest = `pragma solidity >=0.7.0 <0.8.0;
import "remix_tests.sol"; // this import is automatically injected by Remix.
import "../3_Ballot.sol";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment