Skip to content

Commit

Permalink
Drop address_change_broadcast (#5287)
Browse files Browse the repository at this point in the history
* Drop address_change_broadcast
  • Loading branch information
dapplion authored Feb 29, 2024
1 parent 88b37a1 commit 7b65d38
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 343 deletions.
322 changes: 0 additions & 322 deletions beacon_node/client/src/address_change_broadcast.rs

This file was deleted.

20 changes: 0 additions & 20 deletions beacon_node/client/src/builder.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use crate::address_change_broadcast::broadcast_address_changes_at_capella;
use crate::compute_light_client_updates::{
compute_light_client_updates, LIGHT_CLIENT_SERVER_CHANNEL_CAPACITY,
};
Expand Down Expand Up @@ -920,25 +919,6 @@ where
beacon_chain.slot_clock.clone(),
);
}

// Spawn a service to publish BLS to execution changes at the Capella fork.
if let Some(network_senders) = self.network_senders.clone() {
let inner_chain = beacon_chain.clone();
let broadcast_context =
runtime_context.service_context("addr_bcast".to_string());
let log = broadcast_context.log().clone();
broadcast_context.executor.spawn(
async move {
broadcast_address_changes_at_capella(
&inner_chain,
network_senders.network_send(),
&log,
)
.await
},
"addr_broadcast",
);
}
}

// Spawn service to publish light_client updates at some interval into the slot.
Expand Down
1 change: 0 additions & 1 deletion beacon_node/client/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
extern crate slog;

mod address_change_broadcast;
mod compute_light_client_updates;
pub mod config;
mod metrics;
Expand Down

0 comments on commit 7b65d38

Please sign in to comment.