Skip to content

Commit 2f5d406

Browse files
committed
kusama runtime: add prevalidation, cleanups
1 parent 8eaf4a0 commit 2f5d406

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

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

5756
# Polkadot
5857
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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ pub type SignedExtra = (
8989
frame_system::CheckNonce<Runtime>,
9090
frame_system::CheckWeight<Runtime>,
9191
pallet_transaction_payment::ChargeTransactionPayment<Runtime>,
92+
pallet_sugondat_blobs::PrevalidateBlobs,
9293
);
9394

9495
/// Unchecked extrinsic type as expected by this runtime.
@@ -158,7 +159,7 @@ parameter_types! {
158159
})
159160
.avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO)
160161
.build_or_panic();
161-
pub const SS58Prefix: u16 = ss58_registry::Ss58AddressFormatRegistry::KusamaAccount as u16;
162+
pub const SS58Prefix: u16 = 2; // Kusama
162163
}
163164

164165
// Configure FRAME pallets to include in runtime.

0 commit comments

Comments
 (0)