Skip to content

Commit

Permalink
simplifications part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
JuaniRios committed Jul 22, 2024
1 parent 3a05c13 commit d311843
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions pallets/funding/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -886,18 +886,11 @@ pub mod pallet {
#[pallet::weight(WeightInfoOf::<T>::end_evaluation_success(
1,
))]
pub fn root_do_evaluation_end(origin: OriginFor<T>, project_id: ProjectId) -> DispatchResult {
ensure_root(origin)?;
pub fn end_evaluation(origin: OriginFor<T>, project_id: ProjectId) -> DispatchResult {
ensure_signed(origin)?;
Self::do_evaluation_end(project_id)
}

#[pallet::call_index(7)]
#[pallet::weight(WeightInfoOf::<T>::start_auction_manually(1))]
pub fn root_do_auction_opening(origin: OriginFor<T>, project_id: ProjectId) -> DispatchResult {
ensure_root(origin)?;
Self::do_start_auction(T::PalletId::get().into_account_truncating(), project_id)
}

/// Bid for a project in the Auction round
#[pallet::call_index(8)]
#[pallet::weight(
Expand Down

0 comments on commit d311843

Please sign in to comment.