diff --git a/node/src/chain_spec/crab.rs b/node/src/chain_spec/crab.rs index c720844bc..4c4c6cba3 100644 --- a/node/src/chain_spec/crab.rs +++ b/node/src/chain_spec/crab.rs @@ -33,12 +33,12 @@ use crab_runtime::*; use fp_evm::GenesisAccount; // substrate use sc_chain_spec::Properties; -use sc_service::ChainType; +use sc_service::{ChainType, GenericChainSpec}; use sc_telemetry::TelemetryEndpoints; use sp_core::{crypto::UncheckedInto, H160}; /// Specialized `ChainSpec` for the normal parachain runtime. -pub type ChainSpec = sc_service::GenericChainSpec; +pub type ChainSpec = GenericChainSpec; fn properties() -> Properties { super::properties("CRAB") diff --git a/node/src/chain_spec/darwinia.rs b/node/src/chain_spec/darwinia.rs index b86debe47..37f068214 100644 --- a/node/src/chain_spec/darwinia.rs +++ b/node/src/chain_spec/darwinia.rs @@ -33,12 +33,12 @@ use darwinia_runtime::*; use fp_evm::GenesisAccount; // substrate use sc_chain_spec::Properties; -use sc_service::ChainType; +use sc_service::{ChainType, GenericChainSpec}; use sc_telemetry::TelemetryEndpoints; use sp_core::{crypto::UncheckedInto, H160}; /// Specialized `ChainSpec` for the normal parachain runtime. -pub type ChainSpec = sc_service::GenericChainSpec; +pub type ChainSpec = GenericChainSpec; fn properties() -> Properties { super::properties("RING") diff --git a/node/src/chain_spec/koi.rs b/node/src/chain_spec/koi.rs index f9dc20dfd..9d57995a6 100644 --- a/node/src/chain_spec/koi.rs +++ b/node/src/chain_spec/koi.rs @@ -33,12 +33,12 @@ use koi_runtime::*; use fp_evm::GenesisAccount; // substrate use sc_chain_spec::Properties; -use sc_service::ChainType; +use sc_service::{ChainType, GenericChainSpec}; use sc_telemetry::TelemetryEndpoints; use sp_core::{crypto::UncheckedInto, H160}; /// Specialized `ChainSpec` for the normal parachain runtime. -pub type ChainSpec = sc_service::GenericChainSpec; +pub type ChainSpec = GenericChainSpec; fn properties() -> Properties { super::properties("KRING") diff --git a/runtime/crab/src/pallets/balances.rs b/runtime/crab/src/pallets/balances.rs index 169981e2e..5dfd17cd9 100644 --- a/runtime/crab/src/pallets/balances.rs +++ b/runtime/crab/src/pallets/balances.rs @@ -31,6 +31,7 @@ impl pallet_balances::Config for Runtime { type MaxReserves = ConstU32<50>; type ReserveIdentifier = [u8; 8]; type RuntimeEvent = RuntimeEvent; + type RuntimeFreezeReason = RuntimeFreezeReason; type RuntimeHoldReason = (); type WeightInfo = weights::pallet_balances::WeightInfo; } diff --git a/runtime/darwinia/src/pallets/balances.rs b/runtime/darwinia/src/pallets/balances.rs index 169981e2e..5dfd17cd9 100644 --- a/runtime/darwinia/src/pallets/balances.rs +++ b/runtime/darwinia/src/pallets/balances.rs @@ -31,6 +31,7 @@ impl pallet_balances::Config for Runtime { type MaxReserves = ConstU32<50>; type ReserveIdentifier = [u8; 8]; type RuntimeEvent = RuntimeEvent; + type RuntimeFreezeReason = RuntimeFreezeReason; type RuntimeHoldReason = (); type WeightInfo = weights::pallet_balances::WeightInfo; } diff --git a/runtime/koi/src/pallets/balances.rs b/runtime/koi/src/pallets/balances.rs index 169981e2e..5dfd17cd9 100644 --- a/runtime/koi/src/pallets/balances.rs +++ b/runtime/koi/src/pallets/balances.rs @@ -31,6 +31,7 @@ impl pallet_balances::Config for Runtime { type MaxReserves = ConstU32<50>; type ReserveIdentifier = [u8; 8]; type RuntimeEvent = RuntimeEvent; + type RuntimeFreezeReason = RuntimeFreezeReason; type RuntimeHoldReason = (); type WeightInfo = weights::pallet_balances::WeightInfo; }