EspressoSystems / hotshot-query-service

Generic query service for HotShot applications
https://espressosystems.github.io/hotshot-query-service/
GNU General Public License v3.0
5 stars 1 forks source link

Jb/sqlx #674

Closed jbearer closed 1 month ago

jbearer commented 3 months ago

See #271

This PR:

Primarily, decouples database transactions from the data source itself, in preparation for switching from tokio-postgres to SQLX.

Other significant changes:

This PR does not:

Key places to review:

I would look at everything, but I will comment on the diff where you can skip code that only moved locations, but didn't have significant changes. I recommend reviewing in the following "top-down" order: