perf(engine): return sorted data from compute_trie_input (#19340)

This commit is contained in:
YK
2025-11-20 00:01:24 +08:00
committed by GitHub
parent a72c1dab88
commit e58aa09f82
17 changed files with 501 additions and 139 deletions

View File

@@ -372,8 +372,8 @@ pub trait LoadPendingBlock:
Ok(ExecutedBlock {
recovered_block: block.into(),
execution_output: Arc::new(execution_outcome),
hashed_state: Arc::new(hashed_state),
trie_updates: Arc::new(trie_updates),
hashed_state: Arc::new(hashed_state.into_sorted()),
trie_updates: Arc::new(trie_updates.into_sorted()),
})
}
}