#[cfg(feature = "std")]
mod client_side;
#[cfg(feature = "std")]
pub use client_side::*;
use crate::inherents::{CheckInherentsResult, InherentData};
use crate::runtime::{traits::Block as BlockT, ApplyExtrinsicResult};
crate::api::decl_runtime_apis! {
#[api_version(6)]
pub trait BlockBuilder {
fn apply_extrinsic(extrinsic: <Block as BlockT>::Extrinsic) -> ApplyExtrinsicResult;
#[changed_in(6)]
fn apply_extrinsic(
extrinsic: <Block as BlockT>::Extrinsic,
) -> crate::runtime::legacy::byte_sized_error::ApplyExtrinsicResult;
#[renamed("finalise_block", 3)]
fn finalize_block() -> <Block as BlockT>::Header;
fn inherent_extrinsics(
inherent: InherentData,
) -> alloc::vec::Vec<<Block as BlockT>::Extrinsic>;
fn check_inherents(block: <Block as BlockT>::LazyBlock, data: InherentData) -> CheckInherentsResult;
}
}