Bring support for calling check_inherents (#490)

* Start

* More work

* Add proc-macro for `validate_block`

* Make everything compile

* Add some test
This commit is contained in:
Bastian Köcher authored and GitHub committed 2021-06-12 20:21:46 +02:00
1 parent 2f88be0874
commit d54fdd788e
20 files changed
+684 -326

No files matched your search

+6 -4
View File
@@ -25,10 +25,12 @@
//! ```
//!# struct Runtime;
//!# struct Executive;
//! cumulus_pallet_parachain_system::register_validate_block!(
//! Runtime,
//! cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,
//! );
//!# struct CheckInherents;
//! cumulus_pallet_parachain_system::register_validate_block! {
//! Runtime = Runtime,
//! BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,
//! CheckInherents = CheckInherents,
//! }
//! ```
#![cfg_attr(not(feature = "std"), no_std)]