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

[Issue 4023] Migrate altair validator constants #4058

Conversation

mbaxter
Copy link
Contributor

@mbaxter mbaxter commented Jun 3, 2021

PR Description

Migrate altair constant to ValidatorConstants.

Fixed Issue(s)

Fixes #4023

Documentation

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

Changelog

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

@@ -68,7 +66,7 @@
private final BLSSignature nonAggregatorSignature =
BLSSignature.fromBytesCompressed(
Bytes.fromHexString(
"0xae401f767ab1917f925fe299ad51a57d52f7cc80deb1cc20fa2b3aa983e4e4d23056d79f01f3c97e29c8905da17e70e30c2a3f6bdd83dbc4ddf530e02e8f4d7ba22260e12e5f5fe7875b48e79660615b275597e87b2d33e076664b3da1737852"));
"0xce401f767ab1917f925fe299ad51a57d52f7cc80deb1cc20fa2b3aa983e4e4d23056d79f01f3c97e29c8905da17e70e30c2a3f6bdd83dbc4ddf530e02e8f4d7ba22260e12e5f5fe7875b48e79660615b275597e87b2d33e076664b3da1737852"));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The modulus math changed when I removed the customized value for TARGET_AGGREGATORS_PER_SYNC_SUBCOMMITTEE - just tweaked this variable until I found a value that would fail the SyncCommitteeUtil.isSyncCommitteeAggregator() check.

@mbaxter mbaxter marked this pull request as ready for review June 3, 2021 21:30
Copy link
Contributor

@ajsutton ajsutton left a comment

Choose a reason for hiding this comment

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

LGTM.

@mbaxter mbaxter merged commit 88b11d2 into Consensys:master Jun 3, 2021
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.

Altair - Update to split preset/config files
2 participants