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
6dcc205b
Commit
6dcc205b
authored
Jan 14, 2020
by
aniket-engg
Committed by
Aniket
Jan 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initial fixes
parent
6750e044
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
localDecoder.js
remix-debug/src/solidity-decoder/localDecoder.js
+2
-2
stateDecoder.js
remix-debug/src/solidity-decoder/stateDecoder.js
+1
-1
No files found.
remix-debug/src/solidity-decoder/localDecoder.js
View file @
6dcc205b
...
...
@@ -9,8 +9,8 @@ async function solidityLocals (vmtraceIndex, internalTreeCall, stack, memory, st
const
locals
=
{}
memory
=
formatMemory
(
memory
)
let
anonymousIncr
=
1
for
(
let
local
in
scope
.
locals
)
{
const
variable
=
scope
.
locals
[
local
]
for
(
var
local
in
scope
.
locals
)
{
var
variable
=
scope
.
locals
[
local
]
if
(
variable
.
stackDepth
<
stack
.
length
&&
variable
.
sourceLocation
.
start
<=
currentSourceLocation
.
start
)
{
let
name
=
variable
.
name
if
(
name
===
''
)
{
...
...
remix-debug/src/solidity-decoder/stateDecoder.js
View file @
6dcc205b
...
...
@@ -11,7 +11,7 @@ const decodeInfo = require('./decodeInfo')
async
function
decodeState
(
stateVars
,
storageResolver
)
{
const
ret
=
{}
for
(
var
k
in
stateVars
)
{
const
stateVar
=
stateVars
[
k
]
var
stateVar
=
stateVars
[
k
]
try
{
const
decoded
=
await
stateVar
.
type
.
decodeFromStorage
(
stateVar
.
storagelocation
,
storageResolver
)
decoded
.
constant
=
stateVar
.
constant
...
...
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