synapsecns/sanguine

View on GitHub
services/scribe/db/filter.go

Summary

Maintainability
A
1 hr
Test Coverage

Function BuildLogFilter has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

func BuildLogFilter(contractAddress *string, blockNumber *int, txHash *string, txIndex *int, blockHash *string, index *int, confirmed *bool) LogFilter {
Severity: Major
Found in services/scribe/db/filter.go - About 50 mins to fix

    Function BuildReceiptFilter has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    func BuildReceiptFilter(txHash *string, contractAddress *string, blockHash *string, blockNumber *int, transactionIndex *int, confirmed *bool) ReceiptFilter {
    Severity: Minor
    Found in services/scribe/db/filter.go - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status