Function sc_block_builder_ver::apply_transaction_wrapper
source · pub fn apply_transaction_wrapper<'a, Block, Api>(
api: &<Api as ProvideRuntimeApi<Block>>::Api,
parent_hash: Block::Hash,
xt: Block::Extrinsic
) -> Result<ApplyExtrinsicResult, ApiError>where
Block: BlockT,
Api: ProvideRuntimeApi<Block> + 'a,
Api::Api: BlockBuilderApi<Block>,
Expand description
use proper api for applying extriniscs based on version