Skip to content

Storage Slot Collision Detector for Unstructured Storage and Diamond Proxies #57

Description

@Fatimasanusi

Upgradable contracts and EIP-2535 Diamond Proxies frequently suffer from storage layout collisions where new implementation variables overwrite critical authorization flags or token balance storage slots. We need an automated layout diff engine that detects overlapping storage slots across implementation versions.

Acceptance Criteria:

  • Extract and parse contract storage layouts across implementation contract iterations.
  • Identify conflicting storage slot offsets, specifically targeting diamond facets and unstructured proxy storage locations.
  • Flag upgrade candidates that shift existing slot indexes without dedicated storage gap padding.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions