Skip to content

Commit

Permalink
Update pallets/emergency-para-xcm/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Éloïs <[email protected]>
Signed-off-by: Federico Rodríguez <[email protected]>
  • Loading branch information
elfedy and librelois authored Apr 9, 2024
1 parent f972f76 commit a3475f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/emergency-para-xcm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ pub mod pallet {

/// Authorize a runtime upgrade. Only callable in `Paused` mode
#[pallet::call_index(1)]
#[pallet::weight((T::DbWeight::get().read, DispatchClass::Operational))]
#[pallet::weight((T::SystemWeightInfo::authorize_upgrade().saturating_add(T::DbWeight::get().read), DispatchClass::Operational))]
pub fn fast_authorize_upgrade(origin: OriginFor<T>, code_hash: T::Hash) -> DispatchResult {
T::FastAuthorizeUpgradeOrigin::ensure_origin(origin)?;
ensure!(
Expand Down

0 comments on commit a3475f4

Please sign in to comment.