pub mod types;
use hotshot::helpers::initialize_logging;
use hotshot_example_types::state_types::TestTypes;
use tracing::instrument;
use crate::infra::{read_orchestrator_init_config, run_orchestrator, OrchestratorArgs};
#[path = "../infra/mod.rs"]
pub mod infra;
#[tokio::main]
#[instrument]
async fn main() {
initialize_logging();
let (config, orchestrator_url) = read_orchestrator_init_config::<TestTypes>();
run_orchestrator::<TestTypes>(OrchestratorArgs::<TestTypes> {
url: orchestrator_url.clone(),
config: config.clone(),
})
.await;
}