range updated for contracts

latestSolVersion
aniket-engg 4 years ago
parent 0a78ff2540
commit 5cd9df21d0
  1. 8
      apps/remix-ide-e2e/src/examples/example-contracts.ts
  2. 4
      apps/remix-ide-e2e/src/tests/debugger.test.ts
  3. 2
      apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts
  4. 4
      apps/remix-ide-e2e/src/tests/usingWebWorker.test.ts
  5. 8
      apps/remix-ide/src/app/editor/example-contracts.js

@ -1,6 +1,6 @@
'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 {}
}`
}}
]

@ -1,6 +1,6 @@
'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";

Loading…
Cancel
Save