mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-23 19:09:56 +00:00
Update to jsonrpsee 0.7 and impl Stream on TransactionProgress (#380)
* Update to jsonrpsee 0.7 and impl Stream on TransactionProgress * Fix doc links after rename to next_item * Add another doc comment
This commit is contained in:
1 parent
3fb4c7089a
commit
26258c84cc
8 files changed
+126
-100
No files matched your search
@@ -84,7 +84,7 @@ async fn chain_subscribe_blocks() {
|
||||
let node_process = test_node_process().await;
|
||||
let client = node_process.client();
|
||||
let mut blocks = client.rpc().subscribe_blocks().await.unwrap();
|
||||
blocks.next().await.unwrap();
|
||||
blocks.next().await.unwrap().unwrap();
|
||||
}
|
||||
|
||||
#[async_std::test]
|
||||
@@ -92,7 +92,7 @@ async fn chain_subscribe_finalized_blocks() {
|
||||
let node_process = test_node_process().await;
|
||||
let client = node_process.client();
|
||||
let mut blocks = client.rpc().subscribe_finalized_blocks().await.unwrap();
|
||||
blocks.next().await.unwrap();
|
||||
blocks.next().await.unwrap().unwrap();
|
||||
}
|
||||
|
||||
#[async_std::test]
|
||||
|
||||
Reference in new issue
Block a user