mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 08:51:09 +00:00
Make test-client generic over runtime (#2824)
* Make test-client generic over runtime. * Make sure genesis storage is constructed correctly. * Use prelude in tests. * Add an example of how to use test-client with node/runtime. * Bump version. * Rename test-clients.
This commit is contained in:
committed by
Bastian Köcher
parent
cae324598f
commit
ad2d958248
@@ -1709,8 +1709,9 @@ pub(crate) mod tests {
|
||||
use runtime_primitives::generic::DigestItem;
|
||||
use consensus::{BlockOrigin, SelectChain};
|
||||
use test_client::{
|
||||
TestClient, AccountKeyring, client::backend::Backend as TestBackend, TestClientBuilder,
|
||||
BlockBuilderExt, runtime::{self, Block, Transfer, RuntimeApi, TestAPI}
|
||||
prelude::*,
|
||||
client::backend::Backend as TestBackend,
|
||||
runtime::{self, Block, Transfer, RuntimeApi, TestAPI},
|
||||
};
|
||||
|
||||
/// Returns tuple, consisting of:
|
||||
|
||||
Reference in New Issue
Block a user