ITADN

add commit_ref to DatabaseCommit

#25014OpenZanCorDX 创建于 2026-06-08
C-enhancementS-needs-triageS-stale
Z
ZanCorDXcommented
### Describe the feature In some contexts we would like to keep the EVM execution result (EvmState = HashMap<Address, Account>) but DatabaseCommit::commit eats the state. To avoid expensive copies it would be really helpful to have some version DatabaseCommit::commit_ref(&mut self, evm_state: &HashMap<Address, Account>). ### Additional context _No response_
2 条评论