Skip to content

Detector: Storage key reused with different value types #794

Description

@Gbangbolaoluwagbemiga

Epic: Detectors (wave 3)

Summary

Add a static-analysis detector for storage key reused with different value types.

Background & Problem

The same key symbol read/written as different types corrupts data or panics on deserialize.

Acceptance Criteria

  • Flags a key used with conflicting value types.
  • Reports both sites.

Technical Notes

Follow the rule pattern in tooling/sanctifier-core/src/rules/ with an insta golden snapshot.


Filed as part of the mainnet-readiness & world-class roadmap. Scope is intentionally small enough for one focused PR; comment to claim.

Activity

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

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardarea: core-enginesanctifier-core static analysis enginedetectorNew or improved static-analysis detectordifficulty: mediumRequires domain knowledge, ~1-3 daystype: featureNew capability or enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions