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

Add Membership Catchup Mechanism #4109

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

Add Membership Catchup Mechanism #4109

wants to merge 11 commits into from

Conversation

bfish713
Copy link
Collaborator

@bfish713 bfish713 commented Feb 4, 2025

Closes #<ISSUE_NUMBER>

This PR:

This PR does not:

Key places to review:

@pls148 pls148 self-assigned this Feb 11, 2025
/// at the given block height
fn get_epoch_root(
&self,
block_height: u64,
Copy link
Contributor

Choose a reason for hiding this comment

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

can this be epoch rather than block_height?

I think this is the only function in Membership that uses block_height currently, and I think we should be doing the conversion ourselves

use utils::anytrace::Result;

use super::node_implementation::NodeType;
use crate::{traits::signature_key::SignatureKey, PeerConfig};

#[async_trait]
Copy link
Contributor

Choose a reason for hiding this comment

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

what was the reason for removing async_trait and returning impl Futures?

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.

3 participants