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
3834ac09
Commit
3834ac09
authored
Nov 21, 2020
by
aniket-engg
Committed by
Aniket
Nov 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
provider export improved
parent
aff251ee
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
10 deletions
+10
-10
index.ts
libs/remix-simulator/src/index.ts
+1
-1
accounts.ts
libs/remix-simulator/test/accounts.ts
+2
-2
blocks.ts
libs/remix-simulator/test/blocks.ts
+2
-2
misc.ts
libs/remix-simulator/test/misc.ts
+2
-2
tsconfig.lib.json
libs/remix-simulator/tsconfig.lib.json
+1
-1
tsconfig.json
tsconfig.json
+1
-1
workspace.json
workspace.json
+1
-1
No files found.
libs/remix-simulator/src/index.ts
View file @
3834ac09
import
{
Provider
}
from
'./provider'
import
{
Provider
}
from
'./provider'
export
default
{
Provider
}
export
{
Provider
}
libs/remix-simulator/test/accounts.ts
View file @
3834ac09
/* global describe, before, it */
/* global describe, before, it */
import
Web3
from
'web3'
import
Web3
from
'web3'
import
RemixSim
from
'../src/index'
import
{
Provider
}
from
'../src/index'
const
web3
=
new
Web3
()
const
web3
=
new
Web3
()
import
*
as
assert
from
'assert'
import
*
as
assert
from
'assert'
describe
(
'Accounts'
,
()
=>
{
describe
(
'Accounts'
,
()
=>
{
before
(
function
()
{
before
(
function
()
{
const
provider
:
any
=
new
RemixSim
.
Provider
()
const
provider
:
any
=
new
Provider
()
web3
.
setProvider
(
provider
)
web3
.
setProvider
(
provider
)
})
})
...
...
libs/remix-simulator/test/blocks.ts
View file @
3834ac09
/* global describe, before, it */
/* global describe, before, it */
import
Web3
from
'web3'
import
Web3
from
'web3'
import
RemixSim
from
'../src/index'
import
{
Provider
}
from
'../src/index'
const
web3
=
new
Web3
()
const
web3
=
new
Web3
()
import
*
as
assert
from
'assert'
import
*
as
assert
from
'assert'
describe
(
'blocks'
,
()
=>
{
describe
(
'blocks'
,
()
=>
{
before
(()
=>
{
before
(()
=>
{
const
provider
:
any
=
new
RemixSim
.
Provider
({
const
provider
:
any
=
new
Provider
({
coinbase
:
'0x0000000000000000000000000000000000000001'
coinbase
:
'0x0000000000000000000000000000000000000001'
})
})
web3
.
setProvider
(
provider
)
web3
.
setProvider
(
provider
)
...
...
libs/remix-simulator/test/misc.ts
View file @
3834ac09
/* global describe, before, it */
/* global describe, before, it */
import
Web3
from
'web3'
import
Web3
from
'web3'
import
RemixSim
from
'../src/index'
import
{
Provider
}
from
'../src/index'
const
web3
=
new
Web3
()
const
web3
=
new
Web3
()
import
*
as
assert
from
'assert'
import
*
as
assert
from
'assert'
describe
(
'Misc'
,
()
=>
{
describe
(
'Misc'
,
()
=>
{
before
(()
=>
{
before
(()
=>
{
const
provider
:
any
=
new
RemixSim
.
Provider
()
const
provider
:
any
=
new
Provider
()
web3
.
setProvider
(
provider
)
web3
.
setProvider
(
provider
)
})
})
...
...
libs/remix-simulator/tsconfig.lib.json
View file @
3834ac09
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
"module"
:
"commonjs"
,
"module"
:
"commonjs"
,
"outDir"
:
"../../dist/out-tsc"
,
"outDir"
:
"../../dist/out-tsc"
,
"declaration"
:
true
,
"declaration"
:
true
,
"rootDir"
:
".
/src
"
,
"rootDir"
:
"."
,
"types"
:
[
"node"
,
"mocha"
]
"types"
:
[
"node"
,
"mocha"
]
},
},
"exclude"
:
[
"exclude"
:
[
...
...
tsconfig.json
View file @
3834ac09
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
"@remix-project/remix-astwalker"
:
[
"dist/libs/remix-astwalker/index.js"
],
"@remix-project/remix-astwalker"
:
[
"dist/libs/remix-astwalker/index.js"
],
"@remix-project/remix-debug"
:
[
"dist/libs/remix-debug/index.js"
],
"@remix-project/remix-debug"
:
[
"dist/libs/remix-debug/index.js"
],
"@remix-project/remix-lib"
:
[
"dist/libs/remix-lib/index.js"
],
"@remix-project/remix-lib"
:
[
"dist/libs/remix-lib/index.js"
],
"@remix-project/remix-simulator"
:
[
"dist/libs/remix-simulator/index.js"
],
"@remix-project/remix-simulator"
:
[
"dist/libs/remix-simulator/
src/
index.js"
],
"@remix-project/remix-solidity"
:
[
"dist/libs/remix-solidity/index.js"
],
"@remix-project/remix-solidity"
:
[
"dist/libs/remix-solidity/index.js"
],
"@remix-project/remix-tests"
:
[
"dist/libs/remix-tests/src/index.js"
],
"@remix-project/remix-tests"
:
[
"dist/libs/remix-tests/src/index.js"
],
"@remix-project/remix-url-resolver"
:
[
"dist/libs/remix-url-resolver/index.js"
],
"@remix-project/remix-url-resolver"
:
[
"dist/libs/remix-url-resolver/index.js"
],
...
...
workspace.json
View file @
3834ac09
...
@@ -292,7 +292,7 @@
...
@@ -292,7 +292,7 @@
},
},
"remix-simulator"
:
{
"remix-simulator"
:
{
"root"
:
"libs/remix-simulator"
,
"root"
:
"libs/remix-simulator"
,
"sourceRoot"
:
"libs/remix-simulator
/src
"
,
"sourceRoot"
:
"libs/remix-simulator"
,
"projectType"
:
"library"
,
"projectType"
:
"library"
,
"schematics"
:
{},
"schematics"
:
{},
"architect"
:
{
"architect"
:
{
...
...
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