mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
fix: transaction type not supported for any L2
This commit is contained in:
parent
663fa7b496
commit
d5658fdd1e
2 changed files with 4 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ const (
|
|||
DynamicFeeTxType = 0x02
|
||||
BlobTxType = 0x03
|
||||
SetCodeTxType = 0x04
|
||||
L1MessageTxType = 0x7e
|
||||
)
|
||||
|
||||
// Transaction is an Ethereum transaction.
|
||||
|
|
|
|||
|
|
@ -507,6 +507,9 @@ func (tx *Transaction) UnmarshalJSON(input []byte) error {
|
|||
}
|
||||
}
|
||||
|
||||
case L1MessageTxType:
|
||||
return nil
|
||||
|
||||
default:
|
||||
return ErrTxTypeNotSupported
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue