From 9d07be24fb210f388d12dfa28c450b8658c2d4fa Mon Sep 17 00:00:00 2001 From: Charles Ferrell Date: Sun, 19 May 2024 20:13:36 -0400 Subject: [PATCH] fix handlebar file Signed-off-by: Charles Ferrell --- .github/resources/frame-weight-template.hbs | 4 ---- 1 file changed, 4 deletions(-) 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}}