mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 05:21:08 +00:00
Fix compile errors in test suite (#2151)
This commit is contained in:
committed by
Bastian Köcher
parent
b1f9c31f21
commit
63c3dd5a45
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -47,10 +47,10 @@ fn authorities_change_logged() {
|
||||
#[test]
|
||||
fn partial_authorities_change_logged() {
|
||||
with_externalities(&mut new_test_ext(vec![1, 2, 3]), || {
|
||||
System::initialise(&2, &Default::default(), &Default::default());
|
||||
System::initialize(&2, &Default::default(), &Default::default());
|
||||
Consensus::set_authorities(&[UintAuthorityId(2), UintAuthorityId(4), UintAuthorityId(5)]);
|
||||
Consensus::on_finalise(2);
|
||||
let header = System::finalise();
|
||||
Consensus::on_finalize(2);
|
||||
let header = System::finalize();
|
||||
assert_eq!(header.digest, testing::Digest {
|
||||
logs: vec![
|
||||
generic::DigestItem::AuthoritiesChange(
|
||||
|
||||
Reference in New Issue
Block a user