synapsecns/sanguine

View on GitHub
agents/testutil/contracttype.go

Summary

Maintainability
A
1 hr
Test Coverage

Method contractTypeImpl.ContractInfo has 56 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (c contractTypeImpl) ContractInfo() *compiler.Contract {
    switch c {
    case OriginType:
        return origin.Contracts["solidity/Origin.sol:Origin"]
    case MessageHarnessType:
Severity: Minor
Found in agents/testutil/contracttype.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status