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
32402380
Commit
32402380
authored
Dec 18, 2020
by
aniket-engg
Committed by
Aniket
Dec 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test working fine
parent
0f2ed9f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
DynamicByteArray.ts
...emix-debug/src/solidity-decoder/types/DynamicByteArray.ts
+2
-3
No files found.
libs/remix-debug/src/solidity-decoder/types/DynamicByteArray.ts
View file @
32402380
...
...
@@ -18,9 +18,8 @@ export class DynamicByteArray extends RefType {
console
.
log
(
e
)
return
{
value
:
'<decoding failed - '
+
e
.
message
+
'>'
,
type
:
this
.
typeName
}
}
const
bn
=
new
BN
(
value
,
16
)
if
(
bn
.
testn
(
0
))
{
const
length
:
BN
=
bn
.
div
(
new
BN
(
2
))
const
length
=
new
BN
(
value
,
16
)
if
(
length
.
testn
(
0
))
{
let
dataPos
=
new
BN
(
sha3256
(
location
.
slot
).
replace
(
'0x'
,
''
),
16
)
let
ret
=
''
let
currentSlot
=
'0x'
...
...
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