bool_to_b256

Function bool_to_b256 

pub const fn bool_to_b256(value: bool) -> &'static FixedBytes<32>
Available on crate feature evm only.
Expand description

Converts a boolean to a left-padded B256 value.

This is optimized to not allocate at runtime by using 2 static arrays.