Properly declare #[pallet::validate_unsigned] in ParachainSystem (#537)

* Properly declare #[pallet::validate_unsigned] in ParachainSystem

* Add ValidateUnsigned to construct_runtime in ParachainSystem tests
This commit is contained in:
Keith Yeung
2021-07-14 18:26:34 -07:00
committed by GitHub
parent 612efa740a
commit d0fd40d290
2 changed files with 24 additions and 23 deletions
@@ -49,7 +49,7 @@ frame_support::construct_runtime!(
UncheckedExtrinsic = UncheckedExtrinsic,
{
System: frame_system::{Pallet, Call, Config, Storage, Event<T>},
ParachainSystem: parachain_system::{Pallet, Call, Storage, Event<T>},
ParachainSystem: parachain_system::{Pallet, Call, Storage, Event<T>, ValidateUnsigned},
}
);