chore: update revm and alloy primitives (#11235)

Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
This commit is contained in:
Matthias Seitz
2024-09-26 16:33:29 +02:00
committed by GitHub
parent 3a255a1cab
commit 6a7d8938c7
53 changed files with 254 additions and 230 deletions

View File

@ -133,7 +133,7 @@ where
let bundle_state = db.take_bundle();
// Initialize a map of preimages.
let mut state_preimages = HashMap::new();
let mut state_preimages = HashMap::default();
// Grab all account proofs for the data accessed during block execution.
//
@ -170,7 +170,10 @@ where
let state = state_provider.witness(Default::default(), hashed_state.clone())?;
// Write the witness to the output directory.
let response = ExecutionWitness { state, keys: Some(state_preimages) };
let response = ExecutionWitness {
state: std::collections::HashMap::from_iter(state),
keys: Some(state_preimages),
};
let re_executed_witness_path = self.save_file(
format!("{}_{}.witness.re_executed.json", block.number, block.hash()),
&response,