Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
5cd9df21
Commit
5cd9df21
authored
Oct 26, 2020
by
aniket-engg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
range updated for contracts
parent
0a78ff25
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
13 deletions
+13
-13
example-contracts.ts
apps/remix-ide-e2e/src/examples/example-contracts.ts
+4
-4
debugger.test.ts
apps/remix-ide-e2e/src/tests/debugger.test.ts
+2
-2
staticAnalysis.test.ts
apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts
+1
-1
usingWebWorker.test.ts
apps/remix-ide-e2e/src/tests/usingWebWorker.test.ts
+2
-2
example-contracts.js
apps/remix-ide/src/app/editor/example-contracts.js
+4
-4
No files found.
apps/remix-ide-e2e/src/examples/example-contracts.ts
View file @
5cd9df21
'use strict'
'use strict'
const
storage
=
`pragma solidity >=0.
4.22
<0.8.0;
const
storage
=
`pragma solidity >=0.
7.0
<0.8.0;
/**
/**
* @title Storage
* @title Storage
...
@@ -27,7 +27,7 @@ contract 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
* @title Owner
...
@@ -77,7 +77,7 @@ contract 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
* @title Ballot
...
@@ -215,7 +215,7 @@ contract 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 {
contract Ballot {
struct Voter {
struct Voter {
...
...
apps/remix-ide-e2e/src/tests/debugger.test.ts
View file @
5cd9df21
...
@@ -178,7 +178,7 @@ const sources = [
...
@@ -178,7 +178,7 @@ const sources = [
{
{
'browser/blah.sol'
:
{
'browser/blah.sol'
:
{
content
:
`
content
:
`
pragma solidity >=0.4.22 <0.
8
.0;
pragma solidity >=0.4.22 <0.
7
.0;
contract Kickstarter {
contract Kickstarter {
...
@@ -193,7 +193,7 @@ const sources = [
...
@@ -193,7 +193,7 @@ const sources = [
Project[] public projects;
Project[] public projects;
constructor() {
constructor()
public
{
}
}
...
...
apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts
View file @
5cd9df21
...
@@ -6,7 +6,7 @@ import sauce from './sauce'
...
@@ -6,7 +6,7 @@ import sauce from './sauce'
const
sources
=
[
const
sources
=
[
{
{
'browser/Untitled.sol'
:
{
content
:
`
'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 test1 { address test = tx.origin; }
contract test2 {}
contract test2 {}
contract TooMuchGas {
contract TooMuchGas {
...
...
apps/remix-ide-e2e/src/tests/usingWebWorker.test.ts
View file @
5cd9df21
...
@@ -5,14 +5,14 @@ import sauce from './sauce'
...
@@ -5,14 +5,14 @@ import sauce from './sauce'
const
sources
=
[
const
sources
=
[
{
'browser/basic.sol'
:
{
content
:
{
'browser/basic.sol'
:
{
content
:
`pragma solidity >=0.2.0 <0.
8
.0;
`pragma solidity >=0.2.0 <0.
7
.0;
/**
/**
* @title Basic contract
* @title Basic contract
*/
*/
contract Basic {
contract Basic {
uint someVar;
uint someVar;
constructor() {}
constructor()
public
{}
}`
}`
}}
}}
]
]
...
...
apps/remix-ide/src/app/editor/example-contracts.js
View file @
5cd9df21
'use strict'
'use strict'
const
storage
=
`pragma solidity >=0.
4.22
<0.8.0;
const
storage
=
`pragma solidity >=0.
7.0
<0.8.0;
/**
/**
* @title Storage
* @title Storage
...
@@ -27,7 +27,7 @@ contract 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
* @title Owner
...
@@ -77,7 +77,7 @@ contract 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
* @title Ballot
...
@@ -215,7 +215,7 @@ contract 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 "remix_tests.sol"; // this import is automatically injected by Remix.
import "../3_Ballot.sol";
import "../3_Ballot.sol";
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment