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 authored and Gavin Wood committed 2019-06-06 22:16:59 +02:00
1 parent eac4ed412e
commit 418d4a0ce0
7 files changed
+166 -38

No files matched your search

+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)))