pub fn finalize_block() -> System::Header {
		<system::Module<System>>::note_finished_extrinsics();
		<AllModules as OnFinalize<System::BlockNumber>>::on_finalize(<system::Module<System>>::block_number());

		// setup extrinsics
		<system::Module<System>>::derive_extrinsics();
		<system::Module<System>>::finalize()
	}
/// Finalize the block - it is up the caller to ensure that all header fields are valid
/// except state-root.
Finalize the block - it is up the caller to ensure that all header fields are valid
except state-root.
Finalize the block - it is up the caller to ensure that all header fields are valid except state - root .
pub fn finalize_block() -> System::Header {
		<system::Module<System>>::note_finished_extrinsics();
		<AllModules as OnFinalize<System::BlockNumber>>::on_finalize(<system::Module<System>>::block_number());
		// setup extrinsics
		<system::Module<System>>::derive_extrinsics();
		<system::Module<System>>::finalize()
	}
pub fn finalize_block ( ) -> System :: Header { < system :: Module < System > > :: note_finished_extrinsics ( ) ; < AllModules as OnFinalize < System :: BlockNumber > > :: on_finalize ( < system :: Module < System > > :: block_number ( ) ) ; // setup extrinsics < system :: Module < System > > :: derive_extrinsics ( ) ; < system :: Module < System > > :: finalize ( ) }
Finalize the block - it is up the caller to ensure that all header fields are valid
except state-root.
Finalize the block - it is up the caller to ensure that all header fields are valid except state - root .