pub enum PrecompileError {
OutOfGas,
Blake2WrongLength,
Blake2WrongFinalIndicatorFlag,
ModexpExpOverflow,
ModexpBaseOverflow,
ModexpModOverflow,
Bn128FieldPointNotAMember,
Bn128AffineGFailedToCreate,
Bn128PairLength,
}
Variants§
OutOfGas
out of gas is the main error. Other are just here for completness
Blake2WrongLength
Blake2WrongFinalIndicatorFlag
ModexpExpOverflow
ModexpBaseOverflow
ModexpModOverflow
Bn128FieldPointNotAMember
Bn128AffineGFailedToCreate
Bn128PairLength
Trait Implementations§
source§impl Clone for PrecompileError
impl Clone for PrecompileError
source§fn clone(&self) -> PrecompileError
fn clone(&self) -> PrecompileError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PrecompileError
impl Debug for PrecompileError
source§impl PartialEq<PrecompileError> for PrecompileError
impl PartialEq<PrecompileError> for PrecompileError
source§fn eq(&self, other: &PrecompileError) -> bool
fn eq(&self, other: &PrecompileError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.