ethereum.forks.arrow_glacier.exceptions
Exceptions specific to this fork.
TransactionTypeError
Unknown EIP-2718 transaction type byte.
class TransactionTypeError:
transaction_type
The type byte of the transaction that caused the error.
| 19 |     transaction_type: Final[int] | 
|---|
__init__
                def __init__(self, transaction_type: int):
            
| 25 |         super().__init__(f"unknown transaction type `{transaction_type}`") | 
|---|---|
| 26 |         self.transaction_type = transaction_type | 
InsufficientMaxFeePerGasError
The maximum fee per gas is insufficient for the transaction.
class InsufficientMaxFeePerGasError:
transaction_max_fee_per_gas
The maximum fee per gas specified in the transaction.
| 34 |     transaction_max_fee_per_gas: Final[Uint] | 
|---|
block_base_fee_per_gas
The base fee per gas of the block in which the transaction is included.
| 39 |     block_base_fee_per_gas: Final[Uint] | 
|---|
__init__
                def __init__(self, transaction_max_fee_per_gas: Uint, block_base_fee_per_gas: Uint):
            
| 47 |         super().__init__( | 
|---|---|
| 48 |             f"Insufficient max fee per gas " | 
| 49 |             f"({transaction_max_fee_per_gas} < {block_base_fee_per_gas})" | 
| 50 |         ) | 
| 51 |         self.transaction_max_fee_per_gas = transaction_max_fee_per_gas | 
| 52 |         self.block_base_fee_per_gas = block_base_fee_per_gas | 
PriorityFeeGreaterThanMaxFeeError
The priority fee is greater than the maximum fee per gas.
class PriorityFeeGreaterThanMaxFeeError: