From fda1710cc51818a0b779619b3af4cd8a5e9a1ef2 Mon Sep 17 00:00:00 2001 From: librelois <c@elo.tf> Date: Sat, 29 Jan 2022 16:12:19 +0100 Subject: [PATCH] feat(runtime): force disable fees --- runtime/common/src/fees.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/runtime/common/src/fees.rs b/runtime/common/src/fees.rs index f4093e6ad..4fe1d5fd4 100644 --- a/runtime/common/src/fees.rs +++ b/runtime/common/src/fees.rs @@ -35,4 +35,8 @@ where degree: 1, }) } + // Force disable fees + fn calc(weight: &Weight) -> Self::Balance { + Zero::zero() + } } -- GitLab