feat(network): implement GetChainBlockNo local state query (#441)
This commit is contained in:
parent
2d6b6fda1e
commit
97a32c9af5
4 changed files with 62 additions and 2 deletions
|
|
@ -25,6 +25,9 @@ async fn do_localstate_query(client: &mut NodeClient) {
|
|||
let result = queries_v16::get_system_start(client).await.unwrap();
|
||||
info!("result: {:?}", result);
|
||||
|
||||
let result = queries_v16::get_chain_block_no(client).await.unwrap();
|
||||
info!("result: {:?}", result);
|
||||
|
||||
let era = queries_v16::get_current_era(client).await.unwrap();
|
||||
info!("result: {:?}", era);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue