revm_precompile::bn128

Function new_g1_point

Source
pub fn new_g1_point(px: Fq, py: Fq) -> Result<G1, PrecompileError>
Expand description

Creates a new G1 point from the given x and y coordinates.