mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-07 14:18:03 +00:00
Fix pallet-society on master (#4588)
This commit is contained in:
committed by
Gavin Wood
parent
c81e9df162
commit
3d74b9b669
@@ -18,7 +18,7 @@
|
||||
|
||||
use super::*;
|
||||
|
||||
use frame_support::{impl_outer_origin, parameter_types};
|
||||
use frame_support::{impl_outer_origin, parameter_types, ord_parameter_types};
|
||||
use sp_core::H256;
|
||||
// The testing primitives are very useful for avoiding having to work with signatures
|
||||
// or public keys. `u64` is used as the `AccountId` and no `Signature`s are requried.
|
||||
@@ -43,8 +43,6 @@ parameter_types! {
|
||||
pub const RotationPeriod: u64 = 4;
|
||||
pub const PeriodSpend: u64 = 1000;
|
||||
pub const MaxLockDuration: u64 = 100;
|
||||
pub const FounderSetAccount: u64 = 1;
|
||||
pub const SuspensionJudgementSetAccount: u64 = 2;
|
||||
pub const ChallengePeriod: u64 = 8;
|
||||
pub const MaxMembers: u32 = 100;
|
||||
|
||||
@@ -58,6 +56,11 @@ parameter_types! {
|
||||
pub const CreationFee: u64 = 0;
|
||||
}
|
||||
|
||||
ord_parameter_types! {
|
||||
pub const FounderSetAccount: u128 = 1;
|
||||
pub const SuspensionJudgementSetAccount: u128 = 2;
|
||||
}
|
||||
|
||||
impl frame_system::Trait for Test {
|
||||
type Origin = Origin;
|
||||
type Index = u64;
|
||||
@@ -87,6 +90,7 @@ impl pallet_balances::Trait for Test {
|
||||
type ExistentialDeposit = ExistentialDeposit;
|
||||
type TransferFee = TransferFee;
|
||||
type CreationFee = CreationFee;
|
||||
type OnReapAccount = System;
|
||||
}
|
||||
|
||||
impl Trait for Test {
|
||||
@@ -201,4 +205,4 @@ pub fn create_bid<AccountId, Balance>(
|
||||
kind,
|
||||
value
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user