@@ -22,7 +22,7 @@ pub mod default_weights;
2222
2323#[ cfg( feature = "runtime-benchmarks" ) ]
2424mod benchmarking;
25- #[ cfg( any ( test, feature = "runtime-benchmarks" ) ) ]
25+ #[ cfg( test) ]
2626mod mock;
2727#[ cfg( test) ]
2828mod test;
@@ -48,6 +48,7 @@ pub mod pallet {
4848 use frame_support:: {
4949 pallet_prelude:: * ,
5050 traits:: { fungible:: Inspect , Currency , ReservableCurrency } ,
51+ DefaultNoBound ,
5152 } ;
5253 use frame_system:: pallet_prelude:: * ;
5354 use sp_runtime:: { traits:: Hash , SaturatedConversion } ;
@@ -66,15 +67,10 @@ pub mod pallet {
6667
6768 pub type HashOf < T > = <T as frame_system:: Config >:: Hash ;
6869
69- #[ derive( Encode , Decode , TypeInfo , Debug , Clone , PartialEq , Eq ) ]
70+ #[ derive( Encode , Decode , TypeInfo , Debug , Clone , PartialEq , Eq , DefaultNoBound ) ]
7071 pub struct EntriesToMigrate < T >
7172 where
72- T : Config
73- + did:: Config
74- + delegation:: Config
75- + frame_system:: Config
76- + pallet_web3_names:: Config
77- + public_credentials:: Config ,
73+ T : Config + did:: Config + delegation:: Config + pallet_web3_names:: Config + public_credentials:: Config ,
7874 {
7975 pub attestation : BoundedVec < ClaimHashOf < T > , <T as Config >:: MaxMigrationsPerPallet > ,
8076 pub delegation : BoundedVec < DelegationNodeIdOf < T > , <T as Config >:: MaxMigrationsPerPallet > ,
0 commit comments