ethereum.cancun.exceptions

Exceptions specific to this fork.

TransactionTypeError

Unknown EIP-2718 transaction type byte.

class TransactionTypeError:

transaction_type

17
    transaction_type: Final[int]

__init__

def __init__(self, ​​transaction_type: int):
23
        super().__init__(f"unknown transaction type `{transaction_type}`")
24
        self.transaction_type = transaction_type