revm_precompile::utilities

Function bool_to_b256

Source
pub const fn bool_to_b256(value: bool) -> &'static B256
Expand description

Converts a boolean to a left-padded B256 value.

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