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
842f0dec
Commit
842f0dec
authored
Apr 20, 2018
by
Iuri Matias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bindings
parent
5dfd594a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
blocks.js
remix-simulator/src/methods/blocks.js
+2
-1
misc.js
remix-simulator/src/methods/misc.js
+1
-1
provider.js
remix-simulator/src/provider.js
+1
-2
No files found.
remix-simulator/src/methods/blocks.js
View file @
842f0dec
...
@@ -4,7 +4,8 @@ var Blocks = function() {
...
@@ -4,7 +4,8 @@ var Blocks = function() {
Blocks
.
prototype
.
methods
=
function
()
{
Blocks
.
prototype
.
methods
=
function
()
{
return
{
return
{
eth_getBlockByNumber
:
this
.
eth_getBlockByNumber
.
bind
(
this
)
eth_getBlockByNumber
:
this
.
eth_getBlockByNumber
.
bind
(
this
),
eth_gasPrice
:
this
.
eth_gasPrice
.
bind
(
this
)
}
}
}
}
...
...
remix-simulator/src/methods/misc.js
View file @
842f0dec
...
@@ -4,7 +4,7 @@ var Misc = function() {
...
@@ -4,7 +4,7 @@ var Misc = function() {
Misc
.
prototype
.
methods
=
function
()
{
Misc
.
prototype
.
methods
=
function
()
{
return
{
return
{
web3_clientVersion
:
'web3_clientVersion'
web3_clientVersion
:
this
.
web3_clientVersion
.
bind
(
this
)
}
}
}
}
...
...
remix-simulator/src/provider.js
View file @
842f0dec
...
@@ -25,8 +25,7 @@ var Provider = function () {
...
@@ -25,8 +25,7 @@ var Provider = function () {
Provider
.
prototype
.
sendAsync
=
function
(
payload
,
callback
)
{
Provider
.
prototype
.
sendAsync
=
function
(
payload
,
callback
)
{
const
self
=
this
const
self
=
this
log
.
dir
(
'payload method is '
)
log
.
info
(
'payload method is '
,
payload
.
method
)
log
.
dir
(
payload
.
method
)
let
method
=
this
.
methods
[
payload
.
method
]
let
method
=
this
.
methods
[
payload
.
method
]
if
(
method
)
{
if
(
method
)
{
...
...
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