@@ -829,7 +829,7 @@ parameter_types! {
829829 pub Stake : Balance = 10 * CurrencyId :: PICA . unit:: <Balance >( ) ;
830830}
831831
832- impl pallet_bonded_finance :: Config for Runtime {
832+ impl bonded_finance :: Config for Runtime {
833833 type AdminOrigin = EnsureRoot < AccountId > ;
834834 type BondOfferId = u64 ;
835835 type Convert = sp_runtime:: traits:: ConvertInto ;
@@ -851,15 +851,15 @@ impl composable_traits::defi::DeFiComposableConfig for Runtime {
851851 type Balance = Balance ;
852852}
853853
854- impl pallet_dutch_auction :: Config for Runtime {
854+ impl dutch_auction :: Config for Runtime {
855855 type NativeCurrency = Balances ;
856856 type Event = Event ;
857857 type MultiCurrency = Assets ;
858858 type PalletId = DutchAuctionId ;
859859 type WeightToFee = WeightToFee ;
860860 type OrderId = u128 ;
861861 type UnixTime = Timestamp ;
862- type WeightInfo = ( ) ;
862+ type WeightInfo = weights :: dutch_auction :: WeightInfo < Runtime > ;
863863}
864864
865865construct_runtime ! (
@@ -914,8 +914,8 @@ construct_runtime!(
914914 Assets : assets:: { Pallet , Call , Storage } = 57 ,
915915 CrowdloanRewards : crowdloan_rewards:: { Pallet , Call , Storage , Event <T >} = 58 ,
916916 Vesting : vesting:: { Call , Event <T >, Pallet , Storage } = 59 ,
917- BondedFinance : pallet_bonded_finance :: { Call , Event <T >, Pallet , Storage } = 60 ,
918- DutchAuction : pallet_dutch_auction :: { Pallet , Call , Storage , Event <T >} = 61 ,
917+ BondedFinance : bonded_finance :: { Call , Event <T >, Pallet , Storage } = 60 ,
918+ DutchAuction : dutch_auction :: { Pallet , Call , Storage , Event <T >} = 61 ,
919919
920920 CallFilter : call_filter:: { Pallet , Call , Storage , Event <T >} = 100 ,
921921 }
@@ -1074,12 +1074,10 @@ impl_runtime_apis! {
10741074 list_benchmark!( list, extra, utility, Utility ) ;
10751075 list_benchmark!( list, extra, identity, Identity ) ;
10761076 list_benchmark!( list, extra, multisig, Multisig ) ;
1077-
1078- {
1079- list_benchmark!( list, extra, vault, Vault ) ;
1080- list_benchmark!( list, extra, oracle, Oracle ) ;
1081- list_benchmark!( list, extra, crowdloan_rewards, CrowdloanRewards ) ;
1082- }
1077+ list_benchmark!( list, extra, vault, Vault ) ;
1078+ list_benchmark!( list, extra, oracle, Oracle ) ;
1079+ list_benchmark!( list, extra, crowdloan_rewards, CrowdloanRewards ) ;
1080+ list_benchmark!( list, extra, dutch_auction, DutchAuction ) ;
10831081
10841082 let storage_info = AllPalletsWithSystem :: storage_info( ) ;
10851083
@@ -1130,6 +1128,7 @@ impl_runtime_apis! {
11301128 add_benchmark!( params, batches, vault, Vault ) ;
11311129 add_benchmark!( params, batches, oracle, Oracle ) ;
11321130 add_benchmark!( params, batches, crowdloan_rewards, CrowdloanRewards ) ;
1131+ add_benchmark!( params, batches, dutch_auction, DutchAuction ) ;
11331132
11341133 if batches. is_empty( ) { return Err ( "Benchmark not found for this pallet." . into( ) ) }
11351134 Ok ( batches)
0 commit comments