Skip to content

Commit

Permalink
fix selfdestruct (#1064)
Browse files Browse the repository at this point in the history
  • Loading branch information
V-Staykov authored and Igor Mandrigin committed Aug 29, 2024
1 parent 4c449bb commit 9050924
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion core/vm/jump_table_zkevm.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ func newForkID4InstructionSet() JumpTable {
instructionSet[EXTCODEHASH].execute = opExtCodeHash_zkevm

// SELFDESTRUCT is replaces by SENDALL
instructionSet[SELFDESTRUCT].execute = opSendAll_zkevm
instructionSet[SELFDESTRUCT] = &operation{
execute: opSendAll_zkevm,
dynamicGas: gasSelfdestruct_zkevm,
numPop: 1,
numPush: 0,
}

validateAndFillMaxStack(&instructionSet)
return instructionSet
Expand Down

0 comments on commit 9050924

Please sign in to comment.