Skip to content

Commit

Permalink
Merge pull request #218 from paritytech/fix/migration-weights
Browse files Browse the repository at this point in the history
Fix force_mint() Weights in pallet-migration
  • Loading branch information
valentinfernandez1 authored Aug 22, 2024
2 parents 4e03cb6 + 86a4b95 commit 0891726
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pallets/migration/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ pub mod pallet {
///
/// Weight: `WeightInfo::force_mint` (defined in the `Config` trait).
#[pallet::call_index(3)]
#[pallet::weight(<T as pallet_nfts::Config>::WeightInfo::force_mint())]
#[pallet::weight(<T as pallet_nfts::Config>::WeightInfo::force_mint().saturating_add(T::DbWeight::get().reads(2_u64)))]
pub fn force_mint(
origin: OriginFor<T>,
item: ItemId,
Expand Down
2 changes: 1 addition & 1 deletion runtime/testnet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("muse"),
impl_name: create_runtime_str!("muse"),
authoring_version: 1,
spec_version: 1013,
spec_version: 1014,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down

0 comments on commit 0891726

Please sign in to comment.