mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
feat(node): dev node print genesis account (#6819)
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
@@ -47,4 +47,4 @@ tokio = { workspace = true, features = [
|
||||
## misc
|
||||
eyre.workspace = true
|
||||
fdlimit = "0.3.0"
|
||||
confy.workspace = true
|
||||
confy.workspace = true
|
||||
|
||||
@@ -39,7 +39,7 @@ use reth_node_core::{
|
||||
};
|
||||
use reth_primitives::{
|
||||
constants::eip4844::{LoadKzgSettingsError, MAINNET_KZG_TRUSTED_SETUP},
|
||||
ChainSpec,
|
||||
format_ether, ChainSpec,
|
||||
};
|
||||
use reth_provider::{providers::BlockchainProvider, ChainSpecProvider, ProviderFactory};
|
||||
use reth_prune::{PrunerBuilder, PrunerEvent};
|
||||
@@ -444,6 +444,10 @@ where
|
||||
// Configure the pipeline
|
||||
let (mut pipeline, client) = if config.dev.dev {
|
||||
info!(target: "reth::cli", "Starting Reth in dev mode");
|
||||
for (idx, (address, alloc)) in config.chain.genesis.alloc.iter().enumerate() {
|
||||
info!(target: "reth::cli", "Allocated Genesis Account: {:02}. {} ({} ETH)", idx, address.to_string(), format_ether(alloc.balance));
|
||||
}
|
||||
|
||||
let mining_mode = config.mining_mode(transaction_pool.pending_transactions_listener());
|
||||
|
||||
let (_, client, mut task) = reth_auto_seal_consensus::AutoSealBuilder::new(
|
||||
|
||||
Reference in New Issue
Block a user