1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use support_terminal::output;

use crate::command::types::{D2eCommand, InfoOpts};

pub async fn handle_info(opts: InfoOpts) -> color_eyre::Result<()> {
    match opts {
        InfoOpts::D2e { command } => handle_d2e(command).await,
    }
}

async fn handle_d2e(_command: D2eCommand) -> color_eyre::Result<()> {
    // let bridge_config: DarwiniaEthereumConfig = Config::restore(Names::BridgeDarwiniaEthereum)?;
    // let network = command.network;
    // let txblock = command.txblock;
    // let mmrblock = command.mmrblock;
    // let signblock = command.signblock;

    output::output_text("Not support now");
    Ok(())
}