mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: remove an intermediate allocation in ExecutionOutcome (#10900)
This commit is contained in:
@ -107,7 +107,7 @@ impl<C: ChainSpecParser<ChainSpec = ChainSpec>> Command<C> {
|
||||
Default::default(),
|
||||
)?;
|
||||
let alloc = &self.env.chain.genesis().alloc;
|
||||
insert_genesis_state(&provider_rw, alloc.len(), alloc.iter())?;
|
||||
insert_genesis_state(&provider_rw, alloc.iter())?;
|
||||
}
|
||||
StageEnum::AccountHashing => {
|
||||
tx.clear::<tables::HashedAccounts>()?;
|
||||
|
||||
Reference in New Issue
Block a user