Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/master' into shawntabrizi-lottery
Browse files Browse the repository at this point in the history
  • Loading branch information
Parity Benchmarking Bot committed Dec 1, 2020
2 parents d50bf84 + f884296 commit 280afe6
Show file tree
Hide file tree
Showing 12 changed files with 119 additions and 261 deletions.
123 changes: 8 additions & 115 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ aesni = { opt-level = 3 }
blake2 = { opt-level = 3 }
blake2-rfc = { opt-level = 3 }
blake2b_simd = { opt-level = 3 }
blake2s_simd = { opt-level = 3 }
chacha20poly1305 = { opt-level = 3 }
cranelift-codegen = { opt-level = 3 }
cranelift-wasm = { opt-level = 3 }
Expand Down
5 changes: 3 additions & 2 deletions client/finality-grandpa/src/authorities.rs
Original file line number Diff line number Diff line change
Expand Up @@ -758,9 +758,10 @@ mod tests {
authorities.add_pending_change(change_d.clone(), &static_is_descendent_of(false)).unwrap();
authorities.add_pending_change(change_e.clone(), &static_is_descendent_of(false)).unwrap();

// ordered by subtree depth
assert_eq!(
authorities.pending_changes().collect::<Vec<_>>(),
vec![&change_b, &change_a, &change_c, &change_e, &change_d],
vec![&change_a, &change_c, &change_b, &change_e, &change_d],
);
}

Expand Down Expand Up @@ -798,7 +799,7 @@ mod tests {

assert_eq!(
authorities.pending_changes().collect::<Vec<_>>(),
vec![&change_b, &change_a],
vec![&change_a, &change_b],
);

// finalizing "hash_c" won't enact the change signaled at "hash_a" but it will prune out "hash_b"
Expand Down
Loading

0 comments on commit 280afe6

Please sign in to comment.