Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
feat(aaa): calculate weights
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboy-bebug committed Mar 22, 2023
1 parent 111309b commit d42969e
Show file tree
Hide file tree
Showing 2 changed files with 99 additions and 88 deletions.
2 changes: 1 addition & 1 deletion pallets/ajuna-awesome-avatars/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ pub mod pallet {
}

#[pallet::call_index(16)]
#[pallet::weight(100_000_000)]
#[pallet::weight(T::WeightInfo::fix_variation())]
pub fn fix_variation(origin: OriginFor<T>, avatar_id: AvatarIdOf<T>) -> DispatchResult {
let account = ensure_signed(origin)?;
let mut avatar = Self::ensure_ownership(&account, &avatar_id)?;
Expand Down
Loading

0 comments on commit d42969e

Please sign in to comment.