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

Configure supermajority threshold via envvars #471

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

bacv
Copy link
Member

@bacv bacv commented Oct 20, 2023

No description provided.

@bacv bacv added enhancement New feature or request node labels Oct 20, 2023
@bacv bacv added this to the Nomos testnet (playground) milestone Oct 20, 2023
@bacv bacv self-assigned this Oct 20, 2023
@danielSanchezQ
Copy link
Collaborator

What is this for exactly? FlatOverlay?

@bacv
Copy link
Member Author

bacv commented Oct 20, 2023

What is this for exactly? FlatOverlay?

Nomos node is now configured to use TreeOverlay, IIRC nomos node won't allow other overlays?

TreeOverlay<RoundRobin, RandomBeaconState>,

@danielSanchezQ
Copy link
Collaborator

What is this for exactly? FlatOverlay?

Nomos node is now configured to use TreeOverlay, IIRC nomos node won't allow other overlays?

TreeOverlay<RoundRobin, RandomBeaconState>,

But the threshold comes by default right? Or do we override it for testing?

@bacv
Copy link
Member Author

bacv commented Oct 20, 2023

Yes, this is just for testing, the default is 2/3:

/// A fraction representing the threshold in the form `<num>/<den>'
/// Defaults to 2/3
#[serde(with = "deser_fraction")]
#[serde(skip_serializing_if = "Option::is_none")]
pub super_majority_threshold: Option<Fraction>,

@bacv bacv force-pushed the node-supermajority-envvars branch from 040b78d to 9381a62 Compare October 23, 2023 14:58
Copy link
Contributor

@youngjoon-lee youngjoon-lee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@bacv bacv merged commit 7fcfe89 into master Oct 30, 2023
7 checks passed
@bacv bacv deleted the node-supermajority-envvars branch October 30, 2023 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request node
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants