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
4a34b56a
Unverified
Commit
4a34b56a
authored
Feb 18, 2019
by
yann300
Committed by
GitHub
Feb 18, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1122 from andremedeiros/fix/storage-range-without-callback
fix: storageRangeAt doesn't always take a callback
parents
db77e930
7688b7dc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
dummyProvider.js
remix-lib/src/web3Provider/dummyProvider.js
+6
-1
No files found.
remix-lib/src/web3Provider/dummyProvider.js
View file @
4a34b56a
...
@@ -25,7 +25,12 @@ dummyProvider.prototype.traceTransaction = function (txHash, options, cb) {
...
@@ -25,7 +25,12 @@ dummyProvider.prototype.traceTransaction = function (txHash, options, cb) {
return
{}
return
{}
}
}
dummyProvider
.
prototype
.
storageRangeAt
=
function
(
blockNumber
,
txIndex
,
address
,
start
,
end
,
maxLength
,
cb
)
{
cb
(
null
,
{})
}
dummyProvider
.
prototype
.
storageRangeAt
=
function
(
blockNumber
,
txIndex
,
address
,
start
,
end
,
maxLength
,
cb
)
{
if
(
cb
)
{
cb
(
null
,
{})
}
return
{}
}
dummyProvider
.
prototype
.
getBlockNumber
=
function
(
cb
)
{
cb
(
null
,
''
)
}
dummyProvider
.
prototype
.
getBlockNumber
=
function
(
cb
)
{
cb
(
null
,
''
)
}
...
...
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