Add digest subtypes and update dependencies (#2734)

* Add different digest types for different parts of the code

* Add script to update dependencies

* Remove an old changelog

* `Inherent` → `PreRuntime`
This commit is contained in:
DemiMarie-parity
2019-06-06 16:16:59 -04:00
committed by Gavin Wood
parent eac4ed412e
commit 418d4a0ce0
7 changed files with 166 additions and 38 deletions
+1 -1
View File
@@ -482,7 +482,7 @@ impl<B, E, Block, RA> Client<B, E, Block, RA> where
if first > last_num {
return Err(error::Error::ChangesTrieAccessFailed("Invalid changes trie range".into()));
}
let finalized_number = self.backend.blockchain().info().finalized_number;
let finalized_number = self.backend.blockchain().info().finalized_number;
let oldest = storage.oldest_changes_trie_block(&config, finalized_number);
let first = ::std::cmp::max(first, oldest);
Ok(Some((first, last)))