message: Don't use the deploy acceptor for fetching legacy deploys.
diff: @@ -68,7 +68,7 @@ use crate::{
  },
  types::{
  ApprovalsHashes, Block, BlockExecutionResultsOrChunk, BlockHash, BlockHeader, Chainspec,
  - ChainspecRawBytes, Deploy, DeployHash, DeployId, ExitCode, FetcherItem, FinalitySignature,
  + ChainspecRawBytes, Deploy, DeployId, ExitCode, FetcherItem, FinalitySignature,
  FinalitySignatureId, LegacyDeploy, NodeId, SyncLeap, TrieOrChunk,
  },
  unregister_metric,
  @@ -1068,50 +1068,13 @@ where
  }
  effects
  }
  - NetResponse::LegacyDeploy(ref serialized_item) => {
  - // Incoming LegacyDeploys should be routed to the `DeployAcceptor` rather than directly
  - // to the `DeployFetcher`.
  - let event = match bincode::deserialize::<FetchResponse<LegacyDeploy, DeployHash>>(
  + NetResponse::LegacyDeploy(ref serialized_item) => handle_fetch_response::<R, LegacyDeploy>(
  + reactor,
  + effect_builder,
  + rng,
  + sender,
  serialized_item,
  - ) {
  - // TODO: Should not go through deploy acceptor.
  - Ok(FetchResponse::Fetched(legacy_deploy)) => {
  - <R as Reactor>::Event::from(deploy_acceptor::Event::Accept {
  - deploy: Box::new(Deploy::from(legacy_deploy)),
  - source: Source::Peer(sender),
  - maybe_responder: None,
  - })
  - }
  - Ok(FetchResponse::NotFound(deploy_hash)) => {
  - info!(%sender, ?deploy_hash, "peer did not have deploy",);
  - <R as Reactor>::Event::from(fetcher::Event::<LegacyDeploy>::AbsentRemotely {
  - id: deploy_hash,
  - peer: sender,
  - })
  - }
  - Ok(FetchResponse::NotProvided(deploy_hash)) => {
  - warn!(
  - %sender,
  - %deploy_hash,
  - "peer refused to provide deploy, banning peer"
  - );
  - return effect_builder
  - .announce_disconnect_from_peer(sender)
  - .ignore();
  - }
  - Err(error) => {
  - warn!(
  - %sender,
  - %error,
  - "received a legacy deploy item we couldn't parse, banning peer",
  - );
  - return effect_builder
  - .announce_disconnect_from_peer(sender)
  - .ignore();
  - }
  - };
  - <R as Reactor>::dispatch_event(reactor, effect_builder, rng, event)
  - }
  + ),
  NetResponse::Deploy(ref serialized_item) => {
  // Incoming Deploys should be routed to the `DeployAcceptor` rather than directly to the
  // `DeployFetcher`.
  