MinaProtocol / mina

Mina is a cryptocurrency protocol with a constant size blockchain, improving scaling while maintaining decentralization and security.
https://minaprotocol.com
Apache License 2.0
1.98k stars 525 forks source link

Integrate Persistent_frontier.Database with versioning system #3736

Closed nholland94 closed 1 week ago

nholland94 commented 4 years ago

https://github.com/CodaProtocol/coda/pull/3439 added Persistent_frontier.Database, which is currently unversioned. The database already has the concept of a version baked into it (storing a version in the db so that migrations can be performed in the future), but this version is just hard coded to 1 right now. This should be integrated into the ppx versioning system we are using, if possible.l

nholland94 commented 3 years ago

We need to do this if we ever do any changes to the database representation, but this can wait until that day comes.

psteckler commented 3 years ago

The change proposed in #8372 should make this simple.

mrmr1993 commented 1 week ago

Done in c42aaf6689c. Closing.