Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ships
2393ce16110a380d.binto the nodes'/pq-keysalongside the.xmssand.vrf, cut per host bypq-key-slice.pylike them.Teku finds a key's record in the
.xmsscache through the key set's.binnext to it: one 64-byte record per key, XMSS public key first (Consensys-Incorporated/teku#11719). Without it, the Teku nodes on devnet-0 found none of their keys in the cache and built every key's trees from its seed. That took 41 minutes to load 625 keys on teku-geth-1, so it missed genesis, followed by about an hour of skipped duties while bottom trees were built at the first duties. Lighthouse also reads a.binnext to the cache when it's there.Each host gets only its own validators' records, as with the other two files. The zero records elsewhere share one public parameter, so they identify no key.
Teku is also getting a fallback that needs no
.bin: it takes the genesis state's keys and finds each one's index by its VRF root in the.vrffile, as Lighthouse does (Consensys-Incorporated/teku#11721). With this change, an image without that fallback works too.