Skip to content

chore: migrate store to framework - #2473

Open
SantiagoPittella wants to merge 1 commit into
nextfrom
santiagopittella-move-store-off-diesel
Open

chore: migrate store to framework#2473
SantiagoPittella wants to merge 1 commit into
nextfrom
santiagopittella-move-store-off-diesel

Conversation

@SantiagoPittella

Copy link
Copy Markdown
Collaborator

I'm extremely sorry about the size of the diff. We can reduce the diff size by split in different chunks but that will make the node not to work until all of the PRs are merged. Also thought of using a feature branch and merging little PRs there, but if that branch diverges from next the conflicts can become a real pain (though maybe we prefer that pain over this diff). Let me know what do you think.

Summary

This PR mgirates the store crate to the SQLite framework that we previously introduced, and moves off of diesel. It copies the structure of the other crates, with a query dir and a folder-per-query. Most of the changes are just moving things around.

The actual removal of the diesel dependency and our helpers is going to be done in a follow up PR.

Changelog

changelog = "none"
reason    = "Internal change only."

@SantiagoPittella
SantiagoPittella force-pushed the santiagopittella-move-store-off-diesel branch from 3cbead5 to 3055231 Compare August 14, 2026 14:39
@SantiagoPittella
SantiagoPittella force-pushed the santiagopittella-move-store-off-diesel branch from 3055231 to 4e225c9 Compare August 14, 2026 20:51
@SantiagoPittella
SantiagoPittella force-pushed the santiagopittella-move-store-off-diesel branch from 4e225c9 to 59ba90f Compare August 18, 2026 15:57
@SantiagoPittella
SantiagoPittella force-pushed the santiagopittella-move-store-off-diesel branch 2 times, most recently from 5d0d589 to 2f58517 Compare August 18, 2026 16:02
@SantiagoPittella
SantiagoPittella force-pushed the santiagopittella-move-store-off-diesel branch from 2f58517 to 8acbacc Compare August 19, 2026 13:04
Base automatically changed from santiagopittella-prep-store-migration to next August 19, 2026 13:56
@Mirko-von-Leipzig
Mirko-von-Leipzig force-pushed the santiagopittella-move-store-off-diesel branch from 8acbacc to 721a2e6 Compare August 19, 2026 13:56
@Mirko-von-Leipzig

Copy link
Copy Markdown
Collaborator

I'm extremely sorry about the size of the diff. We can reduce the diff size by split in different chunks but that will make the node not to work until all of the PRs are merged

Is the problem that we cannot have both a rusqlite pool, and a diesel pool? I thought perhaps one could migrate one function/rpc call at a time if we support both for the transition?

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.

2 participants