Function run

pub fn run(
    input: &[u8],
    gas_limit: u64,
) -> Result<PrecompileOutput, PrecompileError>
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