Discussion draft: change DB Writer to take value references (#13672)

This commit is contained in:
James Prestwich
2025-01-07 12:38:09 -05:00
committed by GitHub
parent 2b301aa102
commit 3e980e61d8
41 changed files with 149 additions and 137 deletions

View File

@ -80,7 +80,7 @@ where
let block = block.clone().seal_slow();
provider_rw.append_blocks_with_state(
vec![block],
execution_outcome,
&execution_outcome,
Default::default(),
Default::default(),
)?;
@ -214,7 +214,7 @@ where
let provider_rw = provider_factory.provider_rw()?;
provider_rw.append_blocks_with_state(
vec![block1.clone(), block2.clone()],
execution_outcome.clone(),
&execution_outcome,
Default::default(),
Default::default(),
)?;