mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 08:41:02 +00:00
fix grandpa test (#1996)
This commit is contained in:
@@ -1003,8 +1003,8 @@ fn allows_reimporting_change_blocks() {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_bad_justification() {
|
fn test_bad_justification() {
|
||||||
let peers_a = &[Keyring::Alice, Keyring::Bob, Keyring::Charlie];
|
let peers_a = &[AuthorityKeyring::Alice, AuthorityKeyring::Bob, AuthorityKeyring::Charlie];
|
||||||
let peers_b = &[Keyring::Alice, Keyring::Bob];
|
let peers_b = &[AuthorityKeyring::Alice, AuthorityKeyring::Bob];
|
||||||
let voters = make_ids(peers_a);
|
let voters = make_ids(peers_a);
|
||||||
let api = TestApi::new(voters);
|
let api = TestApi::new(voters);
|
||||||
let net = GrandpaTestNet::new(api.clone(), 3);
|
let net = GrandpaTestNet::new(api.clone(), 3);
|
||||||
|
|||||||
Reference in New Issue
Block a user