diff --git a/crates/net/downloaders/src/file_client.rs b/crates/net/downloaders/src/file_client.rs index eaf39267755f..c0d03702a94a 100644 --- a/crates/net/downloaders/src/file_client.rs +++ b/crates/net/downloaders/src/file_client.rs @@ -398,7 +398,6 @@ impl ChunkedFileReader { T: FromReader, { if self.file_byte_len == 0 && self.chunk.is_empty() { - dbg!(self.chunk.is_empty()); // eof return Ok(None) } diff --git a/crates/optimism/cli/src/commands/import_receipts.rs b/crates/optimism/cli/src/commands/import_receipts.rs index cf3f6cf0de27..11b5667ff056 100644 --- a/crates/optimism/cli/src/commands/import_receipts.rs +++ b/crates/optimism/cli/src/commands/import_receipts.rs @@ -216,9 +216,6 @@ where debug_assert!(genesis_receipts.is_empty()); // this ensures the execution outcome and static file producer start at block 1 first_block = 1; - // we don't count this as decoded so the partial import check later does not error if - // this branch is executed - total_decoded_receipts -= 1; // safe because chunk will be `None` if empty } // We're reusing receipt writing code internal to