Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add randomized Membership impls for testing (#3863)
* replace calls to Memberships Delete Memberships and replace functionality. Add some methods to `Membership` trait to deal w/ collapsing into one type both kinds of memberships (stake and DA). * avoid passing membership into `is_valid_cert * for DA, avoid proxying threshold through `Threshold` trait * remove `Topic` param from `Membership::new * Split cert impls by marker (#3891) * add membership methods to Cert trait * remove non-existent tests from justfile * cleanup * conflict resolution * revert some unnecessary name changes We can keep the old name where we only have one membership type to keep the diff smaller. * Leaders are Leaders Always use quorum for leader selection * Add randomized committees for testing * add randomized overlap committee generator * Add epoch to threshold functions to allow dynamically sized committees * rework randomized_committee_members to work with flattened Membership * fix lingering da_leader things --------- Co-authored-by: tbro <[email protected]>
- Loading branch information