revm_precompile::kzg_point_evaluation

Function run

Source
pub fn run(input: &Bytes, gas_limit: u64) -> PrecompileResult
Expand description

Run kzg point evaluation precompile.

The Env has the KZGSettings that is needed for evaluation.

The input is encoded as follows: | versioned_hash | z | y | commitment | proof | | 32 | 32 | 32 | 48 | 48 | with z and y being padded 32 byte big endian values