Skip to content
This repository was archived by the owner on Dec 31, 2024. It is now read-only.

Commit 1106c3b

Browse files
vubvub
vub
authored and
vub
committed
Alias selfdestruct to suicide
1 parent a62b6b1 commit 1106c3b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rewriter.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,10 @@ std::string macros[][2] = {
349349
"(waste $n)",
350350
"(call $n (create (lll (invalid))) 0 0 0 0 0)"
351351
},
352+
{
353+
"(selfdestruct $a)",
354+
"(suicide $a)"
355+
},
352356
{ "(. msg sender)", "(caller)" },
353357
{ "(. msg value)", "(callvalue)" },
354358
{ "(. msg gas)", "(gas)" },

0 commit comments

Comments
 (0)