graph/db+sqldb: implement ChanUpdatesInHorizon

Add `ChanUpdatesInHorizon` method to the SQLStore. This lets us run
`TestChanUpdatesInHorizon` against our SQL backends.
This commit is contained in:
Elle Mouton
2025-06-11 16:23:36 +02:00
parent 45c15646c6
commit 39e521e12b
5 changed files with 413 additions and 10 deletions

View File

@@ -1937,7 +1937,7 @@ func TestChanUpdatesInHorizon(t *testing.T) {
t.Parallel()
ctx := context.Background()
graph := MakeTestGraph(t)
graph := MakeTestGraphNew(t)
// If we issue an arbitrary query before any channel updates are
// inserted in the database, we should get zero results.