From 47e5081f86c2cea577fe1d88f8d73bc5a701365a Mon Sep 17 00:00:00 2001 From: coffeepots Date: Wed, 25 Jul 2018 10:40:08 +0100 Subject: [PATCH] TODO comment for other forks on the selfdestruct op --- nimbus/vm/interpreter/opcodes_impl.nim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nimbus/vm/interpreter/opcodes_impl.nim b/nimbus/vm/interpreter/opcodes_impl.nim index b8663d749..b1cec00fc 100644 --- a/nimbus/vm/interpreter/opcodes_impl.nim +++ b/nimbus/vm/interpreter/opcodes_impl.nim @@ -775,6 +775,9 @@ op revert, inline = false, startPos, size: op selfDestruct, inline = false: ## 0xff Halt execution and register account for later deletion. + # TODO: This is the basic implementation of the self destruct op, + # Other forks have some extra functionality around this call. + # In particular, EIP150 and EIP161 have extra requirements. let beneficiary = computation.stack.popAddress() computation.vmState.mutateStateDB: