Refactor to use only chain info (#4516)

This commit is contained in:
Nikolay Volf authored and Bastian Köcher committed 2020-01-02 12:46:07 +01:00
1 parent 8ecc450fd9
commit 6d06a19f41
30 files changed
+178 -175

No files matched your search

+1 -1
View File
@@ -1012,7 +1012,7 @@ mod tests {
fn authorities_call_works() {
let client = substrate_test_runtime_client::new();
assert_eq!(client.info().chain.best_number, 0);
assert_eq!(client.chain_info().best_number, 0);
assert_eq!(authorities(&client, &BlockId::Number(0)).unwrap(), vec![
Keyring::Alice.public().into(),
Keyring::Bob.public().into(),