mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
testing: clean up reth-primitives import (#10760)
This commit is contained in:
@ -16,6 +16,7 @@ reth-primitives = { workspace = true, features = ["secp256k1"] }
|
||||
|
||||
alloy-eips.workspace = true
|
||||
alloy-genesis.workspace = true
|
||||
alloy-primitives.workspace = true
|
||||
|
||||
rand.workspace = true
|
||||
secp256k1 = { workspace = true, features = ["rand"] }
|
||||
|
||||
@ -3,14 +3,14 @@
|
||||
use alloy_eips::{
|
||||
eip6110::DepositRequest, eip7002::WithdrawalRequest, eip7251::ConsolidationRequest,
|
||||
};
|
||||
use alloy_primitives::{Address, BlockNumber, Bytes, TxKind, B256, U256};
|
||||
pub use rand::Rng;
|
||||
use rand::{
|
||||
distributions::uniform::SampleRange, rngs::StdRng, seq::SliceRandom, thread_rng, SeedableRng,
|
||||
};
|
||||
use reth_primitives::{
|
||||
proofs, sign_message, Account, Address, BlockNumber, Bytes, Header, Log, Receipt, Request,
|
||||
Requests, SealedBlock, SealedHeader, StorageEntry, Transaction, TransactionSigned, TxKind,
|
||||
TxLegacy, Withdrawal, Withdrawals, B256, U256,
|
||||
proofs, sign_message, Account, Header, Log, Receipt, Request, Requests, SealedBlock,
|
||||
SealedHeader, StorageEntry, Transaction, TransactionSigned, TxLegacy, Withdrawal, Withdrawals,
|
||||
};
|
||||
use secp256k1::{Keypair, Secp256k1};
|
||||
use std::{
|
||||
|
||||
@ -2,7 +2,8 @@
|
||||
//! signers to the genesis block.
|
||||
|
||||
use alloy_genesis::GenesisAccount;
|
||||
use reth_primitives::{public_key_to_address, Address, Bytes, B256, U256};
|
||||
use alloy_primitives::{Address, Bytes, B256, U256};
|
||||
use reth_primitives::public_key_to_address;
|
||||
use secp256k1::{
|
||||
rand::{thread_rng, RngCore},
|
||||
Keypair, Secp256k1,
|
||||
|
||||
Reference in New Issue
Block a user