I'm trying to get my head around how contract suicides work, and what actually happens during them. I understand why we use them.
This post states that when the SUICIDE
opcode is executed, the data of the contract being killed is removed:
In fact, the SUICIDE opcode uses negative gas because the operation frees up space on the blockchain by clearing all of the contract's data.
If the contract's data is removed to free up space, then surely the block in which it resides changes, and therefore that block's hash also changes. Wouldn't this therefore mean changing all subsequent blocks that rely on this hash?