Skip to content

Commit

Permalink
Also prune storage if account is removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Nashtare committed Aug 8, 2024
1 parent 7576e05 commit 17f9fa5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions trace_decoder/src/decoding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,8 @@ impl ProcessedBlockTrace {
.state
.delete(val_k)
.map_err(TraceParsingError::from)?;

let _ = trie_state.storage.remove(hashed_acc_addr);
} else {
trie_state
.state
Expand Down

0 comments on commit 17f9fa5

Please sign in to comment.