diff --git a/waku/v2/protocol/filter/test_utils.go b/waku/v2/protocol/filter/test_utils.go index fbb1c9dbf..a8d2af48e 100644 --- a/waku/v2/protocol/filter/test_utils.go +++ b/waku/v2/protocol/filter/test_utils.go @@ -113,7 +113,7 @@ func (s *FilterTestSuite) GetWakuRelay(topic string) FullNodeData { host, err := tests.MakeHost(context.Background(), port, rand.Reader) s.Require().NoError(err) - relay := relay.NewWakuRelay(broadcaster, 0, timesource.NewDefaultClock(), prometheus.DefaultRegisterer, s.Log) + relay := relay.NewWakuRelay(broadcaster, 0, timesource.NewDefaultClock(), prometheus.DefaultRegisterer, s.Log, relay.WithMaxMsgSize(1024*1024)) relay.SetHost(host) err = relay.Start(context.Background())