From 3dfcfe14593a141b1b05069318b7241e420402e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Andr=C3=A9s=20Dorado=20Su=C3=A1rez?= Date: Sun, 5 Jan 2025 18:39:12 -0500 Subject: [PATCH] fix(kreivo-runtime): make ci happy --- runtime/kreivo/src/communities/kreivo_memberships.rs | 6 +----- runtime/kreivo/src/configuration/system_support.rs | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/runtime/kreivo/src/communities/kreivo_memberships.rs b/runtime/kreivo/src/communities/kreivo_memberships.rs index 5169db0c..077db21e 100644 --- a/runtime/kreivo/src/communities/kreivo_memberships.rs +++ b/runtime/kreivo/src/communities/kreivo_memberships.rs @@ -3,11 +3,7 @@ use super::*; use fc_traits_memberships::OnMembershipAssigned; use frame_support::traits::nonfungibles_v2::{Inspect as NonFunsInspect, Mutate}; -const WELL_KNOWN_ATTR_KEYS: [&[u8]; 3] = [ - &*b"membership_member_rank", - &*b"membership_gas", - &*b"membership_expiration", -]; +const WELL_KNOWN_ATTR_KEYS: [&[u8]; 3] = [b"membership_member_rank", b"membership_gas", b"membership_expiration"]; parameter_types! { pub TemplatePropertiesOnAssignMembership: Box> = diff --git a/runtime/kreivo/src/configuration/system_support.rs b/runtime/kreivo/src/configuration/system_support.rs index 5e2fe8e4..7828be59 100644 --- a/runtime/kreivo/src/configuration/system_support.rs +++ b/runtime/kreivo/src/configuration/system_support.rs @@ -132,7 +132,7 @@ parameter_types! { pub NeverPays: Option> = None; } -/// A [`Challenger`][`fc_traits_authn::Challenger`] which verifies the +/// A [`Challenger`][`fc_traits_authn::Challenger`] which verifies the /// block hash of a block of a given block that's within the last `PAST_BLOCKS`. pub struct BlockHashChallenger;