Skip to content

Commit

Permalink
fix #31 state_diffs do not work for block 0
Browse files Browse the repository at this point in the history
  • Loading branch information
sslivkoff committed Aug 17, 2023
1 parent 50b7fa9 commit 954fb18
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/freeze/src/datasets/state_diffs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ pub(crate) async fn fetch_block_traces(
) -> mpsc::Receiver<BlockNumberTransactionsTraces> {
let (tx, rx) = mpsc::channel(block_chunk.size() as usize);
for number in block_chunk.numbers() {
if number == 0 {
continue
};
let tx = tx.clone();
let provider = source.provider.clone();
let semaphore = source.semaphore.clone();
Expand Down

0 comments on commit 954fb18

Please sign in to comment.