mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 08:52:54 +00:00
Adds log support for simulator
This commit is contained in:
@@ -14,3 +14,4 @@ parking_lot = "0.9.0"
|
||||
futures = "0.1.29"
|
||||
tokio = "0.1.22"
|
||||
eth1_test_rig = { path = "../eth1_test_rig" }
|
||||
env_logger = "0.7.1"
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
mod checks;
|
||||
mod local_network;
|
||||
|
||||
use env_logger::{Builder, Env};
|
||||
use eth1_test_rig::GanacheEth1Instance;
|
||||
use futures::{future, stream, Future, Stream};
|
||||
use local_network::LocalNetwork;
|
||||
@@ -34,6 +35,9 @@ use types::MinimalEthSpec;
|
||||
pub type E = MinimalEthSpec;
|
||||
|
||||
fn main() {
|
||||
// Debugging output for libp2p and external crates.
|
||||
Builder::from_env(Env::default()).init();
|
||||
|
||||
let nodes = 4;
|
||||
let validators_per_node = 20;
|
||||
let log_level = "debug";
|
||||
|
||||
Reference in New Issue
Block a user