primitives: rm alloy Withdrawals reexport (#12421)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Thomas Coratger
2024-11-09 14:09:46 +01:00
committed by GitHub
parent ae257f5685
commit 59ebebaa63
32 changed files with 104 additions and 71 deletions

View File

@ -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

View File

@ -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};