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
ca2fff8f
Commit
ca2fff8f
authored
Jan 09, 2017
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
5a563ab7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
traceCache.js
src/trace/traceCache.js
+7
-5
No files found.
src/trace/traceCache.js
View file @
ca2fff8f
...
...
@@ -35,11 +35,13 @@ TraceCache.prototype.pushMemoryChanges = function (value) {
TraceCache
.
prototype
.
pushCall
=
function
(
step
,
index
,
address
,
callStack
,
reverted
,
outOfGas
)
{
if
(
step
.
op
===
'RETURN'
||
step
.
op
===
'STOP'
||
reverted
)
{
this
.
currentCall
.
call
.
return
=
index
-
1
this
.
currentCall
.
call
.
reverted
=
reverted
this
.
currentCall
.
call
.
outOfGas
=
outOfGas
var
parent
=
this
.
currentCall
.
parent
this
.
currentCall
=
parent
?
{
call
:
parent
.
call
,
parent
:
parent
.
parent
}
:
null
if
(
this
.
currentCall
)
{
this
.
currentCall
.
call
.
return
=
index
-
1
this
.
currentCall
.
call
.
reverted
=
reverted
this
.
currentCall
.
call
.
outOfGas
=
outOfGas
var
parent
=
this
.
currentCall
.
parent
this
.
currentCall
=
parent
?
{
call
:
parent
.
call
,
parent
:
parent
.
parent
}
:
null
}
}
else
{
var
call
=
{
op
:
step
.
op
,
...
...
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