Skip to content

Commit

Permalink
apply stubbed availablity check for parent
Browse files Browse the repository at this point in the history
  • Loading branch information
Tumas committed May 17, 2024
1 parent 53dde91 commit db6cd05
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fork_choice_control/src/mutator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,9 @@ where
let missing_column_indices =
self.store.indices_of_missing_data_columns(&parent.block);

if missing_column_indices.len() * 2 < NumberOfColumns::USIZE {
if missing_column_indices.len() * 2 < NumberOfColumns::USIZE
|| !self.store.is_forward_synced()
{
self.retry_block(wait_group, pending_block);
} else {
info!(
Expand Down
4 changes: 4 additions & 0 deletions grandine/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ impl Context {
)?
};

Feature::DebugP2p.enable();

log::info!("CHAIN CONFIG: {chain_config:#?}");

let eth1_chain = Eth1Chain::new(
chain_config.clone_arc(),
eth1_config.clone_arc(),
Expand Down

0 comments on commit db6cd05

Please sign in to comment.