referrerpolicy=no-referrer-when-downgrade
polkadot_sdk_frame::prelude::frame_system

Function extrinsics_data_root

pub fn extrinsics_data_root<H>(
    xts: Vec<Vec<u8>>,
    state_version: StateVersion,
) -> <H as Hash>::Output
where H: Hash,
Expand description

Compute the trie root of a list of extrinsics.

The merkle proof is using the same trie as runtime state with state_version 0 or 1.