chore: use reth_chainspec where possible (#8891)

This commit is contained in:
joshieDo
2024-06-17 18:09:09 +02:00
committed by GitHub
parent 01d81b4dcc
commit 2a5c93fab3
183 changed files with 430 additions and 261 deletions

View File

@ -16,6 +16,7 @@ ef-tests = []
asm-keccak = ["reth-primitives/asm-keccak"]
[dependencies]
reth-chainspec.workspace = true
reth-primitives.workspace = true
reth-db = { workspace = true, features = ["mdbx", "test-utils", "disable-lock"] }
reth-db-api.workspace = true

View File

@ -1,15 +1,15 @@
//! Shared models for <https://github.com/ethereum/tests>
use crate::{assert::assert_equal, Error};
use reth_chainspec::{ChainSpec, ChainSpecBuilder};
use reth_db::tables;
use reth_db_api::{
cursor::DbDupCursorRO,
transaction::{DbTx, DbTxMut},
};
use reth_primitives::{
keccak256, Account as RethAccount, Address, Bloom, Bytecode, Bytes, ChainSpec,
ChainSpecBuilder, Header as RethHeader, SealedHeader, StorageEntry, Withdrawals, B256, B64,
U256,
keccak256, Account as RethAccount, Address, Bloom, Bytecode, Bytes, Header as RethHeader,
SealedHeader, StorageEntry, Withdrawals, B256, B64, U256,
};
use serde::Deserialize;
use std::{collections::BTreeMap, ops::Deref};