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

beefy fetch justification test #2091

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

beefy fetch justification test #2091

wants to merge 2 commits into from

Conversation

turuslan
Copy link
Contributor

Referenced issues

Description of the Change

  • fetch missing beefy justifications

Possible Drawbacks

Signed-off-by: turuslan <turuslan.devbox@gmail.com>
@igor-egorov igor-egorov self-requested a review May 15, 2024 07:14
@Harrm Harrm self-requested a review May 15, 2024 09:20
#include "consensus/beefy/types.hpp"

namespace kagome::consensus::beefy {
class FetchJustification {
Copy link
Contributor

Choose a reason for hiding this comment

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

Please comment.

@@ -394,7 +397,17 @@ namespace kagome::network {
}
++next_digest_;
}
if (sessions_.size() > 1 and sessions_.begin()->first <= beefy_finalized_) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is only the first session checked?

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.

None yet

3 participants