Update gnosis chain bootnodes - #4979
Merged
Merged
Conversation
wemeetagain
approved these changes
Jan 5, 2023
Contributor
Performance Report鉁旓笍 no performance regression detected Full benchmark results
|
This was referenced Aug 2, 2023
lodekeeper
added a commit
to lodekeeper/lodestar
that referenced
this pull request
Mar 18, 2026
Implements alternative to consensus-specs#4992 for addressing ChainSafe#4979's epoch-boundary PTC bug with minimal state changes. Spec: lodekeeper/consensus-specs@feat/minimal-ptc-caching Changes: - Add previousPtc field to gloas BeaconState SSZ type (~4KB, single Vector) - New processPtcUpdate() called at START of process_epoch, before effective balance updates alter the weighted selection - New computePayloadTimelinessCommitteeAtSlot() for on-demand single-slot PTC computation (extracted from epoch-batch computation) - EpochCache: replace previousPayloadTimelinessCommittees (full epoch array) with previousEpochLastSlotPtc (single Uint32Array) - getPayloadTimelinessCommittee() returns cached previousEpochLastSlotPtc for epoch-boundary case, epochCtx cache for current epoch - Initialize previousPtc to zeros in upgradeStateToGloas and genesis - Update specrefs for compute_ptc, get_ptc, process_ptc_update Key design decisions: - No per-slot state rotation (unlike ChainSafe#4992) - Only the last slot of the previous epoch is cached in state because process_payload_attestation enforces data.slot + 1 == state.slot - All epoch PTCs still computed eagerly in epochCtx for duties API - get_ptc_assignment preserved (unlike ChainSafe#4992 which removed it) Co-authored-by: Nico Flaig <nflaig@users.noreply.github.com>
lodekeeper
added a commit
to lodekeeper/lodestar
that referenced
this pull request
Mar 31, 2026
Implements consensus-specs v1.7.0-alpha.4 PTC window changes: - Add ptcWindow field to Gloas BeaconState (Vector[Vector[ValidatorIndex, PTC_SIZE], (2+MIN_SEED_LOOKAHEAD)*SLOTS_PER_EPOCH]) - Add computePtc, computeBalanceWeightedSelection, computeBalanceWeightedAcceptance helpers - Add processPtcWindow epoch processing (runs after processProposerLookahead) - Add initializePtcWindow for fork transition and genesis - Update epochCache.getPayloadTimelinessCommittee to read from state.ptcWindow (read-through) - Remove independently-computed PTC arrays from epochCache - Update compute_balance_weighted_acceptance signature (alpha.4 perf optimization) Spec refs: consensus-specs PRs ChainSafe#4979, ChainSafe#5044
wemeetagain
pushed a commit
that referenced
this pull request
Apr 21, 2026
This implements minimal changes to pass `alpha.4` spec tests - adds `ptc_window` to state based on [#4979](ethereum/consensus-specs#4979) - bump spec to `v1.7.0-alpha.4` - update ethspecify - misc changes to pass spec tests **NOTE:** this does not implement any other changes from alpha.4 besides ethereum/consensus-specs#4979 --------- Co-authored-by: NC <17676176+ensi321@users.noreply.github.com>
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.
Motivation
Update deprecated Gnosis bootnodes, from commit gnosischain/configs@e504927
Description