mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
chore: move IntegerList to reth-primitives-traits (#8948)
This commit is contained in:
@ -15,6 +15,7 @@ workspace = true
|
||||
# reth
|
||||
reth-db-api.workspace = true
|
||||
reth-primitives.workspace = true
|
||||
reth-primitives-traits.workspace = true
|
||||
reth-fs-util.workspace = true
|
||||
reth-storage-errors.workspace = true
|
||||
reth-libmdbx = { workspace = true, optional = true, features = [
|
||||
|
||||
@ -482,7 +482,8 @@ mod tests {
|
||||
table::{Encode, Table},
|
||||
};
|
||||
use reth_libmdbx::Error;
|
||||
use reth_primitives::{Account, Address, Header, IntegerList, StorageEntry, B256, U256};
|
||||
use reth_primitives::{Account, Address, Header, StorageEntry, B256, U256};
|
||||
use reth_primitives_traits::IntegerList;
|
||||
use reth_storage_errors::db::{DatabaseWriteError, DatabaseWriteOperation};
|
||||
use std::str::FromStr;
|
||||
use tempfile::TempDir;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
//! Curates the input coming from the fuzzer for certain types.
|
||||
|
||||
use reth_primitives::IntegerList;
|
||||
use reth_primitives_traits::IntegerList;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
/// Makes sure that the list provided by the fuzzer is not empty and pre-sorted
|
||||
|
||||
@ -19,6 +19,9 @@ macro_rules! impl_fuzzer_with_input {
|
||||
#[allow(unused_imports)]
|
||||
use reth_primitives::*;
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use reth_primitives_traits::*;
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::inputs::*;
|
||||
|
||||
|
||||
@ -32,9 +32,10 @@ use reth_db_api::{
|
||||
table::{Decode, DupSort, Encode, Table},
|
||||
};
|
||||
use reth_primitives::{
|
||||
Account, Address, BlockHash, BlockNumber, Bytecode, Header, IntegerList, Receipt, Requests,
|
||||
StorageEntry, TransactionSignedNoHash, TxHash, TxNumber, B256,
|
||||
Account, Address, BlockHash, BlockNumber, Bytecode, Header, Receipt, Requests, StorageEntry,
|
||||
TransactionSignedNoHash, TxHash, TxNumber, B256,
|
||||
};
|
||||
use reth_primitives_traits::IntegerList;
|
||||
use reth_prune_types::{PruneCheckpoint, PruneSegment};
|
||||
use reth_stages_types::StageCheckpoint;
|
||||
use reth_trie_common::{StorageTrieEntry, StoredBranchNode, StoredNibbles, StoredNibblesSubKey};
|
||||
|
||||
Reference in New Issue
Block a user