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
ae5c5c38
Commit
ae5c5c38
authored
Jun 16, 2021
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
handle CREATE2
parent
6a6b9ae0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
traceHelper.ts
libs/remix-debug/src/trace/traceHelper.ts
+3
-3
No files found.
libs/remix-debug/src/trace/traceHelper.ts
View file @
ae5c5c38
...
...
@@ -15,11 +15,11 @@ export function resolveCalledAddress (vmTraceIndex, trace) {
}
export
function
isCallInstruction
(
step
)
{
return
[
'CALL'
,
'STATICCALL'
,
'CALLCODE'
,
'CREATE'
,
'DELEGATECALL'
].
includes
(
step
.
op
)
return
[
'CALL'
,
'STATICCALL'
,
'CALLCODE'
,
'CREATE'
,
'DELEGATECALL'
,
'CREATE2'
].
includes
(
step
.
op
)
}
export
function
isCreateInstruction
(
step
)
{
return
step
.
op
===
'CREATE'
return
step
.
op
===
'CREATE'
||
step
.
op
===
'CREATE2'
}
export
function
isReturnInstruction
(
step
)
{
...
...
@@ -47,7 +47,7 @@ export function isSHA3Instruction (step) {
}
export
function
newContextStorage
(
step
)
{
return
step
.
op
===
'CREATE'
||
step
.
op
===
'CALL'
return
step
.
op
===
'CREATE'
||
step
.
op
===
'CALL'
||
step
.
op
===
'CREATE2'
}
export
function
isCallToPrecompiledContract
(
index
,
trace
)
{
...
...
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