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
0ae9f9b5
Commit
0ae9f9b5
authored
Aug 10, 2021
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix input parameters
parent
b0ddc0bd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
StringType.ts
libs/remix-debug/src/solidity-decoder/types/StringType.ts
+2
-2
ValueType.ts
libs/remix-debug/src/solidity-decoder/types/ValueType.ts
+1
-1
No files found.
libs/remix-debug/src/solidity-decoder/types/StringType.ts
View file @
0ae9f9b5
...
...
@@ -20,9 +20,9 @@ export class StringType extends DynamicByteArray {
return
format
(
decoded
)
}
async
decodeFromStack
(
stackDepth
,
stack
,
memory
,
calldata
,
variableDetails
?)
{
async
decodeFromStack
(
stackDepth
,
stack
,
memory
,
storageResolver
,
calldata
,
cursor
,
variableDetails
?)
{
try
{
return
await
super
.
decodeFromStack
(
stackDepth
,
stack
,
memory
,
null
,
calldata
,
variableDetails
)
return
await
super
.
decodeFromStack
(
stackDepth
,
stack
,
memory
,
storageResolver
,
calldata
,
cursor
,
variableDetails
)
}
catch
(
e
)
{
console
.
log
(
e
)
return
{
error
:
'<decoding failed - '
+
e
.
message
+
'>'
}
...
...
libs/remix-debug/src/solidity-decoder/types/ValueType.ts
View file @
0ae9f9b5
...
...
@@ -43,7 +43,7 @@ export class ValueType {
* @param {String} - memory
* @return {Object} - decoded value
*/
async
decodeFromStack
(
stackDepth
,
stack
,
memory
,
calldata
,
variableDetails
?)
{
async
decodeFromStack
(
stackDepth
,
stack
,
memory
,
storageResolver
,
calldata
,
cursor
,
variableDetails
?)
{
let
value
if
(
stackDepth
>=
stack
.
length
)
{
value
=
this
.
decodeValue
(
''
)
...
...
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