From bb394156a2b21c08bad1d12acc96176f60bdf4ef Mon Sep 17 00:00:00 2001 From: Alexandru Vasile <60601340+lexnv@users.noreply.github.com> Date: Thu, 11 May 2023 17:02:15 +0300 Subject: [PATCH] cli: Use WS by default instead of HTTP (#954) Signed-off-by: Alexandru Vasile --- cli/src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/utils.rs b/cli/src/utils.rs index 9a8b6edf82..6d8d5a9788 100644 --- a/cli/src/utils.rs +++ b/cli/src/utils.rs @@ -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?,