mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
primitives: rm alloy Withdrawals reexport (#12421)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@@ -14,15 +14,19 @@ workspace = true
|
||||
[features]
|
||||
ef-tests = []
|
||||
asm-keccak = [
|
||||
"reth-primitives/asm-keccak",
|
||||
"alloy-primitives/asm-keccak",
|
||||
"revm/asm-keccak"
|
||||
"reth-primitives/asm-keccak",
|
||||
"alloy-primitives/asm-keccak",
|
||||
"revm/asm-keccak",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
reth-chainspec.workspace = true
|
||||
reth-primitives.workspace = true
|
||||
reth-db = { workspace = true, features = ["mdbx", "test-utils", "disable-lock"] }
|
||||
reth-db = { workspace = true, features = [
|
||||
"mdbx",
|
||||
"test-utils",
|
||||
"disable-lock",
|
||||
] }
|
||||
reth-db-api.workspace = true
|
||||
reth-provider = { workspace = true, features = ["test-utils"] }
|
||||
reth-stages.workspace = true
|
||||
@@ -33,6 +37,7 @@ revm = { workspace = true, features = ["secp256k1", "blst", "c-kzg"] }
|
||||
|
||||
alloy-rlp.workspace = true
|
||||
alloy-primitives.workspace = true
|
||||
alloy-eips.workspace = true
|
||||
|
||||
walkdir = "2.3.3"
|
||||
serde.workspace = true
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
//! Shared models for <https://github.com/ethereum/tests>
|
||||
|
||||
use crate::{assert::assert_equal, Error};
|
||||
use alloy_eips::eip4895::Withdrawals;
|
||||
use alloy_primitives::{keccak256, Address, Bloom, Bytes, B256, B64, U256};
|
||||
use reth_chainspec::{ChainSpec, ChainSpecBuilder};
|
||||
use reth_db::tables;
|
||||
@@ -9,7 +10,7 @@ use reth_db_api::{
|
||||
transaction::{DbTx, DbTxMut},
|
||||
};
|
||||
use reth_primitives::{
|
||||
Account as RethAccount, Bytecode, Header as RethHeader, SealedHeader, StorageEntry, Withdrawals,
|
||||
Account as RethAccount, Bytecode, Header as RethHeader, SealedHeader, StorageEntry,
|
||||
};
|
||||
use serde::Deserialize;
|
||||
use std::{collections::BTreeMap, ops::Deref};
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! Generators for different data structures like block headers, block bodies and ranges of those.
|
||||
|
||||
use alloy_consensus::{Transaction as _, TxLegacy};
|
||||
use alloy_eips::eip4895::Withdrawal;
|
||||
use alloy_eips::eip4895::{Withdrawal, Withdrawals};
|
||||
use alloy_primitives::{Address, BlockNumber, Bytes, Sealable, TxKind, B256, U256};
|
||||
pub use rand::Rng;
|
||||
use rand::{
|
||||
@@ -9,7 +9,7 @@ use rand::{
|
||||
};
|
||||
use reth_primitives::{
|
||||
proofs, sign_message, Account, BlockBody, Header, Log, Receipt, SealedBlock, SealedHeader,
|
||||
StorageEntry, Transaction, TransactionSigned, Withdrawals,
|
||||
StorageEntry, Transaction, TransactionSigned,
|
||||
};
|
||||
use secp256k1::{Keypair, Secp256k1};
|
||||
use std::{
|
||||
|
||||
Reference in New Issue
Block a user