validate_block
* Simple cache * Fix node insertion * Switch to hashbrown hashmap * Remove unused phantomdata * Return error when fetch_node fails * Remove cargo patches * Move trie cache to extra module * Add ReadOnceBackend * Add readonlybackend * Improve naming and get_or_insert * Stylistic improvements * Improve naming, add docs * Revert unwanted changes * Remove unused dependencies * Improve docs * Use RefCell * lockfile * Remove ReadOnceBackend * Apply suggestions from code review Co-authored-by: Bastian Köcher <git@kchr.de> * Code review * Do not use value cache when calculating storage roots * Apply suggestions from code review Co-authored-by: Davide Galassi <davxy@datawok.net> * Remove hash-db dep * Update pallets/parachain-system/src/validate_block/trie_cache.rs Co-authored-by: Anton <anton.kalyaev@gmail.com> --------- Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: Davide Galassi <davxy@datawok.net> Co-authored-by: Anton <anton.kalyaev@gmail.com>