pub fn block_env_from_header(header: &impl BlockHeader) -> BlockEnv
Constructs a BlockEnv from a block header.
BlockEnv