Don't Penalize Early bls_to_execution_change
This commit is contained in:
parent
d9dd9b43ee
commit
05c1291d8a
@ -1217,11 +1217,13 @@ impl<T: BeaconChainTypes> Worker<T> {
|
|||||||
);
|
);
|
||||||
self.propagate_validation_result(message_id, peer_id, MessageAcceptance::Reject);
|
self.propagate_validation_result(message_id, peer_id, MessageAcceptance::Reject);
|
||||||
// We penalize the peer slightly to prevent overuse of invalids.
|
// We penalize the peer slightly to prevent overuse of invalids.
|
||||||
self.gossip_penalize_peer(
|
if !matches!(e, BeaconChainError::BlsToExecutionChangeBadFork(_)) {
|
||||||
peer_id,
|
self.gossip_penalize_peer(
|
||||||
PeerAction::HighToleranceError,
|
peer_id,
|
||||||
"invalid_bls_to_execution_change",
|
PeerAction::HighToleranceError,
|
||||||
);
|
"invalid_bls_to_execution_change",
|
||||||
|
);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user