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

Remove active validators crate #119

Merged
merged 6 commits into from Dec 13, 2018

Conversation

ralexstokes
Copy link
Contributor

Issue Addressed

None

Proposed Changes

Removes the active_validator crate.

Additional Info

I feel the functionality of this crate is not enough to warrant an entire crate. If someone else disagrees, we can talk it through -- I'm not too strongly attached but it was an easy PR to make.

If anything, I would prefer to see a struct Validators(Vec<ValidatorRecord>); newtype with methods like active_indices(&self) -> Vec<usize> and things like that. The newtype pattern adds a bit of overhead which at the moment I don't think is justified. If we get more and more instances where we want to talk about a group of validators then I would push harder for this.

@ralexstokes
Copy link
Contributor Author

And it looks like it branched off of #118 so sorry for duplicate commits :)

@paulhauner paulhauner merged commit fdca969 into sigp:master Dec 13, 2018
@paulhauner
Copy link
Member

Good call!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants