From f6b6690743e7699a84ff7e5a948470976b131b7f Mon Sep 17 00:00:00 2001 From: Robin Salen <30937548+Nashtare@users.noreply.github.com> Date: Wed, 14 Aug 2024 07:28:46 +0900 Subject: [PATCH] Revert "Fix `SELFDESTRUCT` (#487)" This reverts commit 092d98becf2b1a72fff5f8013ceb6844fe7efd70. --- .../src/cpu/kernel/asm/core/create_contract_account.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evm_arithmetization/src/cpu/kernel/asm/core/create_contract_account.asm b/evm_arithmetization/src/cpu/kernel/asm/core/create_contract_account.asm index ddeee0e62..a614f9fa8 100644 --- a/evm_arithmetization/src/cpu/kernel/asm/core/create_contract_account.asm +++ b/evm_arithmetization/src/cpu/kernel/asm/core/create_contract_account.asm @@ -4,6 +4,7 @@ %macro create_contract_account // stack: address DUP1 %insert_touched_addresses + DUP1 %append_created_contracts DUP1 %mpt_read_state_trie // stack: existing_account_ptr, address // If the account doesn't exist, there's no need to check its balance or nonce, @@ -27,7 +28,6 @@ %%add_account: // stack: existing_balance, address - DUP2 %append_created_contracts DUP2 PUSH 1 // stack: is_contract, address, existing_balance, address %journal_add_account_created