primitives: rm alloy_eips::eip7702 reexport (#11179)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Thomas Coratger
2024-09-25 08:44:30 +02:00
committed by GitHub
parent 1994959fb2
commit 53f23bf3dc
6 changed files with 5 additions and 11 deletions

View File

@ -34,6 +34,7 @@ jsonrpsee.workspace = true
# ethereum
alloy-primitives.workspace = true
alloy-eips.workspace = true
op-alloy-rpc-types-engine.workspace = true
futures-util.workspace = true

View File

@ -1,4 +1,5 @@
use alloy_consensus::{EnvKzgSettings, SidecarBuilder, SimpleCoder, TxEip4844Variant, TxEnvelope};
use alloy_eips::eip7702::SignedAuthorization;
use alloy_network::{
eip2718::Encodable2718, Ethereum, EthereumWallet, TransactionBuilder, TransactionBuilder4844,
};
@ -7,7 +8,6 @@ use alloy_rpc_types::{Authorization, TransactionInput, TransactionRequest};
use alloy_signer::SignerSync;
use alloy_signer_local::PrivateKeySigner;
use eyre::Ok;
use reth_primitives::eip7702::SignedAuthorization;
/// Helper for transaction operations
#[derive(Debug)]

View File

@ -1,5 +0,0 @@
//! Types for working with EIP-7702 transactions.
/// Re-export from `alloy_eips`.
#[doc(inline)]
pub use alloy_eips::eip7702::{Authorization, SignedAuthorization};

View File

@ -28,7 +28,6 @@ mod block;
mod compression;
pub mod constants;
pub mod eip4844;
pub mod eip7702;
pub mod proofs;
mod receipt;
pub use reth_static_file_types as static_file;

View File

@ -1,9 +1,7 @@
//! Transaction types.
use crate::{
eip7702::SignedAuthorization, keccak256, Address, BlockHashOrNumber, Bytes, TxHash, TxKind,
B256, U256,
};
use crate::{keccak256, Address, BlockHashOrNumber, Bytes, TxHash, TxKind, B256, U256};
use alloy_eips::eip7702::SignedAuthorization;
use alloy_consensus::SignableTransaction;
use alloy_primitives::Parity;