Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions src/ethereum/prague/vm/interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,18 +177,6 @@ def process_create_message(message: Message) -> Evm:
# take snapshot of state before processing the message
begin_transaction(state, transient_storage)

# If the address where the account is being created has storage, it is
# destroyed. This can only happen in the following highly unlikely
# circumstances:
# * The address created by a `CREATE` call collides with a subsequent
# `CREATE` or `CREATE2` call.
# * The first `CREATE` happened before Spurious Dragon and left empty
# code.
destroy_storage(state, message.current_target)

# In the previously mentioned edge case the preexisting storage is ignored
# for gas refund purposes. In order to do this we must track created
# accounts.
mark_account_created(state, message.current_target)

increment_nonce(state, message.current_target)
Expand Down