mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
primitives: rm alloy_consensus::transaction reexports (#11191)
This commit is contained in:
@ -11,7 +11,7 @@ use serde::{Deserialize, Serialize};
|
||||
/// By deriving `Compact` here, any future changes or enhancements to the `Compact` derive
|
||||
/// will automatically apply to this type.
|
||||
///
|
||||
/// Notice: Make sure this struct is 1:1 with [`alloy_consensus::transaction::TxEip1559`]
|
||||
/// Notice: Make sure this struct is 1:1 with [`alloy_consensus::TxEip1559`]
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Hash, Compact, Default, Serialize, Deserialize)]
|
||||
#[cfg_attr(test, derive(arbitrary::Arbitrary))]
|
||||
#[cfg_attr(test, crate::add_arbitrary_tests(compact))]
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
use crate::Compact;
|
||||
use alloy_consensus::transaction::TxEip2930 as AlloyTxEip2930;
|
||||
use alloy_consensus::TxEip2930 as AlloyTxEip2930;
|
||||
use alloy_eips::eip2930::AccessList;
|
||||
use alloy_primitives::{Bytes, ChainId, TxKind, U256};
|
||||
use reth_codecs_derive::add_arbitrary_tests;
|
||||
@ -12,7 +12,7 @@ use serde::{Deserialize, Serialize};
|
||||
/// By deriving `Compact` here, any future changes or enhancements to the `Compact` derive
|
||||
/// will automatically apply to this type.
|
||||
///
|
||||
/// Notice: Make sure this struct is 1:1 with [`alloy_consensus::transaction::TxEip2930`]
|
||||
/// Notice: Make sure this struct is 1:1 with [`alloy_consensus::TxEip2930`]
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Hash, Default, Serialize, Deserialize, Compact)]
|
||||
#[cfg_attr(test, derive(arbitrary::Arbitrary))]
|
||||
#[add_arbitrary_tests(compact)]
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
use crate::{Compact, CompactPlaceholder};
|
||||
use alloc::vec::Vec;
|
||||
use alloy_consensus::transaction::TxEip4844 as AlloyTxEip4844;
|
||||
use alloy_consensus::TxEip4844 as AlloyTxEip4844;
|
||||
use alloy_eips::eip2930::AccessList;
|
||||
use alloy_primitives::{Address, Bytes, ChainId, B256, U256};
|
||||
use reth_codecs_derive::add_arbitrary_tests;
|
||||
@ -13,7 +13,7 @@ use serde::{Deserialize, Serialize};
|
||||
/// By deriving `Compact` here, any future changes or enhancements to the `Compact` derive
|
||||
/// will automatically apply to this type.
|
||||
///
|
||||
/// Notice: Make sure this struct is 1:1 with [`alloy_consensus::transaction::TxEip4844`]
|
||||
/// Notice: Make sure this struct is 1:1 with [`alloy_consensus::TxEip4844`]
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Hash, Default, Serialize, Deserialize, Compact)]
|
||||
#[cfg_attr(test, derive(arbitrary::Arbitrary))]
|
||||
#[add_arbitrary_tests(compact)]
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
use crate::Compact;
|
||||
use alloc::vec::Vec;
|
||||
use alloy_consensus::transaction::TxEip7702 as AlloyTxEip7702;
|
||||
use alloy_consensus::TxEip7702 as AlloyTxEip7702;
|
||||
use alloy_eips::{eip2930::AccessList, eip7702::SignedAuthorization};
|
||||
use alloy_primitives::{Address, Bytes, ChainId, U256};
|
||||
use reth_codecs_derive::add_arbitrary_tests;
|
||||
@ -13,7 +13,7 @@ use serde::{Deserialize, Serialize};
|
||||
/// By deriving `Compact` here, any future changes or enhancements to the `Compact` derive
|
||||
/// will automatically apply to this type.
|
||||
///
|
||||
/// Notice: Make sure this struct is 1:1 with [`alloy_consensus::transaction::TxEip7702`]
|
||||
/// Notice: Make sure this struct is 1:1 with [`alloy_consensus::TxEip7702`]
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Hash, Default, Serialize, Deserialize, Compact)]
|
||||
#[cfg_attr(test, derive(arbitrary::Arbitrary))]
|
||||
#[add_arbitrary_tests(compact)]
|
||||
|
||||
Reference in New Issue
Block a user