Skip to content

Commit

Permalink
Fix withdrawals without txns and add test for empty block (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nashtare authored May 16, 2024
1 parent 23ee01b commit afb9633
Show file tree
Hide file tree
Showing 3 changed files with 382 additions and 7 deletions.
2 changes: 1 addition & 1 deletion trace_decoder/src/decoding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ impl ProcessedBlockTrace {
let withdrawal_addrs =
withdrawals_with_hashed_addrs_iter().map(|(_, h_addr, _)| h_addr);
last_inputs.tries.state_trie = create_minimal_state_partial_trie(
&last_inputs.tries.state_trie,
&final_trie_state.state,
withdrawal_addrs,
iter::empty(),
)?;
Expand Down
Loading

0 comments on commit afb9633

Please sign in to comment.