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
2dde2ac0
Commit
2dde2ac0
authored
Oct 03, 2018
by
Iuri Matias
Committed by
yann300
Nov 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove direct reference to tx and pass it as an arg
parent
673b1db7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
SolidityLocals.js
src/app/debugger/debugger/SolidityLocals.js
+2
-1
solidityState.js
src/app/debugger/debugger/solidityState.js
+2
-1
No files found.
src/app/debugger/debugger/SolidityLocals.js
View file @
2dde2ac0
...
...
@@ -6,13 +6,14 @@ var StorageViewer = remixDebug.storage.StorageViewer
class
DebuggerSolidityLocals
{
constructor
(
_parent
,
_stepManager
,
_traceManager
,
_internalTreeCall
)
{
constructor
(
_parent
,
tx
,
_stepManager
,
_traceManager
,
_internalTreeCall
)
{
this
.
event
=
new
EventManager
()
this
.
parent
=
_parent
this
.
stepManager
=
_stepManager
this
.
internalTreeCall
=
_internalTreeCall
this
.
storageResolver
=
null
this
.
traceManager
=
_traceManager
this
.
tx
=
tx
}
init
()
{
...
...
src/app/debugger/debugger/solidityState.js
View file @
2dde2ac0
...
...
@@ -6,7 +6,7 @@ var StorageViewer = remixDebug.storage.StorageViewer
class
DebuggerSolidityState
{
constructor
(
_parent
,
_stepManager
,
_traceManager
,
_codeManager
,
_solidityProxy
)
{
constructor
(
_parent
,
tx
,
_stepManager
,
_traceManager
,
_codeManager
,
_solidityProxy
)
{
this
.
event
=
new
EventManager
()
this
.
storageResolver
=
null
this
.
parent
=
_parent
...
...
@@ -15,6 +15,7 @@ class DebuggerSolidityState {
this
.
codeManager
=
_codeManager
this
.
solidityProxy
=
_solidityProxy
this
.
stateVariablesByAddresses
=
{}
this
.
tx
=
tx
_parent
.
event
.
register
(
'traceUnloaded'
,
()
=>
{
this
.
stateVariablesByAddresses
=
{}
})
_parent
.
event
.
register
(
'newTraceLoaded'
,
()
=>
{
this
.
stateVariablesByAddresses
=
{}
})
}
...
...
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