mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-16 17:51:10 +00:00
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:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user