Small bug fixes from initial sim tests (#993)

* Debug logging and fixes

* Minor fixes

* Remove debugging statements
This commit is contained in:
Age Manning
2020-04-09 14:28:37 +10:00
committed by GitHub
parent 1779aa6a8a
commit 19b8c5a9e0
7 changed files with 52 additions and 31 deletions

View File

@@ -46,9 +46,10 @@ impl<E: EthSpec> LocalNetwork<E> {
context: RuntimeContext<E>,
mut beacon_config: ClientConfig,
) -> impl Future<Item = Self, Error = String> {
// Fix bootnode ports
beacon_config.network.discovery_port = BOOTNODE_PORT;
beacon_config.network.libp2p_port = BOOTNODE_PORT;
beacon_config.network.enr_udp_port = Some(BOOTNODE_PORT);
beacon_config.network.enr_tcp_port = Some(BOOTNODE_PORT);
LocalBeaconNode::production(context.service_context("boot_node".into()), beacon_config).map(
|beacon_node| Self {
inner: Arc::new(Inner {