File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
substrate/client/rpc-spec-v2/src/archive Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -94,8 +94,7 @@ async fn get_next_event<T: serde::de::DeserializeOwned>(sub: &mut RpcSubscriptio
9494async fn archive_genesis ( ) {
9595 let ( _client, api) = setup_api ( ) ;
9696
97- let genesis: String =
98- api. call ( "archive_v1_genesisHash" , EmptyParams :: new ( ) ) . await . unwrap ( ) ;
97+ let genesis: String = api. call ( "archive_v1_genesisHash" , EmptyParams :: new ( ) ) . await . unwrap ( ) ;
9998 assert_eq ! ( genesis, hex_string( & CHAIN_GENESIS ) ) ;
10099}
101100
@@ -173,8 +172,7 @@ async fn archive_finalized_height() {
173172
174173 let client_height: u32 = client. info ( ) . finalized_number . saturated_into ( ) ;
175174
176- let height: u32 =
177- api. call ( "archive_v1_finalizedHeight" , EmptyParams :: new ( ) ) . await . unwrap ( ) ;
175+ let height: u32 = api. call ( "archive_v1_finalizedHeight" , EmptyParams :: new ( ) ) . await . unwrap ( ) ;
178176
179177 assert_eq ! ( client_height, height) ;
180178}
@@ -455,10 +453,7 @@ async fn archive_storage_hashes_values_child_trie() {
455453 StorageQuery { key: key. clone( ) , query_type: StorageQueryType :: DescendantsValues } ,
456454 ] ;
457455 let mut sub = api
458- . subscribe_unbounded (
459- "archive_v1_storage" ,
460- rpc_params ! [ & genesis_hash, items, & child_info] ,
461- )
456+ . subscribe_unbounded ( "archive_v1_storage" , rpc_params ! [ & genesis_hash, items, & child_info] )
462457 . await
463458 . unwrap ( ) ;
464459
You can’t perform that action at this time.
0 commit comments