pub fn block_env_from_header<T: EvmTypesHost>(
header: &impl BlockHeader,
) -> BlockEnv<T>Expand description
Constructs a block environment from a block header.
A header without mixHash leaves prevrandao at zero.
pub fn block_env_from_header<T: EvmTypesHost>(
header: &impl BlockHeader,
) -> BlockEnv<T>Constructs a block environment from a block header.
A header without mixHash leaves prevrandao at zero.