diff --git a/Cargo.lock b/Cargo.lock index b3ca7eb..14d8a45 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5248,6 +5248,7 @@ dependencies = [ "reth-primitives", "rsp-client-executor", "rsp-host-executor", + "serde", "serde_json", "sp1-helper", "sp1-sdk", diff --git a/Cargo.toml b/Cargo.toml index 19883ad..e6eaf88 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ tokio = { version = "1.21", default-features = false, features = [ "rt-multi-thread", ] } serde_json = "1.0.94" -serde = { version = "1.0", default-features = false } +serde = { version = "1.0", default-features = false, features = ["derive"] } futures = "0.3" url = "2.3" thiserror = "1.0.61" diff --git a/bin/host/Cargo.toml b/bin/host/Cargo.toml index 427418b..b872196 100644 --- a/bin/host/Cargo.toml +++ b/bin/host/Cargo.toml @@ -11,6 +11,7 @@ tracing-subscriber = "0.3.18" dotenv = "0.15.0" clap = { version = "4.5.7", features = ["derive", "env"] } serde_json.workspace = true +serde.workspace = true bincode = "1.3.3" csv = "1.1" # workspace diff --git a/bin/host/src/execute.rs b/bin/host/src/execute.rs index 2f39154..7b19be8 100644 --- a/bin/host/src/execute.rs +++ b/bin/host/src/execute.rs @@ -59,8 +59,6 @@ pub fn process_execution_report( kzg_point_eval_cycles, }; - let report_file_exists = report_path.exists(); - // Open the file for appending or create it if it doesn't exist let file = OpenOptions::new().append(true).create(true).open(report_path)?;