feat(eecutor): send EvmState in state hook (#13025)

This commit is contained in:
Federico Gimenez
2024-11-30 13:37:05 +01:00
committed by GitHub
parent 0ff2827a79
commit 489d4e8595
5 changed files with 46 additions and 60 deletions

View File

@ -221,7 +221,7 @@ where
?transaction,
"Executed transaction"
);
self.system_caller.on_state(&result_and_state);
self.system_caller.on_state(&result_and_state.state);
let ResultAndState { result, state } = result_and_state;
evm.db_mut().commit(state);