feat(network): implement GetGenesisConfig local state query (#407)

This commit is contained in:
Alexsander Falcucci 2024-02-26 12:44:37 +01:00 committed by GitHub
parent edbf446188
commit b6d6e56f4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 134 additions and 5 deletions

View file

@ -65,6 +65,9 @@ async fn do_localstate_query(client: &mut NodeClient) {
.unwrap();
println!("result: {:?}", result);
let result = queries_v16::get_genesis_config(client, era).await.unwrap();
println!("result: {:?}", result);
client.send_release().await.unwrap();
}