Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Dec 6, 2024
1 parent f1fc60d commit 71ec498
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion proposer/succinct/bin/server.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
use alloy_primitives::{hex, Address, B256};
use anyhow::Result;
use axum::{
extract::{DefaultBodyLimit, Path, State},
http::StatusCode,
response::{IntoResponse, Response},
routing::{get, post},
Json, Router,
};
use anyhow::Result;
use log::info;
use op_succinct_client_utils::{
boot::{hash_rollup_config, BootInfoStruct},
Expand Down
5 changes: 4 additions & 1 deletion scripts/prove/bin/agg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ use anyhow::Result;
use cargo_metadata::MetadataCommand;
use clap::Parser;
use op_succinct_client_utils::{boot::BootInfoStruct, types::u32_to_u8};
use op_succinct_host_utils::{fetcher::{OPSuccinctDataFetcher, RunContext}, get_agg_proof_stdin};
use op_succinct_host_utils::{
fetcher::{OPSuccinctDataFetcher, RunContext},
get_agg_proof_stdin,
};
use sp1_sdk::{
utils, HashableKey, ProverClient, SP1Proof, SP1ProofWithPublicValues, SP1VerifyingKey,
};
Expand Down
3 changes: 2 additions & 1 deletion utils/host/src/rollup_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ pub fn get_rollup_config_path(l2_chain_id: u64, run_context: RunContext) -> Resu
Ok(rollup_config_path.into())
}
RunContext::Docker => {
let rollup_config_path = PathBuf::from(format!("/usr/local/configs/{}/rollup.json", l2_chain_id));
let rollup_config_path =
PathBuf::from(format!("/usr/local/configs/{}/rollup.json", l2_chain_id));
Ok(rollup_config_path)
}
}
Expand Down

0 comments on commit 71ec498

Please sign in to comment.