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:
James Wilson authored and GitHub committed 2022-01-04 15:05:53 +00:00
1 parent 3fb4c7089a
commit 26258c84cc
8 files changed
+126 -100

No files matched your search

+2 -2
View File
@@ -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]