Skip to content

Commit

Permalink
- remove unused imports and methods
Browse files Browse the repository at this point in the history
- replace deprecated imports
- remove unused macros
  • Loading branch information
Raid5594 committed Aug 31, 2023
1 parent a7a1e0c commit 8b868df
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions runtime/cere-dev/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1332,6 +1332,16 @@ impl pallet_ddc_staking::Config for Runtime {
type WeightInfo = pallet_ddc_staking::weights::SubstrateWeight<Runtime>;
}

impl pallet_ddc_validator::Config for Runtime {
type DdcValidatorsQuorumSize = DdcValidatorsQuorumSize;
type Randomness = RandomnessCollectiveFlip;
type RuntimeCall = RuntimeCall;
type RuntimeEvent = RuntimeEvent;
type AuthorityId = pallet_ddc_validator::crypto::TestAuthId;
type ValidationThreshold = ValidationThreshold;
type ValidatorsMax = ValidatorsMax;
}

construct_runtime!(
pub enum Runtime where
Block = Block,
Expand Down

0 comments on commit 8b868df

Please sign in to comment.