mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 09:21:05 +00:00
Fixed spec to json serialization (#809)
* Fixed spec to json serialization * Fixed tests
This commit is contained in:
committed by
Gav Wood
parent
d46f2b9c76
commit
a50e184402
@@ -1132,15 +1132,13 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn test_leaves_with_complex_block_tree() {
|
||||
let backend: Arc<Backend<test_client::runtime::Block>> = Arc::new(Backend::new_test(20));
|
||||
|
||||
let backend: Arc<Backend<test_client::runtime::Block>> = Arc::new(Backend::new_test(20, 20));
|
||||
test_client::trait_tests::test_leaves_for_backend(backend);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_blockchain_query_by_number_gets_canonical() {
|
||||
let backend: Arc<Backend<test_client::runtime::Block>> = Arc::new(Backend::new_test(20));
|
||||
|
||||
let backend: Arc<Backend<test_client::runtime::Block>> = Arc::new(Backend::new_test(20, 20));
|
||||
test_client::trait_tests::test_blockchain_query_by_number_gets_canonical(backend);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -147,7 +147,6 @@ impl<G: RuntimeGenesis> ChainSpec<G> {
|
||||
struct Container<G> {
|
||||
#[serde(flatten)]
|
||||
spec: ChainSpecFile,
|
||||
#[serde(flatten)]
|
||||
genesis: Genesis<G>,
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user