pub fn create_delta_backend<'a, S, H>(
backend: &'a TrieBackend<S, H>,
delta: &'a BackendTransaction<H>,
post_delta_root: H::Out,
) -> TrieBackend<DeltaBackend<'a, S, H>, H>where
S: 'a + TrieBackendStorage<H>,
H: 'a + Hasher,
H::Out: Codec,
Expand description
Create a new trie backend with memory DB delta changes.
This can be used to verify any extrinsic-specific execution on the combined state of backend
and delta
.