0xPolygonMiden / miden-node

Reference implementation of the node for the Polygon Miden rollup
MIT License
53 stars 37 forks source link

store: consider typed sqlite getters using an extension trait #442

Open Mirko-von-Leipzig opened 3 months ago

Mirko-von-Leipzig commented 3 months ago

Meta: something to consider is adding typed getters using an extension trait for the sqlite row. We did something similar in pathfinder here which I think added quite a lot in terms of consistency and readability.

_Originally posted by @Mirko-von-Leipzig in https://github.com/0xPolygonMiden/miden-node/pull/421#discussion_r1706746602_