This commit is contained in:
Gabriel mermelstein 2024-12-23 17:20:48 +01:00
parent 7eb7647599
commit 3c10486d64
No known key found for this signature in database
GPG Key ID: 82B8134785FEAE0D
2 changed files with 3 additions and 0 deletions

View File

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

View File

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