Skip to content

refactor: storage.rs is never wired into the crate — dead code #220

Description

@shakurJJ

contracts/chainsetttle/src/storage.rs (585 lines) implements a storage layer, but there is no mod storage; declaration anywhere in lib.rs — the file is not part of the compiled crate at all. All storage access currently happens inline in lib.rs via env.storage() calls.

Acceptance criteria:

  • Decide whether storage.rs should be wired in (as the storage abstraction layer) or deleted as dead code
  • Implement the decision
  • cargo build and cargo test still pass

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions