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
7e0235c7
Commit
7e0235c7
authored
Jan 14, 2020
by
aniket-engg
Committed by
Aniket
Jan 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
final fixes
parent
6dcc205b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
localDecoder.js
remix-debug/src/solidity-decoder/localDecoder.js
+1
-1
Struct.js
remix-debug/src/solidity-decoder/types/Struct.js
+1
-2
mappingPreimages.js
remix-debug/src/storage/mappingPreimages.js
+1
-1
No files found.
remix-debug/src/solidity-decoder/localDecoder.js
View file @
7e0235c7
...
...
@@ -9,7 +9,7 @@ async function solidityLocals (vmtraceIndex, internalTreeCall, stack, memory, st
const
locals
=
{}
memory
=
formatMemory
(
memory
)
let
anonymousIncr
=
1
for
(
var
local
in
scope
.
locals
)
{
for
(
let
local
in
scope
.
locals
)
{
var
variable
=
scope
.
locals
[
local
]
if
(
variable
.
stackDepth
<
stack
.
length
&&
variable
.
sourceLocation
.
start
<=
currentSourceLocation
.
start
)
{
let
name
=
variable
.
name
...
...
remix-debug/src/solidity-decoder/types/Struct.js
View file @
7e0235c7
...
...
@@ -10,8 +10,7 @@ class Struct extends RefType {
async
decodeFromStorage
(
location
,
storageResolver
)
{
const
ret
=
{}
for
(
var
k
in
this
.
members
)
{
const
item
=
this
.
members
[
k
]
for
(
var
item
of
this
.
members
)
{
const
globalLocation
=
{
offset
:
location
.
offset
+
item
.
storagelocation
.
offset
,
slot
:
util
.
add
(
location
.
slot
,
item
.
storagelocation
.
slot
)
...
...
remix-debug/src/storage/mappingPreimages.js
View file @
7e0235c7
...
...
@@ -17,7 +17,7 @@ async function decodeMappingsKeys (web3, storage, corrections, callback) {
const
ret
=
{}
if
(
!
corrections
.
length
)
corrections
.
push
({
offset
:
0
,
slot
:
0
})
for
(
let
hashedLoc
in
storage
)
{
let
preimage
var
preimage
try
{
const
key
=
storage
[
hashedLoc
].
key
for
(
let
k
in
corrections
)
{
...
...
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