Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

primitives: rm alloy_eips::eip7702 reexport #11179

Merged
merged 2 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading