From 08bce1d00438ac8d54793f515702ebda937b07b4 Mon Sep 17 00:00:00 2001 From: "Alisher A. Khassanov" Date: Mon, 16 Oct 2023 10:41:57 +0600 Subject: [PATCH] Add missing `Helper` trait to the `pallet_nfts` --- runtime/devnet/src/lib.rs | 2 ++ runtime/mainnet/src/lib.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/runtime/devnet/src/lib.rs b/runtime/devnet/src/lib.rs index 9ed411f..4ff3564 100644 --- a/runtime/devnet/src/lib.rs +++ b/runtime/devnet/src/lib.rs @@ -680,6 +680,8 @@ impl pallet_nfts::Config for Runtime { type OffchainSignature = Signature; type OffchainPublic = ::Signer; type WeightInfo = (); + #[cfg(feature = "runtime-benchmarks")] + type Helper = (); } /// A reason for placing a hold on funds. diff --git a/runtime/mainnet/src/lib.rs b/runtime/mainnet/src/lib.rs index 9b5f271..0d66387 100644 --- a/runtime/mainnet/src/lib.rs +++ b/runtime/mainnet/src/lib.rs @@ -680,6 +680,8 @@ impl pallet_nfts::Config for Runtime { type OffchainSignature = Signature; type OffchainPublic = ::Signer; type WeightInfo = (); + #[cfg(feature = "runtime-benchmarks")] + type Helper = (); } /// A reason for placing a hold on funds.