pub enum InvalidTransaction {
GasMaxFeeGreaterThanPriorityFee,
GasPriceLessThenBasefee,
CallerGasLimitMoreThenBlock,
CallGasCostMoreThenGasLimit,
RejectCallerWithCode,
LackOfFundForGasLimit,
OverflowPaymentInTransaction,
NonceOverflowInTransaction,
}
Variants§
GasMaxFeeGreaterThanPriorityFee
GasPriceLessThenBasefee
CallerGasLimitMoreThenBlock
CallGasCostMoreThenGasLimit
RejectCallerWithCode
EIP-3607 Reject transactions from senders with deployed code
LackOfFundForGasLimit
Transaction account does not have enough amount of ether to cover transferred value and gas_limit*gas_price.
OverflowPaymentInTransaction
Overflow payment in transaction.
NonceOverflowInTransaction
Nonce overflows in transaction,
Trait Implementations§
source§impl Clone for InvalidTransaction
impl Clone for InvalidTransaction
source§fn clone(&self) -> InvalidTransaction
fn clone(&self) -> InvalidTransaction
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 InvalidTransaction
impl Debug for InvalidTransaction
source§impl<DB> From<InvalidTransaction> for EVMError<DB>
impl<DB> From<InvalidTransaction> for EVMError<DB>
source§fn from(invalid: InvalidTransaction) -> Self
fn from(invalid: InvalidTransaction) -> Self
Converts to this type from the input type.
source§impl PartialEq<InvalidTransaction> for InvalidTransaction
impl PartialEq<InvalidTransaction> for InvalidTransaction
source§fn eq(&self, other: &InvalidTransaction) -> bool
fn eq(&self, other: &InvalidTransaction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.