Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: debug_proof #44

Merged
merged 2 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/commands/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub struct RunCmd {
#[clap(flatten)]
// pub reth_cmd: NodeCommand,
pub reth_cmd: RethCmd,
/// The log level of the node.
// /// The log level of the node.
// #[arg(
// long,
// value_name = "LOG_LEVEL",
Expand All @@ -32,7 +32,6 @@ pub struct RunCmd {
// ignore_case = true,
// )]
// pub log_level: LogLevel,

/// The settlement layer to use.
#[arg(
long,
Expand Down
2 changes: 1 addition & 1 deletion src/config/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ pub static GLOBAL_ENV: Lazy<GlobalEnv> = Lazy::new(|| GlobalEnv {
.unwrap_or("http://localhost:8001".to_string()),
debug_proof: std::env::var("DEBUG_PROOF")
.unwrap_or_else(|_| String::from("FALSE"))
.eq_ignore_ascii_case("FALSE"),
.eq_ignore_ascii_case("TRUE"),
});
2 changes: 1 addition & 1 deletion src/db/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use serde::Deserialize;
mod data_availability_db;
pub(crate) mod lfs;

/// TODO: we need a trait to abstract the database operations in order to support multiple databases
// TODO: we need a trait to abstract the database operations in order to support multiple databases

pub trait Database: Send + Sync {
fn get(&self, key: &[u8]) -> Option<Vec<u8>>;
Expand Down
3 changes: 1 addition & 2 deletions src/prover/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ pub struct ProverChannel {

//
// request_sender2: tokio::sync::broadcast::Sender<ProverRequest>,
/// final proof
// /// final proof
// final_proof_sender: Sender<Vec<u8>>,

/// used to stop the endpoint
stop_endpoint_tx: Sender<()>,
/// the address of the aggregator
Expand Down
4 changes: 3 additions & 1 deletion src/settlement/custom/methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ impl CustomClient {
"batches": batches
});

println!("body: {:?}", body);
log::debug!("sequence_batches body: {:?}", body);

let response = self
.client
Expand Down Expand Up @@ -419,6 +419,8 @@ impl CustomClient {
"input": input
});

log::debug!("verify_batches body: {:?}", body);

let response = self
.client
.post(format!("{}/verify-batches", self.url.clone()))
Expand Down
Loading