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 cert impls by marker #3891

Closed
wants to merge 1 commit into from
Closed

Split cert impls by marker #3891

wants to merge 1 commit into from

Conversation

bfish713
Copy link
Collaborator

Closes #<ISSUE_NUMBER>

This PR:

This PR does not:

Key places to review:

@tbro
Copy link
Contributor

tbro commented Nov 19, 2024

Closing since it has been pulled into #3867 (3dd314f). If we really need this one we can reopen.

@tbro tbro closed this Nov 19, 2024
tbro added a commit that referenced this pull request Nov 19, 2024
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
tbro added a commit that referenced this pull request Nov 20, 2024
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
tbro added a commit that referenced this pull request Nov 25, 2024
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 (see #3918)
  * 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 test from justfile

---------

Co-authored-by: tbro <[email protected]>
pls148 pushed a commit that referenced this pull request Dec 2, 2024
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
pls148 added a commit that referenced this pull request Dec 2, 2024
* 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]>
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.

2 participants