From 0b0a8298dad7a5891ec92c30a3b09eb368f1280b Mon Sep 17 00:00:00 2001 From: Renan Santos Date: Mon, 24 Jun 2024 16:09:32 -0300 Subject: [PATCH] weird --- offchain/host-runner/src/config.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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,