Skip to content

Devnet 4#97

Merged
uink45 merged 33 commits into
mainfrom
devnet-4
May 23, 2026
Merged

Devnet 4#97
uink45 merged 33 commits into
mainfrom
devnet-4

Conversation

@uink45
Copy link
Copy Markdown
Collaborator

@uink45 uink45 commented May 23, 2026

No description provided.

uink45 added 30 commits May 9, 2026 11:50
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).
uink45 added 3 commits May 18, 2026 20:02
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.
@uink45 uink45 merged commit 0b07901 into main May 23, 2026
5 checks passed
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.

1 participant