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
a5aac925
Commit
a5aac925
authored
Dec 03, 2019
by
aniket-engg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ethjs-util function updated
parent
1b1380f6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
package.json
remix-debug/package.json
+1
-1
Mapping.js
remix-debug/src/solidity-decoder/types/Mapping.js
+1
-1
No files found.
remix-debug/package.json
View file @
a5aac925
{
"name"
:
"remix-debug"
,
"version"
:
"0.3.1
7
"
,
"version"
:
"0.3.1
8
"
,
"description"
:
"Ethereum IDE and tools for the web"
,
"contributors"
:
[
{
...
...
remix-debug/src/solidity-decoder/types/Mapping.js
View file @
a5aac925
...
...
@@ -73,7 +73,7 @@ function getMappingLocation (key, position) {
mappingP
=
ethutil
.
setLengthLeft
(
mappingP
,
32
)
var
mappingKeyBuf
=
concatTypedArrays
(
mappingK
,
mappingP
)
var
mappingKeyPreimage
=
'0x'
+
mappingKeyBuf
.
toString
(
'hex'
)
var
mappingStorageLocation
=
ethutil
.
sha3
(
mappingKeyPreimage
)
var
mappingStorageLocation
=
ethutil
.
keccak
(
mappingKeyPreimage
)
mappingStorageLocation
=
new
ethutil
.
BN
(
mappingStorageLocation
,
16
)
return
mappingStorageLocation
}
...
...
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