diff --git a/.github/resources/frame-weight-template.hbs b/.github/resources/frame-weight-template.hbs index beed8c8ba..c746cfad8 100644 --- a/.github/resources/frame-weight-template.hbs +++ b/.github/resources/frame-weight-template.hbs @@ -46,11 +46,7 @@ pub trait WeightInfo { /// Weights for {{pallet}} using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); -{{#if (eq pallet "frame_system")}} -impl {{pallet}}::WeightInfo for SubstrateWeight { -{{else}} impl {{pallet}}::WeightInfo for SubstrateWeight { -{{/if}} {{#each benchmarks as |benchmark|}} {{#each benchmark.comments as |comment|}} /// {{comment}}