Skip to content

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 <naohiro.yoshida@datachain.jp>
@yoshidan yoshidan requested a review from 3100 November 14, 2024 06:04
) -> 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 <naohiro.yoshida@datachain.jp>
Signed-off-by: Naohiro Yoshida <naohiro.yoshida@datachain.jp>
@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.

3 participants