chore: move EventSender out of BeaconConsensusEngineHandle (#13533)

This commit is contained in:
Arsenii Kulikov
2024-12-24 02:44:19 +04:00
committed by GitHub
parent 6822d4f18b
commit c6d42ad8c4
5 changed files with 8 additions and 23 deletions

View File

@ -37,8 +37,7 @@ pub const fn test_address() -> SocketAddr {
pub async fn launch_auth(secret: JwtSecret) -> AuthServerHandle {
let config = AuthServerConfig::builder(secret).socket_addr(test_address()).build();
let (tx, _rx) = unbounded_channel();
let beacon_engine_handle =
BeaconConsensusEngineHandle::<EthEngineTypes>::new(tx, Default::default());
let beacon_engine_handle = BeaconConsensusEngineHandle::<EthEngineTypes>::new(tx);
let client = ClientVersionV1 {
code: ClientCode::RH,
name: "Reth".to_string(),