Skip to content

Commit 9c764b3

Browse files
committed
kusama runtime: update ss58
1 parent 4e9f1c0 commit 9c764b3

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sugondat-chain/runtimes/sugondat-kusama/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ sp-session = { git = "https://github.com/paritytech/polkadot-sdk", default-featu
5151
sp-std = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.2.0" }
5252
sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.2.0" }
5353
sp-version = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.2.0" }
54+
ss58-registry = { version = "1.44.0", default-features = false }
5455

5556
# Polkadot
5657
pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.2.0" }

sugondat-chain/runtimes/sugondat-kusama/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ parameter_types! {
197197
})
198198
.avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO)
199199
.build_or_panic();
200-
pub const SS58Prefix: u16 = 42;
200+
pub const SS58Prefix: u16 = ss58_registry::Ss58AddressFormatRegistry::KusamaAccount as u16;
201201
}
202202

203203
// Configure FRAME pallets to include in runtime.

0 commit comments

Comments
 (0)