diff --git a/runtime/src/constants.rs b/runtime/src/constants.rs index b0092ff53a..29279f1d71 100644 --- a/runtime/src/constants.rs +++ b/runtime/src/constants.rs @@ -102,22 +102,22 @@ pub mod fees { } parameter_types! { - pub const VotingLockId: LockIdentifier = [0; 8]; - pub const CandidacyLockId: LockIdentifier = [1; 8]; - pub const CouncilorLockId: LockIdentifier = [2; 8]; - pub const ProposalsLockId: LockIdentifier = [5; 8]; - pub const StorageWorkingGroupLockId: LockIdentifier = [6; 8]; - pub const ContentWorkingGroupLockId: LockIdentifier = [7; 8]; - pub const ForumGroupLockId: LockIdentifier = [8; 8]; - pub const MembershipWorkingGroupLockId: LockIdentifier = [9; 8]; - pub const InvitedMemberLockId: LockIdentifier = [10; 8]; - pub const StakingCandidateLockId: LockIdentifier = [11; 8]; - pub const BountyLockId: LockIdentifier = [12; 8]; - pub const OperationsWorkingGroupAlphaLockId: LockIdentifier = [13; 8]; - pub const GatewayWorkingGroupLockId: LockIdentifier = [14; 8]; - pub const OperationsWorkingGroupBetaLockId: LockIdentifier = [15; 8]; - pub const OperationsWorkingGroupGammaLockId: LockIdentifier = [16; 8]; - pub const DistributionWorkingGroupLockId: LockIdentifier = [17; 8]; + pub const VotingLockId: LockIdentifier = *b"voting "; + pub const CandidacyLockId: LockIdentifier = *b"candidac"; + pub const CouncilorLockId: LockIdentifier = *b"councilo"; + pub const ProposalsLockId: LockIdentifier = *b"proposal"; + pub const StorageWorkingGroupLockId: LockIdentifier = *b"wg-storg"; + pub const ContentWorkingGroupLockId: LockIdentifier = *b"wg-contt"; + pub const ForumGroupLockId: LockIdentifier = *b"wg-forum"; + pub const MembershipWorkingGroupLockId: LockIdentifier = *b"wg-membr"; + pub const InvitedMemberLockId: LockIdentifier = *b"invitemb"; + pub const StakingCandidateLockId: LockIdentifier = *b"stakcand"; + pub const BountyLockId: LockIdentifier = *b"bounty "; + pub const OperationsWorkingGroupAlphaLockId: LockIdentifier = *b"wg-opera"; + pub const GatewayWorkingGroupLockId: LockIdentifier = *b"wg-gatew"; + pub const OperationsWorkingGroupBetaLockId: LockIdentifier = *b"wg-operb"; + pub const OperationsWorkingGroupGammaLockId: LockIdentifier = *b"wg-operg"; + pub const DistributionWorkingGroupLockId: LockIdentifier = *b"wg-distr"; } // Staking lock ID used by nomination and validation in the staking pallet.