feat: Add system_chainType to legacy rpcs (#2116)

* feat: Add system_chainType to legacy rpcs

* Test response
This commit is contained in:
Tarik Gul
2025-11-10 07:18:29 -05:00
committed by GitHub
parent 4157ce08a0
commit 2904b84ff5
3 changed files with 20 additions and 0 deletions
@@ -118,6 +118,15 @@ async fn system_version() {
let _ = rpc.system_version().await.unwrap();
}
#[subxt_test]
async fn system_chain_type() {
let ctx = test_context().await;
let rpc = ctx.legacy_rpc_methods().await;
let chain_type = rpc.system_chain_type().await.unwrap();
assert_eq!(chain_type, "Development");
}
#[subxt_test]
async fn system_properties() {
let ctx = test_context().await;