mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: use reth_chainspec where possible (#8891)
This commit is contained in:
@ -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
|
||||
|
||||
@ -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};
|
||||
|
||||
Reference in New Issue
Block a user