Closed aarongable closed 2 years ago
Ah, just noticed the tests are failing:
Error: monitor/sth_fetcher.go:130:21: undefined: merkle.NewLogVerifier
I noticed you included an update to .golangci.yml to bring it in line with what Boulder does. That looks good, but any idea why that was necessary to pass tests? If the current .golangci.yml was causing failures, I would have expected to see that in other recent PRs.
It's because I'd introduced two unnecessary conversions! Unfortunately I ran into the same thing as you, where the output of the linter was no help at showing me where the lints were coming from.
I still think bringing the set of lints we run in line with Boulder is a good thing, but I've also uploaded a new patchset with the unnecessary conversions removed and the "unconvert" linter re-enabled.
Update the few places we still used
github.com/google/trillian/merkle
types to instead use the correspondinggithub.com/transparency-dev/merkle
types.In order to do this, update the google/trillian dependency to v1.4.1. This brings in a number of other transitive dependency updates as well.
Fixes #121