Skip to content

Commit

Permalink
primitives: rm alloy_eips::eip7702 reexport (#11179)
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Seitz <[email protected]>
  • Loading branch information
tcoratger and mattsse committed Sep 25, 2024
1 parent 1994959 commit 53f23bf
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 11 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/e2e-test-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/e2e-test-utils/src/transaction.rs
Original file line number Diff line number Diff line change
@@ -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,
};
Expand All @@ -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)]
Expand Down
5 changes: 0 additions & 5 deletions crates/primitives/src/eip7702.rs

This file was deleted.

1 change: 0 additions & 1 deletion crates/primitives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 2 additions & 4 deletions crates/primitives/src/transaction/mod.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 53f23bf

Please sign in to comment.