mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-12 07:55:11 -05:00
feat: add is eip4844 fn (#4147)
This commit is contained in:
@@ -90,7 +90,7 @@ pub use transaction::{
|
||||
IntoRecoveredTransaction, InvalidTransactionError, Signature, Transaction, TransactionKind,
|
||||
TransactionMeta, TransactionSigned, TransactionSignedEcRecovered, TransactionSignedNoHash,
|
||||
TxEip1559, TxEip2930, TxEip4844, TxLegacy, TxType, EIP1559_TX_TYPE_ID, EIP2930_TX_TYPE_ID,
|
||||
LEGACY_TX_TYPE_ID,
|
||||
EIP4844_TX_TYPE_ID, LEGACY_TX_TYPE_ID,
|
||||
};
|
||||
pub use withdrawal::Withdrawal;
|
||||
|
||||
|
||||
@@ -14,7 +14,9 @@ use reth_rlp::{
|
||||
use serde::{Deserialize, Serialize};
|
||||
pub use signature::Signature;
|
||||
use std::mem;
|
||||
pub use tx_type::{TxType, EIP1559_TX_TYPE_ID, EIP2930_TX_TYPE_ID, LEGACY_TX_TYPE_ID};
|
||||
pub use tx_type::{
|
||||
TxType, EIP1559_TX_TYPE_ID, EIP2930_TX_TYPE_ID, EIP4844_TX_TYPE_ID, LEGACY_TX_TYPE_ID,
|
||||
};
|
||||
|
||||
pub use eip1559::TxEip1559;
|
||||
pub use eip2930::TxEip2930;
|
||||
|
||||
@@ -13,8 +13,7 @@ pub const EIP2930_TX_TYPE_ID: u8 = 1;
|
||||
pub const EIP1559_TX_TYPE_ID: u8 = 2;
|
||||
|
||||
/// Identifier for [TxEip4844](crate::TxEip4844) transaction.
|
||||
#[allow(unused)]
|
||||
pub(crate) const EIP4844_TX_TYPE_ID: u8 = 3;
|
||||
pub const EIP4844_TX_TYPE_ID: u8 = 3;
|
||||
|
||||
/// Transaction Type
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user