Skip to content

fix: disable custody backfill sync peer penalty for missing columns#48

Merged
eserilev merged 1 commit into
glamsterdam-devnet-4from
fix/disable-backfill-column-penalty
May 21, 2026
Merged

fix: disable custody backfill sync peer penalty for missing columns#48
eserilev merged 1 commit into
glamsterdam-devnet-4from
fix/disable-backfill-column-penalty

Conversation

@eserilev
Copy link
Copy Markdown
Owner

Problem

The custody backfill sync penalizes peers with MidToleranceError when they fail to serve columns ("Bad or missing columns for some slots"). In Gloas (ePBS), peers may legitimately not have columns available due to:

  1. The block/envelope decoupling — columns derive from the envelope which arrives separately
  2. Lodestar/Prysm may not have stored columns for early slots

This causes score decay and eventual bans in small devnets.

Fix

Remove the peer penalty entirely from the custody backfill sync path. Keep the debug log for visibility.

Testing

Tested on a 6-node Kurtosis devnet (2 Lighthouse, 2 Prysm, 2 Lodestar) with gloas_fork_epoch: 1 and preset: minimal. Without this fix, Lodestar peers get penalized immediately at epoch 5. With this fix, the network runs for 80+ epochs with zero peer score degradation.

The custody backfill sync was penalizing peers with MidToleranceError for
failing to serve columns. This causes false bans in Gloas (ePBS) where
peers may not have columns available due to the block/envelope decoupling.

Remove the penalty entirely - keep the debug log for visibility.
@eserilev eserilev merged commit 8c803d3 into glamsterdam-devnet-4 May 21, 2026
21 of 24 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