diff --git a/consensus/src/p2p/p2p_network_interface.rs b/consensus/src/p2p/p2p_network_interface.rs index 02acf7f..6ec8c17 100644 --- a/consensus/src/p2p/p2p_network_interface.rs +++ b/consensus/src/p2p/p2p_network_interface.rs @@ -14,7 +14,7 @@ pub struct P2pNetworkInterface { #[cfg_attr(target_arch = "wasm32", async_trait(?Send))] impl ConsensusNetworkInterface for P2pNetworkInterface { fn new(_path: &str) -> Self { - P2pNetworkInterface {} + unimplemented!() } async fn get_bootstrap(&self, _block_root: &'_ [u8]) -> Result { diff --git a/consensus/src/rpc/mod.rs b/consensus/src/rpc/mod.rs index e97eacb..c478f67 100644 --- a/consensus/src/rpc/mod.rs +++ b/consensus/src/rpc/mod.rs @@ -3,7 +3,6 @@ pub mod nimbus_rpc; use async_trait::async_trait; use eyre::Result; -use std::marker::{Sync, Send}; use crate::types::{BeaconBlock, Bootstrap, FinalityUpdate, OptimisticUpdate, Update};