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

This commit is contained in:
Svyatoslav Nikolsky
2018-12-12 12:35:37 +03:00
committed by Gav Wood
parent 20782baeef
commit c1b0fba486
2 changed files with 56 additions and 30 deletions
+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>>(