From c4d903f94590bf5e8a881b7df06261072604b5d9 Mon Sep 17 00:00:00 2001
From: Squirrel <gilescope@gmail.com>
Date: Tue, 9 Nov 2021 22:33:21 +0000
Subject: [PATCH] upgrade ss58-registry with additional networks. (#10224)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* upgrade ss58-registry with additional networks.

* adding cargo lock

* Update primitives/core/Cargo.toml

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* turn on std

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
---
 substrate/Cargo.lock                 | 4 ++--
 substrate/primitives/core/Cargo.toml | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/substrate/Cargo.lock b/substrate/Cargo.lock
index b72f8ece09a..5e940b93f65 100644
--- a/substrate/Cargo.lock
+++ b/substrate/Cargo.lock
@@ -9995,9 +9995,9 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
 
 [[package]]
 name = "ss58-registry"
-version = "1.0.0"
+version = "1.5.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ef2413ecc7946ca99368862851dc1359f1477bc654ecfb135cf3efcb85ceca5f"
+checksum = "c66cd4c4bb7ee41dc5b0c13d600574ae825d3a02e8f31326b17ac71558f2c836"
 dependencies = [
  "Inflector",
  "proc-macro2",
diff --git a/substrate/primitives/core/Cargo.toml b/substrate/primitives/core/Cargo.toml
index 8262393e653..9948b2e968c 100644
--- a/substrate/primitives/core/Cargo.toml
+++ b/substrate/primitives/core/Cargo.toml
@@ -68,7 +68,7 @@ twox-hash = { version = "1.6.1", default-features = false, optional = true }
 libsecp256k1 = { version = "0.6", default-features = false, features = ["hmac", "static-context"], optional = true }
 sp-core-hashing = { version = "4.0.0-dev", path = "./hashing", default-features = false, optional = true }
 merlin = { version = "2.0", default-features = false, optional = true }
-ss58-registry = "1.0.0"
+ss58-registry = { version = "1.5.0", default-features = false }
 sp-runtime-interface = { version = "4.0.0-dev", default-features = false, path = "../runtime-interface" }
 
 [dev-dependencies]
@@ -125,6 +125,7 @@ std = [
 	"sp-externalities",
 	"sp-storage/std",
 	"sp-runtime-interface/std",
+	"ss58-registry/std",
 	"zeroize/alloc",
 	"secrecy/alloc",
 	"futures",
-- 
GitLab