cli: Use WS by default instead of HTTP (#954)

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
This commit is contained in:
Alexandru Vasile
2023-05-11 17:02:15 +03:00
committed by GitHub
parent ae093bda7d
commit bb394156a2
+1 -1
View File
@@ -62,7 +62,7 @@ impl FileOrUrl {
.await?),
// Default if neither is provided; fetch from local url
(None, None, version) => {
let uri = Uri::from_static("http://localhost:9933");
let uri = Uri::from_static("ws://localhost:9944");
Ok(
subxt_codegen::utils::fetch_metadata_bytes(&uri, version.unwrap_or_default())
.await?,