diff --git a/crates/net/downloaders/src/file_client.rs b/crates/net/downloaders/src/file_client.rs index 3923597377ce..d49fb0a59a91 100644 --- a/crates/net/downloaders/src/file_client.rs +++ b/crates/net/downloaders/src/file_client.rs @@ -407,7 +407,6 @@ impl ChunkedFileReader { /// chunk to read. async fn read_next_chunk(&mut self) -> Result, io::Error> { 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 7c0f483b04f9..d216e0f575c5 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