Skip to content

Commit 6ea5f14

Browse files
feat: better error message for light_client/bootstrap endpoint (#7597)
Fixes #7229
1 parent 522e00f commit 6ea5f14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beacon_node/beacon_chain/src/light_client_server_cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ impl<T: BeaconChainTypes> LightClientServerCache<T> {
374374
let Some(current_sync_committee_branch) = store.get_sync_committee_branch(block_root)?
375375
else {
376376
return Err(BeaconChainError::LightClientBootstrapError(format!(
377-
"Sync committee branch for block root {:?} not found",
377+
"Sync committee branch for block root {:?} not found. This typically occurs when the block is not a finalized checkpoint. Light client bootstrap is only supported for finalized checkpoint block roots.",
378378
block_root
379379
)));
380380
};

0 commit comments

Comments
 (0)