From 66f03f491fa02e0ddf9f6817b7f7582ef08f60cc Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Mon, 9 Sep 2019 12:57:59 -0500 Subject: [PATCH] log raw incoming gossip data --- beacon_chain/eth2_network.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/beacon_chain/eth2_network.nim b/beacon_chain/eth2_network.nim index ecdd79c9e..0ba80290a 100644 --- a/beacon_chain/eth2_network.nim +++ b/beacon_chain/eth2_network.nim @@ -248,6 +248,8 @@ else: result = proc(api: DaemonAPI, ticket: PubsubTicket, msg: PubSubMessage): Future[bool] {.async.} = + trace "Incoming gossip bytes", + peer = msg.peer, len = msg.data.len, tops = msg.topics msgHandler SSZ.decode(msg.data, MsgType) return true