Skip to content

Commit

Permalink
feat: using weights::runtime_common_paras_registrar for InnerDancelig…
Browse files Browse the repository at this point in the history
…htRegistrar
  • Loading branch information
Aleksandar Brayanov committed Dec 17, 2024
1 parent 84843a6 commit f0c48c3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions solo-chains/runtime/dancelight/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2048,8 +2048,12 @@ impl pallet_registrar::Config for Runtime {
#[cfg(feature = "runtime-benchmarks")]
type InnerRegistrar = ();
#[cfg(not(feature = "runtime-benchmarks"))]
type InnerRegistrar =
InnerDancelightRegistrar<Runtime, AccountId, Registrar, paras_registrar::TestWeightInfo>;
type InnerRegistrar = InnerDancelightRegistrar<
Runtime,
AccountId,
Registrar,
weights::runtime_common_paras_registrar::SubstrateWeight<Runtime>,
>;
type WeightInfo = weights::pallet_registrar::SubstrateWeight<Runtime>;
}

Expand Down

0 comments on commit f0c48c3

Please sign in to comment.