Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ermalkaleci committed Sep 8, 2023
1 parent cac38f3 commit 2f2870f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/evm/src/runner/stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,7 @@ impl<'vicinity, 'config, T: Config> StackStateT<'config> for SubstrateStackState
}

fn reset_storage(&mut self, address: H160) {
// use drain_prefix to avoid wasm-bencher counting limit as write operation
<AccountStorages<T>>::drain_prefix(address).for_each(drop);
}

Expand Down

0 comments on commit 2f2870f

Please sign in to comment.