Adds log support for simulator

This commit is contained in:
Age Manning
2019-12-02 13:52:22 +11:00
parent e954a0ff1d
commit ec77c66a05
4 changed files with 10 additions and 3 deletions

View File

@@ -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"

View File

@@ -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";