This commit is contained in:
Eitan Seri-Levi
2025-01-07 13:24:29 +07:00
parent 30e9ff2a14
commit 63a26b1107
9 changed files with 39 additions and 34 deletions

View File

@@ -2165,15 +2165,16 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
};
}
// TODO(focil) unused variables
pub fn process_gossip_inclusion_list(
self: &Arc<Self>,
message_id: MessageId,
peer_id: PeerId,
_message_id: MessageId,
_peer_id: PeerId,
il: SignedInclusionList<T::EthSpec>,
seen_timestamp: Duration,
_seen_timestamp: Duration,
) {
match GossipVerifiedInclusionList::verify(&il, &self.chain) {
Ok(gossip_verified_il) => {
Ok(_gossip_verified_il) => {
debug!(self.log, "Successfully verified gossip inclusion list");
}
Err(err) => match err {

View File

@@ -541,8 +541,8 @@ impl<T: BeaconChainTypes> Router<T> {
bls_to_execution_change,
),
),
PubsubMessage::InclusionList(il) => {
// TODO
PubsubMessage::InclusionList(_il) => {
// TODO(focil)
}
}
}