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.")