Skip to content

storage: local-store contract should promise namespace isolation, not the host-side prefix #14

Description

@mfw78

The local-store rustdoc and docs pin the host-side namespacing mechanism (a fixed 32-byte keccak256(module_name) prefix, framed against ENS node derivation) as if it were the contract. Per review of the nullislabs/shepherd#294 local-store work, the specified guarantee should be namespace isolation between modules, not the specific prefix scheme, which is an implementation detail free to change.

Scope

  • Reword the local_store_redb module rustdoc and any spec/design docs so the contract promises only that modules see disjoint, non-forgeable namespaces.
  • Keep the keccak-prefix derivation as an internal implementation note, not part of the specified contract; drop the ADR-0003 / ENS-derivation framing from the contract text.

Done when

  • The local-store contract (docs and rustdoc) guarantees namespace isolation without naming the host-side prefix mechanism.

Metadata

Metadata

Assignees

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