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

Validate SyncCommitteeSignatureSet #2617

Merged
merged 3 commits into from Jun 3, 2021
Merged

Conversation

dapplion
Copy link
Contributor

@dapplion dapplion commented Jun 2, 2021

Motivation

See #2610

Description

Closes #2610

@codeclimate
Copy link

codeclimate bot commented Jun 2, 2021

Code Climate has analyzed commit c40e91a and detected 0 issues on this pull request.

View more on Code Climate.

@dapplion dapplion force-pushed the dapplion/synccommitte-sigset branch from 89dd4e3 to 0cdcb53 Compare June 2, 2021 10:54
@dapplion dapplion force-pushed the dapplion/synccommitte-sigset branch from 0cdcb53 to c3432ec Compare June 2, 2021 11:31
@dapplion dapplion merged commit 5554cd1 into master Jun 3, 2021
@dapplion dapplion deleted the dapplion/synccommitte-sigset branch June 3, 2021 07:15
): ISignatureSet | null {
const {config, epochCtx} = state;

const previousSlot = Math.max(state.slot, 1) - 1;
Copy link
Contributor

Choose a reason for hiding this comment

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

@dapplion previousSlot should be from Math.max(block.slot, 1) - 1

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good pick!

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.

Add SyncCommittee signature set in all block sigs
2 participants