forge::revm::precompile::kzg_point_evaluation

Function kzg_to_versioned_hash

pub fn kzg_to_versioned_hash(commitment: &[u8]) -> [u8; 32]
Available on crate features c-kzg or kzg-rs only.
Expand description

VERSIONED_HASH_VERSION_KZG ++ sha256(commitment)[1..]