Upgrade to wasmer 2.2 (#11168)

This commit is contained in:
Alexander Theißen
2022-04-05 19:01:45 +02:00
committed by GitHub
parent 7a4d5b5ec6
commit 14333e3074
6 changed files with 282 additions and 148 deletions
@@ -799,7 +799,7 @@ impl<Block: BlockT> Inner<Block> {
Some(ref mut v) =>
if v.set_id == set_id {
let diff_authorities = self.authorities.iter().collect::<HashSet<_>>() !=
authorities.iter().collect();
authorities.iter().collect::<HashSet<_>>();
if diff_authorities {
debug!(target: "afg",
@@ -185,7 +185,7 @@ impl<Block: BlockT> GrandpaJustification<Block> {
}
}
let ancestry_hashes =
let ancestry_hashes: HashSet<_> =
self.votes_ancestries.iter().map(|h: &Block::Header| h.hash()).collect();
if visited_hashes != ancestry_hashes {