mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
trie: revamp trie updates (#9239)
This commit is contained in:
@ -30,7 +30,7 @@ pub fn calculate_state_root(c: &mut Criterion) {
|
||||
HashedStateChanges(db_state).write_to_db(provider_rw.tx_ref()).unwrap();
|
||||
let (_, updates) =
|
||||
StateRoot::from_tx(provider_rw.tx_ref()).root_with_updates().unwrap();
|
||||
updates.flush(provider_rw.tx_ref()).unwrap();
|
||||
updates.write_to_database(provider_rw.tx_ref()).unwrap();
|
||||
provider_rw.commit().unwrap();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user