mod: drop queue + kvdb replaces, require tagged versions
What changed, and why it matters
This commit is a routine dependency housekeeping change. It swaps two internal LND submodules (queue and kvdb) from being loaded from local folders to being loaded from their newly published version tags. The commit message explicitly states the tagged versions contain the exact same code as the local copies, so nothing in the built program changes. There is no security fix or vulnerability patch here.
No security action needed. Treat as normal build/dependency maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change updates go.mod to require github.com/lightningnetwork/lnd/kvdb v1.5.0 and github.com/lightningnetwork/lnd/queue v1.2.0, and removes the corresponding replace directives that pointed these modules at local directories (./queue and ./kvdb). go.sum is updated with the expected checksums for the tagged versions. A replace for the sqldb submodule is retained because it is not yet tagged. The commit message asserts the tags point at the same commits previously referenced locally, making this a no-op at the binary level.
Changed components
go.mod dependency managementgithub.com/lightningnetwork/lnd/queue submodulegithub.com/lightningnetwork/lnd/kvdb submoduleInspect captured patch +6 / −8
diff --git a/go.mod b/go.mod
index 0c6d51c..1e9f9e9 100644
--- a/go.mod
+++ b/go.mod
@@ -38,8 +38,8 @@ require (
github.com/lightningnetwork/lnd/clock v1.1.1
github.com/lightningnetwork/lnd/fn/v2 v2.0.9
github.com/lightningnetwork/lnd/healthcheck v1.2.6
- github.com/lightningnetwork/lnd/kvdb v1.4.16
- github.com/lightningnetwork/lnd/queue v1.1.1
+ github.com/lightningnetwork/lnd/kvdb v1.5.0
+ github.com/lightningnetwork/lnd/queue v1.2.0
github.com/lightningnetwork/lnd/sqldb v1.0.11
github.com/lightningnetwork/lnd/ticker v1.1.1
github.com/lightningnetwork/lnd/tlv v1.3.2
@@ -197,15 +197,9 @@ require (
sigs.k8s.io/yaml v1.2.0 // indirect
)
-// TODO(gijs): remove once new queue package is released.
-replace github.com/lightningnetwork/lnd/queue => ./queue
-
// TODO(elle): remove once the gossip V2 sqldb changes have been made.
replace github.com/lightningnetwork/lnd/sqldb => ./sqldb
-// TODO: remove once kvdb with pgx/v5 is released.
-replace github.com/lightningnetwork/lnd/kvdb => ./kvdb
-
// This replace is for https://github.com/advisories/GHSA-25xm-hr59-7c27
replace github.com/ulikunitz/xz => github.com/ulikunitz/xz v0.5.11
diff --git a/go.sum b/go.sum
index d905a5d..0d03a38 100644
--- a/go.sum
+++ b/go.sum
@@ -321,6 +321,10 @@ github.com/lightningnetwork/lnd/fn/v2 v2.0.9 h1:ZytG4ltPac/sCyg1EJDn10RGzPIDJeye
github.com/lightningnetwork/lnd/fn/v2 v2.0.9/go.mod h1:aPUJHJ31S+Lgoo8I5SxDIjnmeCifqujaiTXKZqpav3w=
github.com/lightningnetwork/lnd/healthcheck v1.2.6 h1:1sWhqr93GdkWy4+6U7JxBfcyZIE78MhIHTJZfPx7qqI=
github.com/lightningnetwork/lnd/healthcheck v1.2.6/go.mod h1:Mu02um4CWY/zdTOvFje7WJgJcHyX2zq/FG3MhOAiGaQ=
+github.com/lightningnetwork/lnd/kvdb v1.5.0 h1:Mglu7tGUdpFv8mDQTBIS2S8kwAz66MXlqUYUeaZ2+YQ=
+github.com/lightningnetwork/lnd/kvdb v1.5.0/go.mod h1:SxUoxWaMpyErZ2GM7maz661NQqwS8J/PUUQv6fnhzOI=
+github.com/lightningnetwork/lnd/queue v1.2.0 h1:sSrn+u84OLuOT/F+xGxgg8VfknXeIZEAFQoMH6BL60s=
+github.com/lightningnetwork/lnd/queue v1.2.0/go.mod h1:qLNP0L3B7piRGvDyhAyJKic4xTt+Mw4D7mWrQeuAwxY=
github.com/lightningnetwork/lnd/ticker v1.1.1 h1:J/b6N2hibFtC7JLV77ULQp++QLtCwT6ijJlbdiZFbSM=
github.com/lightningnetwork/lnd/ticker v1.1.1/go.mod h1:waPTRAAcwtu7Ji3+3k+u/xH5GHovTsCoSVpho0KDvdA=
github.com/lightningnetwork/lnd/tlv v1.3.2 h1:MO4FCk7F4k5xPMqVZF6Nb/kOpxlwPrUQpYjmyKny5s0=
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.