Kintsugi rebase patches (#2769)

* Freshen Cargo.lock

* Fix gossip worker

* Update map_fork_name_with
This commit is contained in:
Paul Hauner 2021-11-03 18:37:23 +11:00
parent 6b4cc63b57
commit 86e0c56a38
No known key found for this signature in database
GPG Key ID: 5E2CFF9B75FA63DF
2 changed files with 5 additions and 1 deletions

View File

@ -755,7 +755,7 @@ impl<T: BeaconChainTypes> Worker<T> {
debug!(self.log, "Could not verify block for gossip, ignoring the block";
"error" => %e);
self.propagate_validation_result(message_id, peer_id, MessageAcceptance::Ignore);
return;
return None;
}
Err(e @ BlockError::StateRootMismatch { .. })
| Err(e @ BlockError::IncorrectBlockProposer { .. })

View File

@ -97,6 +97,10 @@ macro_rules! map_fork_name_with {
let (value, extra_data) = $body;
($t::Altair(value), extra_data)
}
ForkName::Merge => {
let (value, extra_data) = $body;
($t::Merge(value), extra_data)
}
}
};
}