synapsecns/sanguine

View on GitHub
services/rfq/contracts/fastbridge/parser.go

Summary

Maintainability
A
1 hr
Test Coverage

Method parserImpl.ParseEvent has 13 return statements (exceeds 4 allowed).
Open

func (p parserImpl) ParseEvent(log ethTypes.Log) (_ EventType, event interface{}, ok bool) {
    // return an unknown event to avoid cases where user failed to check the event type
    // make it high enough to make it obvious (we start iotas at +1, see uber style guide for details)
    noOpEvent := EventType(len(topicMap()) + 2)

Severity: Major
Found in services/rfq/contracts/fastbridge/parser.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status