pub fn bake(mut self) -> error::Result<Block> {
		self.header = self.api.finalize_block_with_context(&self.block_id, ExecutionContext::BlockConstruction)?;

		debug_assert_eq!(
			self.header.extrinsics_root().clone(),
			HashFor::<Block>::ordered_trie_root(self.extrinsics.iter().map(Encode::encode)),
		);

		Ok(<Block as BlockT>::new(self.header, self.extrinsics))
	}
/// Consume the builder to return a valid `Block` containing all pushed extrinsics.
Consume the builder to return a valid `Block` containing all pushed extrinsics.
Consume the builder to return a valid ` Block ` containing all pushed extrinsics .
pub fn bake(mut self) -> error::Result<Block> {
		self.header = self.api.finalize_block_with_context(&self.block_id, ExecutionContext::BlockConstruction)?;
		debug_assert_eq!(
			self.header.extrinsics_root().clone(),
			HashFor::<Block>::ordered_trie_root(self.extrinsics.iter().map(Encode::encode)),
		);
		Ok(<Block as BlockT>::new(self.header, self.extrinsics))
	}
pub fn bake ( mut self ) -> error :: Result < Block > { self . header = self . api . finalize_block_with_context ( & self . block_id , ExecutionContext :: BlockConstruction ) ? ; debug_assert_eq ! ( self header extrinsics_root ( ) clone ( ) HashFor Block ordered_trie_root ( self extrinsics iter ( ) map ( Encode encode ) ) ) ; Ok ( < Block as BlockT > :: new ( self . header , self . extrinsics ) ) }
Consume the builder to return a valid `Block` containing all pushed extrinsics.
Consume the builder to return a valid ` Block ` containing all pushed extrinsics .
mut self
mut self