Skip to content

Audit and remove unused or write-only storage maps #2397

@Miracle0524

Description

@Miracle0524

Audit and remove unused or write-only storage maps

Summary

Several storage maps appear to be unused, write-only, or legacy and may unnecessarily inflate chain state.

Problem

  • Some storage maps are written to but never read.
  • Semantics of certain maps are unclear or legacy.
  • These maps contribute to silent chain bloat.

Known Candidates

  • NextStakeJobId
  • UsedWork
  • LargestLocked
    (NetworkModality tracked separately)

Expected Outcome

  • Audit of read usage for suspected storage maps.
  • Removal or migration of unused storage.
  • Reduced chain state size and complexity.

Context

Filed at the request of Rhef to enable agreement with Nucleus and supervised cleanup work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions