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

Prevent signing at or beyond high watermark #907

Merged
merged 3 commits into from
Sep 11, 2023

Conversation

siladu
Copy link
Contributor

@siladu siladu commented Sep 8, 2023

Prevent signing at or beyond high watermark for both blocks and attestations.

Part of #696 (comment)

(previously tracked on siladu#1)

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

Testing

  • I thought about testing these changes in a realistic/non-local environment.

@siladu siladu added the TeamCerberus Under active development by TeamCerberus @Consensys label Sep 8, 2023
}

@Test
public void blockCanSignWhenSlotIsAtOrBeyondHighWatermark() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this test be blockCanSignWhenSlotIsBelowHighWatermark?

Copy link
Contributor

@jframe jframe left a comment

Choose a reason for hiding this comment

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

LGTM

@siladu siladu merged commit f98bae7 into Consensys:master Sep 11, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TeamCerberus Under active development by TeamCerberus @Consensys
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants