From 4c63766e4136136a4f1674f08b056ba9ec55ef3f Mon Sep 17 00:00:00 2001 From: philipstanislaus <6912756+philipstanislaus@users.noreply.github.com> Date: Tue, 28 Jan 2020 20:30:39 +0100 Subject: [PATCH] Add SS58 network identifier for Centrifuge (#4748) * Add SS58 network identifier for Centrifuge * Bump version --- substrate/bin/node/runtime/src/lib.rs | 2 +- substrate/primitives/core/src/crypto.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/substrate/bin/node/runtime/src/lib.rs b/substrate/bin/node/runtime/src/lib.rs index 57856dd2f1..24cdbcfbb6 100644 --- a/substrate/bin/node/runtime/src/lib.rs +++ b/substrate/bin/node/runtime/src/lib.rs @@ -80,7 +80,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // and set impl_version to equal spec_version. If only runtime // implementation changes and behavior does not, then leave spec_version as // is and increment impl_version. - spec_version: 205, + spec_version: 207, impl_version: 207, apis: RUNTIME_API_VERSIONS, }; diff --git a/substrate/primitives/core/src/crypto.rs b/substrate/primitives/core/src/crypto.rs index 3cc6c50f76..86a579e499 100644 --- a/substrate/primitives/core/src/crypto.rs +++ b/substrate/primitives/core/src/crypto.rs @@ -442,6 +442,8 @@ ss58_address_format!( (16, "kulupu", "Kulupu mainnet, direct checksum, standard account (*25519).") EdgewareAccountDirect => (7, "edgeware", "Edgeware mainnet, direct checksum, standard account (*25519).") + CentrifugeAccountDirect => + (36, "centrifuge", "Centrifuge Chain mainnet, direct checksum, standard account (*25519).") ); /// Set the default "version" (actually, this is a bit of a misnomer and the version byte is