pub const fn ensure_supported_bits(bits: u8) -> usize
Expand description
Ensuring only supported NUM_BITS
can be specified for SparseMerkleTree
.
This is essentially a workaround for the current Rust type system constraints that do not allow a nicer way to do the same thing at compile time.