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

BEP-341 #30

Merged
merged 37 commits into from
Aug 14, 2024
Merged

BEP-341 #30

merged 37 commits into from
Aug 14, 2024

Conversation

yoshidan
Copy link
Contributor

@yoshidan yoshidan commented May 27, 2024

Naohiro Yoshida added 23 commits May 27, 2024 19:41
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
@yoshidan yoshidan changed the base branch from remove_non_neighboring_epoch_verify to HF/Bohr July 23, 2024 02:10
Naohiro Yoshida added 6 commits July 23, 2024 18:20
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
func (v Validators) Checkpoint(epoch uint64) uint64 {
return epoch + v.CheckpointValue()
func (v Validators) Checkpoint(turnLength uint8) uint64 {
return uint64(len(v)/2+1) * uint64(turnLength)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

}
num := int(extra[extraVanity])
if num == 0 || len(extra) <= extraVanity+extraSeal+num*validatorBytesLength {
return nil, fmt.Errorf("invalid validator bytes length: %d", h.Number.Uint64())
if num == 0 || len(extra) <= extraVanity+extraSeal+num*validatorBytesLength+turnLengthLength {
Copy link
Contributor Author

@yoshidan yoshidan Jul 30, 2024

Choose a reason for hiding this comment

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

@yoshidan yoshidan marked this pull request as ready for review July 30, 2024 01:46
Naohiro Yoshida added 3 commits July 30, 2024 11:15
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
@yoshidan yoshidan requested a review from 3100 July 30, 2024 05:38
Naohiro Yoshida added 2 commits August 10, 2024 11:08
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
@yoshidan yoshidan changed the base branch from HF/Bohr to develop August 14, 2024 07:59
Naohiro Yoshida added 2 commits August 14, 2024 17:00
Signed-off-by: Naohiro Yoshida <[email protected]>
Signed-off-by: Naohiro Yoshida <[email protected]>
@yoshidan yoshidan merged commit 178e7db into develop Aug 14, 2024
2 checks passed
@yoshidan yoshidan deleted the feature/bep-341-1 branch August 14, 2024 08:55
@yoshidan yoshidan mentioned this pull request Aug 14, 2024
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