mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
primitives: rm TxKind reexport (#11197)
This commit is contained in:
@ -75,7 +75,7 @@ pub use alloy_primitives::{
|
||||
eip191_hash_message, hex, hex_literal, keccak256, ruint,
|
||||
utils::format_ether,
|
||||
Address, BlockHash, BlockNumber, Bloom, BloomInput, Bytes, ChainId, Selector, StorageKey,
|
||||
StorageValue, TxHash, TxIndex, TxKind, TxNumber, B128, B256, B512, B64, U128, U256, U64, U8,
|
||||
StorageValue, TxHash, TxIndex, TxNumber, B128, B256, B512, B64, U128, U256, U64, U8,
|
||||
};
|
||||
pub use reth_ethereum_forks::*;
|
||||
pub use revm_primitives::{self, JumpTable};
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
use crate::{Address, Transaction, TransactionSigned, TxKind, U256};
|
||||
use crate::{Address, Transaction, TransactionSigned, U256};
|
||||
use alloy_primitives::TxKind;
|
||||
use revm_primitives::{AuthorizationList, TxEnv};
|
||||
|
||||
/// Implements behaviour to fill a [`TxEnv`] from another transaction.
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
//! Transaction types.
|
||||
|
||||
use crate::{keccak256, Address, BlockHashOrNumber, Bytes, TxHash, TxKind, B256, U256};
|
||||
use crate::{keccak256, Address, BlockHashOrNumber, Bytes, TxHash, B256, U256};
|
||||
use alloy_eips::eip7702::SignedAuthorization;
|
||||
use alloy_primitives::TxKind;
|
||||
|
||||
use alloy_consensus::SignableTransaction;
|
||||
use alloy_eips::eip2930::AccessList;
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
//! L1 `eth` API types.
|
||||
|
||||
use alloy_network::{AnyNetwork, Network};
|
||||
use alloy_primitives::TxKind;
|
||||
use alloy_rpc_types::{Transaction, TransactionInfo};
|
||||
use alloy_serde::WithOtherFields;
|
||||
use reth_primitives::{Address, TransactionSignedEcRecovered, TxKind};
|
||||
use reth_primitives::{Address, TransactionSignedEcRecovered};
|
||||
use reth_rpc_types_compat::{
|
||||
transaction::{from_primitive_signature, GasPrice},
|
||||
TransactionCompat,
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
//! Dummy blocks and data for tests
|
||||
use crate::{DatabaseProviderRW, ExecutionOutcome};
|
||||
use alloy_primitives::{Log, Parity, Sealable};
|
||||
use alloy_primitives::{Log, Parity, Sealable, TxKind};
|
||||
use once_cell::sync::Lazy;
|
||||
use reth_db::tables;
|
||||
use reth_db_api::{database::Database, models::StoredBlockBodyIndices};
|
||||
use reth_primitives::{
|
||||
alloy_primitives, b256, hex_literal::hex, Account, Address, BlockBody, BlockNumber, Bytes,
|
||||
Header, Receipt, SealedBlock, SealedBlockWithSenders, SealedHeader, Signature, Transaction,
|
||||
TransactionSigned, TxKind, TxLegacy, TxType, Withdrawal, Withdrawals, B256, U256,
|
||||
TransactionSigned, TxLegacy, TxType, Withdrawal, Withdrawals, B256, U256,
|
||||
};
|
||||
use reth_trie::root::{state_root_unhashed, storage_root_unhashed};
|
||||
use revm::{
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
use crate::EthPooledTransaction;
|
||||
use alloy_eips::eip2930::AccessList;
|
||||
use alloy_primitives::{Address, B256, U256};
|
||||
use alloy_primitives::{Address, TxKind, B256, U256};
|
||||
use rand::Rng;
|
||||
use reth_chainspec::MAINNET;
|
||||
use reth_primitives::{
|
||||
constants::MIN_PROTOCOL_BASE_FEE, sign_message, Bytes, Transaction, TransactionSigned,
|
||||
TxEip1559, TxEip4844, TxKind, TxLegacy,
|
||||
TxEip1559, TxEip4844, TxLegacy,
|
||||
};
|
||||
|
||||
/// A generator for transactions for testing purposes.
|
||||
|
||||
Reference in New Issue
Block a user