Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Commit

Permalink
Fix touched_addresses removal (0xPolygonZero#1473)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nashtare authored Jan 17, 2024
1 parent 10fc966 commit 39a2d62
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions evm/src/cpu/kernel/asm/core/touched_addresses.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 39a2d62

Please sign in to comment.