Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: scrap HomeDB for generalized OpticsDB #902

Merged
merged 7 commits into from
Oct 23, 2021
Merged

Conversation

luketchang
Copy link
Contributor

@luketchang luketchang commented Oct 15, 2021

As we move to storing replica chain state as well, the concept of HomeDB that contains home_name just isn't as useful anymore. This PR replaces it with more general OpticsDB which will store any on-chain data for a home or a replica. The main difference is that every load/store is associated with an entity name (home or replica name).

Closes #900
For #899

@luketchang luketchang added rust 🦀 Rust dev work required refactor redesign or restructure agents Relating to rust agents labels Oct 15, 2021
@luketchang luketchang self-assigned this Oct 15, 2021
@luketchang luketchang changed the title WIP: refactor db to support generalized stores between home OR replica refactor: scrap HomeDB for generalized OpticsDB Oct 17, 2021
@luketchang luketchang marked this pull request as ready for review October 17, 2021 05:58
@luketchang luketchang requested a review from emberian as a code owner October 17, 2021 05:58
@luketchang luketchang merged commit ea32adf into main Oct 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agents Relating to rust agents refactor redesign or restructure rust 🦀 Rust dev work required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

refactor: create more generalized db interface for storing home and replica data
2 participants