diff --git a/waku/nwaku.go b/waku/nwaku.go index b6ab7d7..f9098fc 100644 --- a/waku/nwaku.go +++ b/waku/nwaku.go @@ -360,6 +360,7 @@ type WakuConfig struct { PeerExchange bool `json:"peerExchange,omitempty"` PeerExchangeNode string `json:"peerExchangeNode,omitempty"` TcpPort int `json:"tcpPort,omitempty"` + MetricsLogging bool `json:"metricsLogging,omitempty"` } // Waku represents a dark communication interface through the Ethereum diff --git a/waku/nwaku_test.go b/waku/nwaku_test.go index 1301fdb..df905a6 100644 --- a/waku/nwaku_test.go +++ b/waku/nwaku_test.go @@ -352,6 +352,7 @@ func TestDial(t *testing.T) { Shards: []uint16{64}, Discv5UdpPort: 9030, TcpPort: 60030, + MetricsLogging: true, } dialerNode, err := New(&dialerNodeWakuConfig, logger.Named("dialerNode")) @@ -368,6 +369,7 @@ func TestDial(t *testing.T) { Shards: []uint16{64}, Discv5UdpPort: 9031, TcpPort: 60031, + MetricsLogging: true, } receiverNode, err := New(&receiverNodeWakuConfig, logger.Named("receiverNode")) require.NoError(t, err)