mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-29 17:18:08 -05:00
fix(executor): do not insert empty changesets for touched accounts (#2631)
This commit is contained in:
@@ -431,7 +431,7 @@ pub fn commit_state_changes<DB>(
|
||||
Entry::Occupied(entry) => {
|
||||
let entry = entry.into_mut();
|
||||
|
||||
if matches!(entry.account_state, AccountState::NotExisting) {
|
||||
if entry.info.is_empty() {
|
||||
let account = to_reth_acc(&account.info);
|
||||
if !(has_state_clear_eip && account.is_empty()) {
|
||||
post_state.create_account(block_number, address, account);
|
||||
|
||||
Reference in New Issue
Block a user