referrerpolicy=no-referrer-when-downgrade

Function frame_system::extrinsics_root

source ·
pub fn extrinsics_root<H: Hash, E: Encode>(
    extrinsics: &[E],
    state_version: StateVersion,
) -> H::Output
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.