Skip to content

Commit

Permalink
weird
Browse files Browse the repository at this point in the history
  • Loading branch information
renan061 committed Jun 24, 2024
1 parent 4172eeb commit 0b0a829
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions offchain/host-runner/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -65,8 +66,8 @@ impl From<CLIConfig> 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,
Expand Down

0 comments on commit 0b0a829

Please sign in to comment.