mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
perf: avoid cloning bytecode when converting revm's &AccountInfo to reth's Account (#13126)
This commit is contained in:
@ -45,7 +45,7 @@ impl ExecutionWitnessRecord {
|
||||
let hashed_address = keccak256(address);
|
||||
self.hashed_state
|
||||
.accounts
|
||||
.insert(hashed_address, account.account.as_ref().map(|a| a.info.clone().into()));
|
||||
.insert(hashed_address, account.account.as_ref().map(|a| (&a.info).into()));
|
||||
|
||||
let storage = self
|
||||
.hashed_state
|
||||
|
||||
Reference in New Issue
Block a user