From 39a2d62d6d025631380da88aa78c2f8b929852a2 Mon Sep 17 00:00:00 2001 From: Robin Salen <30937548+Nashtare@users.noreply.github.com> Date: Wed, 17 Jan 2024 08:28:53 -0500 Subject: [PATCH] Fix touched_addresses removal (#1473) --- evm/src/cpu/kernel/asm/core/touched_addresses.asm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/evm/src/cpu/kernel/asm/core/touched_addresses.asm b/evm/src/cpu/kernel/asm/core/touched_addresses.asm index 044b103f..d9c70f47 100644 --- a/evm/src/cpu/kernel/asm/core/touched_addresses.asm +++ b/evm/src/cpu/kernel/asm/core/touched_addresses.asm @@ -76,8 +76,7 @@ remove_touched_addresses_found: // stack: len-1, i, retdest MLOAD_GENERAL // Load the last address in the list. // stack: last_addr, i, retdest - SWAP1 - MLOAD_GENERAL // Store the last address at the position of the removed address. + MSTORE_GENERAL // Store the last address at the position of the removed address. JUMP