From 0cb56066fd8bf9d15df64bb2a3a9844c0e25c056 Mon Sep 17 00:00:00 2001 From: Giles Cope Date: Tue, 9 Nov 2021 14:13:19 +0000 Subject: [PATCH 1/4] upgrade ss58-registry with additional networks. --- primitives/core/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/primitives/core/Cargo.toml b/primitives/core/Cargo.toml index 8262393e653fe..35d2e2a70e1fc 100644 --- a/primitives/core/Cargo.toml +++ b/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 = "1.5.0" sp-runtime-interface = { version = "4.0.0-dev", default-features = false, path = "../runtime-interface" } [dev-dependencies] From 6cf56c2817dc5e208f14e83a813b557a140be13d Mon Sep 17 00:00:00 2001 From: Giles Cope Date: Tue, 9 Nov 2021 14:20:08 +0000 Subject: [PATCH 2/4] adding cargo lock --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b164a74f94a55..9ad3b19f805ef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9994,9 +9994,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", From b4f63c07e81a1aa9cdc63a4adbbf07a786439bc6 Mon Sep 17 00:00:00 2001 From: Squirrel Date: Tue, 9 Nov 2021 21:37:23 +0000 Subject: [PATCH 3/4] Update primitives/core/Cargo.toml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bastian Köcher --- primitives/core/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/primitives/core/Cargo.toml b/primitives/core/Cargo.toml index 35d2e2a70e1fc..972fc36702f51 100644 --- a/primitives/core/Cargo.toml +++ b/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.5.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] From 2d5c98d7b03edf4160acca1fd09592435e41ffe7 Mon Sep 17 00:00:00 2001 From: Giles Cope Date: Tue, 9 Nov 2021 21:47:56 +0000 Subject: [PATCH 4/4] turn on std --- primitives/core/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/primitives/core/Cargo.toml b/primitives/core/Cargo.toml index 972fc36702f51..9948b2e968c26 100644 --- a/primitives/core/Cargo.toml +++ b/primitives/core/Cargo.toml @@ -125,6 +125,7 @@ std = [ "sp-externalities", "sp-storage/std", "sp-runtime-interface/std", + "ss58-registry/std", "zeroize/alloc", "secrecy/alloc", "futures",