Skip to content

Commit

Permalink
changed: temporarily changed weight for subscribe() & unsubscribe() c…
Browse files Browse the repository at this point in the history
…alls to 1000
  • Loading branch information
guillaumebogard committed Aug 2, 2022
1 parent c4a727b commit 3031c0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ pub mod pallet {

#[pallet::call]
impl<T: Config> Pallet<T> {
#[pallet::weight(1)]
#[pallet::weight(1_000)]
pub fn subscribe(
origin: OriginFor<T>,
to: T::AccountId,
Expand Down Expand Up @@ -150,7 +150,7 @@ pub mod pallet {
Ok(())
}

#[pallet::weight(1)]
#[pallet::weight(1_000)]
pub fn unsubscribe(
origin: OriginFor<T>,
subscriber: T::AccountId,
Expand Down

0 comments on commit 3031c0c

Please sign in to comment.