1
2
3
4
5
6
7
8
9
use crate::bridge::DarwiniaEthereumTask;

pub async fn handle_start() -> color_eyre::Result<()> {
    tracing::info!("Start bridge darwinia-ropsten");
    let _task = DarwiniaEthereumTask::new().await?;
    loop {
        tokio::time::sleep(std::time::Duration::from_secs(1)).await;
    }
}