waku-org/go-waku

View on GitHub
waku/v2/protocol/rln/rln_relay_test.go

Summary

Maintainability
A
2 hrs
Test Coverage

Method WakuRLNRelaySuite.TestValidateMessage has 67 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (s *WakuRLNRelaySuite) TestValidateMessage() {
    groupKeyPairs, _, err := r.CreateMembershipList(100)
    s.Require().NoError(err)

    ctx, cancel := context.WithCancel(context.Background())
Severity: Minor
Found in waku/v2/protocol/rln/rln_relay_test.go - About 1 hr to fix

    Method WakuRLNRelaySuite.TestUpdateLogAndHasDuplicate has 55 lines of code (exceeds 50 allowed). Consider refactoring.
    Open

    func (s *WakuRLNRelaySuite) TestUpdateLogAndHasDuplicate() {
    
        rlnInstance, err := r.NewRLN()
        s.Require().NoError(err)
    
    
    Severity: Minor
    Found in waku/v2/protocol/rln/rln_relay_test.go - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status