From e19e2b99166b33cdb7ecf3c19fc6b2c56ad17f41 Mon Sep 17 00:00:00 2001 From: Rima <153289003+casks-mutters@users.noreply.github.com> Date: Mon, 17 Nov 2025 04:46:48 -0500 Subject: [PATCH] =?UTF-8?q?Keep=20only=20one=20=E2=80=9Censure=20ascending?= =?UTF-8?q?=20order=E2=80=9D=20swap?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- batch_slot_diff.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/batch_slot_diff.py b/batch_slot_diff.py index 4e74089..c3e7684 100644 --- a/batch_slot_diff.py +++ b/batch_slot_diff.py @@ -68,10 +68,7 @@ def main(): print(f"⚠️ Skipping invalid row {row}: {e}", file=sys.stderr) continue - # ensure ascending order for consistency - if block_a > block_b: - block_a, block_b = block_b, block_a - + code = w3.eth.get_code(address) if not code: print("⚠️ Target address has no contract code (likely EOA) — storage slot results may be misleading.")