File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ pub mod module {
137137 /// The dispatch origin for this call must be `Signed` by the
138138 /// transactor.
139139 #[ pallet:: call_index( 0 ) ]
140- #[ pallet:: weight( T :: WeightInfo :: bid_collateral_auction ( ) ) ]
140+ #[ pallet:: weight( T :: WeightInfo :: bid ( ) ) ]
141141 pub fn bid ( origin : OriginFor < T > , id : T :: AuctionId , #[ pallet:: compact] value : T :: Balance ) -> DispatchResult {
142142 let from = ensure_signed ( origin) ?;
143143
Original file line number Diff line number Diff line change @@ -30,13 +30,13 @@ use sp_std::marker::PhantomData;
3030
3131/// Weight functions needed for orml_auction.
3232pub trait WeightInfo {
33- fn bid_collateral_auction ( ) -> Weight ;
33+ fn bid ( ) -> Weight ;
3434 fn on_finalize ( c : u32 , ) -> Weight ;
3535}
3636
3737/// Default weights.
3838impl WeightInfo for ( ) {
39- fn bid_collateral_auction ( ) -> Weight {
39+ fn bid ( ) -> Weight {
4040 Weight :: from_parts ( 108_000_000 , 0 )
4141 . saturating_add ( RocksDbWeight :: get ( ) . reads ( 8 as u64 ) )
4242 . saturating_add ( RocksDbWeight :: get ( ) . writes ( 9 as u64 ) )
You can’t perform that action at this time.
0 commit comments