Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split the VC into crates making it more modular #6453

Open
wants to merge 14 commits into
base: unstable
Choose a base branch
from

Conversation

AgeManning
Copy link
Member

Modularize the VC

The VC currently is built mostly as a single module. It self-references itself making it hard to modularize its components.

This PR splits the VC into multiple sub-crates that can be imported independently making it useful to external projects, but also making the type dependencies cleaner and the code more logically grouped.

@AgeManning
Copy link
Member Author

I modified the general config, to include some sub-configs (It was required in order to split up dependencies and avoid circular ones).

The only thing I can really foresee potentially breaking is serializing and de-serializing the validator config. I'm flattening the new inner configs, so I think it should behave the same, but I've not tested it.

@AgeManning AgeManning marked this pull request as ready for review October 21, 2024 22:02
@AgeManning AgeManning added the v6.0.0 New major release for hierarchical state diffs label Oct 28, 2024
@AgeManning AgeManning added the ready-for-review The code is ready for review label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-review The code is ready for review v6.0.0 New major release for hierarchical state diffs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants