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.97k stars 523 forks source link

Use mina version wisely #15638

Open georgeee opened 1 month ago

georgeee commented 1 month ago

Problem: Module mina_version uses mina_version.normal as the default implementation which causes recompilation of most of the project on every commit.

Solution:

This PR also makes mina_version_compiled a separate package (not part of mina_version). While this is unnecessary for the purpose of PR, it eases dependency analysis on package level vs. library level. This is useful for some work that will be introduced in follow-up PRs.

Explain how you tested your changes:

Checklist: