diff --git a/offchain/host-runner/src/config.rs b/offchain/host-runner/src/config.rs index a052ebb70..fc73c48df 100644 --- a/offchain/host-runner/src/config.rs +++ b/offchain/host-runner/src/config.rs @@ -5,13 +5,14 @@ use clap::Parser; use log::{LogConfig, LogEnvCliConfig}; const DEFAULT_ADDRESS: &str = "0.0.0.0"; + #[derive(Debug, Clone)] pub struct Config { pub log_config: LogConfig, pub grpc_server_manager_address: String, pub grpc_server_manager_port: u16, - pub http_inspect_address: String, - pub http_inspect_port: u16, + // pub http_inspect_address: String, + // pub http_inspect_port: u16, pub http_rollup_server_address: String, pub http_rollup_server_port: u16, pub finish_timeout: u64, @@ -65,8 +66,8 @@ impl From for Config { log_config: cli_config.log_config.into(), grpc_server_manager_address: cli_config.grpc_server_manager_address, grpc_server_manager_port: cli_config.grpc_server_manager_port, - http_inspect_address: cli_config.http_inspect_address, - http_inspect_port: cli_config.http_inspect_port, + // http_inspect_address: cli_config.http_inspect_address, + // http_inspect_port: cli_config.http_inspect_port, http_rollup_server_address: cli_config.http_rollup_server_address, http_rollup_server_port: cli_config.http_rollup_server_port, finish_timeout: cli_config.finish_timeout,