lightninglabs / chantools

A loose collection of tools all somehow related to lnd and Lightning Network channels.
MIT License
222 stars 32 forks source link

update dependencies (LND v0.18.0-beta and co) #138

Closed starius closed 4 months ago

starius commented 4 months ago

Updated versions:

Pool version v0.6.5-beta.0.20240531084722-4000ec802aaa was used because it uses LND v0.18.0-beta, not v0.18.0-beta.rc3.

Fixed imports and API changes.

Updated Go version in README.

Updated LND version in cmd/chantools/root.go. Ran make docs.


Updated golangci-ling, because its old version crashed trying to parse Go 1.22.3 version:

level=error msg="Running error: context loading failed: failed to load packages: failed to load with go/packages: err: exit status 1: stderr: go: errors parsing go.mod:\n/build/go.mod:3: invalid go version '1.22.3': must match format 1.23\n"

lint: update configs, golangci-lint to v1.59.0 Remove deprecated and deactivated linters from .golangci.yml. Ignore too noisy linters: protogetter, depguard, mnd. Fix linter warnings. Use timeout instead of deadline in .golangci.yml.


test: don't modify test data

Copy a file to temp directory before opening it.

Fix https://github.com/lightninglabs/chantools/issues/139

starius commented 4 months ago

Updated PR. Loop just released loop v0.28.3, using it instead of a non-tagged commit.

starius commented 4 months ago

Updated PR. Updated LND to v0.18.0-beta.1.

starius commented 4 months ago

Updated PR.

Updated lndclient to v0.18.0-2. Changed the way golangci-lint is updated: pinned the version in go.mod, not in Dockerfile Fixed issue https://github.com/lightninglabs/chantools/issues/139 (don't modify test data files in tests).

lightninglabs-deploy commented 4 months ago

@guggero: review reminder