Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Lau <[email protected]>
  • Loading branch information
AurevoirXavier committed Jun 20, 2024
1 parent 09a7bef commit ce3c174
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions node/src/chain_spec/crab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<RuntimeGenesisConfig, Extensions>;
pub type ChainSpec = GenericChainSpec<RuntimeGenesisConfig, Extensions>;

fn properties() -> Properties {
super::properties("CRAB")
Expand Down
4 changes: 2 additions & 2 deletions node/src/chain_spec/darwinia.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<RuntimeGenesisConfig, Extensions>;
pub type ChainSpec = GenericChainSpec<RuntimeGenesisConfig, Extensions>;

fn properties() -> Properties {
super::properties("RING")
Expand Down
4 changes: 2 additions & 2 deletions node/src/chain_spec/koi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<RuntimeGenesisConfig, Extensions>;
pub type ChainSpec = GenericChainSpec<RuntimeGenesisConfig, Extensions>;

fn properties() -> Properties {
super::properties("KRING")
Expand Down
1 change: 1 addition & 0 deletions runtime/crab/src/pallets/balances.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Self>;
}
1 change: 1 addition & 0 deletions runtime/darwinia/src/pallets/balances.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Self>;
}
1 change: 1 addition & 0 deletions runtime/koi/src/pallets/balances.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Self>;
}

0 comments on commit ce3c174

Please sign in to comment.