do not compute storage root (+ changes root) when proving execution (#1246)

This commit is contained in:
Svyatoslav Nikolsky authored and Gav Wood committed 2018-12-12 10:35:37 +01:00
1 parent 20782baeef
commit c1b0fba486
2 files changed
+56 -30

No files matched your search

+8 -1
View File
@@ -235,7 +235,14 @@ where
method,
call_data,
manager,
).map_err(Into::into)
true,
)
.map(|(result, storage_tx, changes_tx)| (
result,
storage_tx.expect("storage_tx is always computed when compute_tx is true; qed"),
changes_tx,
))
.map_err(Into::into)
}
fn prove_at_trie_state<S: state_machine::TrieBackendStorage<Blake2Hasher>>(