Companion for new trie cache (#1361)

* Update branch

* Make it compile

* Update Substrate

* Revert "Update branch"

This reverts commit 7b0278160a09312fc6501e0a31923c5a8d8f8c56.

* FMT

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: parity-processbot <>
This commit is contained in:
Bastian Köcher
2022-08-19 00:02:08 +02:00
committed by GitHub
parent 807db6ff0d
commit baa1c3600c
8 changed files with 275 additions and 268 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ impl RelayStateSproofBuilder {
) -> (polkadot_primitives::v2::Hash, sp_state_machine::StorageProof) {
let (db, root) = MemoryDB::<HashFor<polkadot_primitives::v2::Block>>::default_with_root();
let state_version = Default::default(); // for test using default.
let mut backend = sp_state_machine::TrieBackend::new(db, root);
let mut backend = sp_state_machine::TrieBackendBuilder::new(db, root).build();
let mut relevant_keys = Vec::new();
{