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

Confusion around constants for t and n #969

Closed
ameba23 opened this issue Jul 30, 2024 · 2 comments
Closed

Confusion around constants for t and n #969

ameba23 opened this issue Jul 30, 2024 · 2 comments

Comments

@ameba23
Copy link
Contributor

ameba23 commented Jul 30, 2024

entropy-shared has the following constants:

pub const SIGNING_PARTY_SIZE: usize = 2;

pub const TOTAL_SIGNERS: u8 = 3;

pub const SIGNER_THRESHOLD: u8 = 2;

SIGNING_PARTY_SIZE is used by the registry pallet to check we have the right number of confirmations following network DKG.

But i would expect this to be 3, not 2. I think it would be good to have just two constants to avoid confusion.

@JesseAbram
Copy link
Member

yes Signing party size should be replaced by total signers and signer threshold, will add this to #941

@ameba23 ameba23 mentioned this issue Aug 1, 2024
2 tasks
@ameba23
Copy link
Contributor Author

ameba23 commented Aug 1, 2024

Fixed in #971

@ameba23 ameba23 closed this as completed Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants