Skip to content

docs(backend): add documentation to storage store types#64

Merged
refcell merged 1 commit intomainfrom
reviewer-alpha/add-storage-docs
Feb 1, 2026
Merged

docs(backend): add documentation to storage store types#64
refcell merged 1 commit intomainfrom
reviewer-alpha/add-storage-docs

Conversation

@refcell
Copy link
Owner

@refcell refcell commented Feb 1, 2026

Summary

Adds doc comments to the public storage store types in kora-backend:

  • AccountStore: Documents account state storage (nonce, balance, code hash, generation)
  • StorageStore: Documents contract storage slot storage (address, generation, slot keys)
  • CodeStore: Documents contract bytecode storage (keyed by code hash)

Each doc comment explains:

  • What the store persists
  • Key/value encoding semantics
  • Trait implementations (QmdbGettable, QmdbBatchable)
  • Atomicity guarantees for writes

Add doc comments to AccountStore, StorageStore, and CodeStore explaining:
- What each store persists (account state, contract storage, bytecode)
- Key/value encoding semantics
- Trait implementations (QmdbGettable, QmdbBatchable)
- Atomicity guarantees
@refcell refcell merged commit cd6e32c into main Feb 1, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments