diff --git a/polkadot/runtime/westend/src/lib.rs b/polkadot/runtime/westend/src/lib.rs index 6417de829665c92cd81dca41d0383e1efa90d5ad..26ea7e9c7616eab4d16a5d6e0986cc9f2bf60473 100644 --- a/polkadot/runtime/westend/src/lib.rs +++ b/polkadot/runtime/westend/src/lib.rs @@ -102,7 +102,7 @@ use sp_runtime::{ OpaqueKeys, SaturatedConversion, Verify, }, transaction_validity::{TransactionPriority, TransactionSource, TransactionValidity}, - ApplyExtrinsicResult, FixedU128, KeyTypeId, Percent, Permill, + ApplyExtrinsicResult, FixedU128, KeyTypeId, MultiSignature, MultiSigner, Percent, Permill, }; use sp_staking::SessionIndex; #[cfg(any(feature = "std", test))] @@ -1608,6 +1608,14 @@ impl pallet_meta_tx::Config for Runtime { type Extension = pallet_meta_tx::WeightlessExtension<Runtime>; } +impl pallet_verify_signature::Config for Runtime { + type Signature = MultiSignature; + type AccountIdentifier = MultiSigner; + type WeightInfo = (); // TODO + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = (); +} + #[frame_support::runtime(legacy_ordering)] mod runtime { #[runtime::runtime] @@ -1803,6 +1811,9 @@ mod runtime { #[runtime::pallet_index(103)] pub type MetaTx = pallet_meta_tx::Pallet<Runtime>; + #[runtime::pallet_index(104)] + pub type VerifySignature = pallet_verify_signature::Pallet<Runtime>; + // BEEFY Bridges support. #[runtime::pallet_index(200)] pub type Beefy = pallet_beefy; @@ -1949,6 +1960,7 @@ mod benches { [pallet_whitelist, Whitelist] [pallet_asset_rate, AssetRate] [pallet_meta_tx, MetaTx] + [pallet_verify_signature, VerifySignature] // XCM [pallet_xcm, PalletXcmExtrinsicsBenchmark::<Runtime>] // NOTE: Make sure you point to the individual modules below.