diff --git a/Dockerfile b/Dockerfile index 179981da6..f407fb38d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,9 +10,9 @@ RUN apt-get update && \ rm -rf /var/lib/apt/lists/* # risc0 dependencies -RUN curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash -RUN cargo binstall -y --force cargo-risczero -RUN cargo risczero install +# RUN curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash +# RUN cargo binstall -y --force cargo-risczero +# RUN cargo risczero install WORKDIR /opt/raiko COPY . . diff --git a/host/src/bin/main.rs b/host/src/bin/main.rs index f064b5ccc..4acb30101 100644 --- a/host/src/bin/main.rs +++ b/host/src/bin/main.rs @@ -2,7 +2,7 @@ use std::path::PathBuf; use raiko_host::{interfaces::error::HostResult, server::serve, ProverState}; -use tracing::debug; +use tracing::info; use tracing_appender::{ non_blocking::WorkerGuard, rolling::{Builder, Rotation}, @@ -13,15 +13,16 @@ use tracing_subscriber::FmtSubscriber; async fn main() -> HostResult<()> { env_logger::init(); let state = ProverState::init()?; - debug!("Start config:\n{:#?}", state.opts.proof_request_opt); - debug!("Args:\n{:#?}", state.opts); - let _guard = subscribe_log( &state.opts.log_path, &state.opts.log_level, state.opts.max_log, ); + info!("Supported chains: {:?}", state.chain_specs); + info!("Start config:\n{:#?}", state.opts.proof_request_opt); + info!("Args:\n{:#?}", state.opts); + serve(state).await?; Ok(()) } diff --git a/host/src/lib.rs b/host/src/lib.rs index 2c8bf245f..4a16ab52f 100644 --- a/host/src/lib.rs +++ b/host/src/lib.rs @@ -160,7 +160,6 @@ impl ProverState { } else { SupportedChainSpecs::default() }; - info!("Supported chains: {:?}", chain_specs); // Check if the cache path exists and create it if it doesn't. if let Some(cache_path) = &opts.cache_path { diff --git a/rust-toolchain b/rust-toolchain index 1ab6e4e1d..473a92993 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -nightly-2024-04-17 \ No newline at end of file +nightly-2024-02-06 \ No newline at end of file