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

BELC1 #68

Merged
merged 3 commits into from
Nov 26, 2024
Merged

BELC1 #68

merged 3 commits into from
Nov 26, 2024

Conversation

yoshidan
Copy link
Contributor

@yoshidan yoshidan commented Nov 13, 2024

If the voters for a finalized header are untrusted, 1/3+ of the voters must be included in the trusted validator set.

Signed-off-by: Naohiro Yoshida <[email protected]>
@yoshidan yoshidan requested a review from 3100 November 14, 2024 06:04
current_epoch: &'a EitherEpoch,
) -> Result<(Option<&'a Epoch>, Option<&'b Epoch>), Error> {
current_epoch: &EitherEpoch,
) -> Result<Option<&Epoch>, Error> {
let hs: Vec<&ETHHeader> = self.all.iter().filter(|h| h.number >= checkpoint).collect();
match current_epoch {
// ex) t=200 then 200 <= h < 411 (c_val(200) can be borrowed by p_val)
Copy link
Member

Choose a reason for hiding this comment

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

Align the comments with the current logic.

Naohiro Yoshida added 2 commits November 26, 2024 12:02
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
@3100 3100 self-requested a review November 26, 2024 08:49
@3100 3100 merged commit bd83fed into develop Nov 26, 2024
1 check passed
@3100 3100 deleted the BELC1 branch November 26, 2024 11:19
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