From 6136fbb48336300c5fe1c9f7d9629b845e71fc4a Mon Sep 17 00:00:00 2001 From: girazoki Date: Mon, 4 Sep 2023 09:41:20 +0200 Subject: [PATCH] fix unitests --- pallets/pooled-staking/src/mock.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/pallets/pooled-staking/src/mock.rs b/pallets/pooled-staking/src/mock.rs index 8b1c3c62f..a352ec1d1 100644 --- a/pallets/pooled-staking/src/mock.rs +++ b/pallets/pooled-staking/src/mock.rs @@ -176,6 +176,7 @@ impl pallet_pooled_staking::Config for Runtime { // low value so we can test vec bounding, in practice it should be bigger type EligibleCandidatesBufferSize = ConstU32<3>; type EligibleCandidatesFilter = Everything; + type WeightInfo = (); } pub trait PoolExt: Pool {