diff --git a/core/types/transaction.go b/core/types/transaction.go index 934feb7353..ee90dded73 100644 --- a/core/types/transaction.go +++ b/core/types/transaction.go @@ -49,6 +49,7 @@ const ( DynamicFeeTxType = 0x02 BlobTxType = 0x03 SetCodeTxType = 0x04 + L1MessageTxType = 0x7e ) // Transaction is an Ethereum transaction. diff --git a/core/types/transaction_marshalling.go b/core/types/transaction_marshalling.go index f76d4b92e9..42f11a8766 100644 --- a/core/types/transaction_marshalling.go +++ b/core/types/transaction_marshalling.go @@ -507,6 +507,9 @@ func (tx *Transaction) UnmarshalJSON(input []byte) error { } } + case L1MessageTxType: + return nil + default: return ErrTxTypeNotSupported }