Conversation
Bump external/c-lean-libp2p submodule pointer
Remove sync-related constants and the validator_should_pause_for_sync() function from src/core/client_validator.c and stop checking it in validator_service_should_run(), removing the validator pause-for-sync behavior. Add a new unit test (test_publish_attestations_ignores_peer_status_gate_inputs) to tests/unit/test_client_vote.c (plus monotonic_millis forward declaration and test runner entry) that verifies attestations are published despite stale or mismatched peer status inputs.
While SYNCING/SYNCED Lantern processes block, attestation, and aggregated- attestation gossip; while IDLE it drops all three before any import or pending-queue work. First peer Status known flips IDLE -> SYNCING using the spec's network_finalized_slot trigger. The IDLE-only parent-fetch suppression is removed so backfill requests fire whenever sync state is not IDLE. Aligns with leanSpec sync/service.py (on_gossip_block/attestation/ aggregated_attestation gated on accepts_gossip, _check_sync_trigger flips IDLE -> SYNCING on first known network finalized slot).
Bump external/c-lean-libp2p to a newer commit. Fix checkpoint traversal in src/consensus/state.c by moving the assignments of target_root and target_slot into the loop so the target is updated per-iteration (prevents incorrect/stale targets during checkpoint computation). Replace hard-coded datagram budgets in src/networking/libp2p.c with LIBP2P_QUIC_SERVICE_DEFAULT_DATAGRAM_BUDGET for both rx and tx, aligning with the libp2p default configuration.
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.
No description provided.