From c608d3b4f83f7a2616e0cd72bf95922be7cd9c43 Mon Sep 17 00:00:00 2001 From: bruwbird Date: Fri, 15 Nov 2024 15:27:51 +0900 Subject: [PATCH 1/2] nixpkgs: update revision Update nixpkgs to revision 6915a163f351c32bd4557518d047725665e83d37 * Update cln to v24.08.02 * Update lnd to v0.18.3-beta * Update bitcoin to v28.0 --- flake.lock | 8 ++++---- flake.nix | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index bb9bfbe0..9218d50f 100644 --- a/flake.lock +++ b/flake.lock @@ -102,17 +102,17 @@ }, "nixpkgs": { "locked": { - "lastModified": 1725771415, - "narHash": "sha256-UzjfB9z3wDX91XTFo88J/s2qCzDKis7ZG+TmS2dYWOE=", + "lastModified": 1731650604, + "narHash": "sha256-GZKb4C4BceEsApitbnFqyeKqjJpVDgSumi4LzVR9Iq4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "fc13ad88bf7dbf2addb58f7e9d128c5547f59e93", + "rev": "6915a163f351c32bd4557518d047725665e83d37", "type": "github" }, "original": { "owner": "NixOS", "repo": "nixpkgs", - "rev": "fc13ad88bf7dbf2addb58f7e9d128c5547f59e93", + "rev": "6915a163f351c32bd4557518d047725665e83d37", "type": "github" } }, diff --git a/flake.nix b/flake.nix index ccb65925..8a213aa6 100644 --- a/flake.nix +++ b/flake.nix @@ -1,11 +1,11 @@ { inputs = { - # Pinning to revision fc13ad88bf7dbf2addb58f7e9d128c5547f59e93 - # - cln v24.08 - # - lnd v0.18.2-beta - # - bitcoin v27.1 + # Pinning to revision 6915a163f351c32bd4557518d047725665e83d37 + # - cln v24.08.02 + # - lnd v0.18.3-beta + # - bitcoin v28.0 # - elements v23.2.1 - nixpkgs.url = "github:NixOS/nixpkgs/fc13ad88bf7dbf2addb58f7e9d128c5547f59e93"; + nixpkgs.url = "github:NixOS/nixpkgs/6915a163f351c32bd4557518d047725665e83d37"; flake-utils.url = "github:numtide/flake-utils"; # blockstream-electrs: init at 0.4.1 #299761 # https://github.com/NixOS/nixpkgs/pull/299761/commits/680d27ad847801af781e0a99e4b87ed73965c69a From 590081dd855052b3653cd2ce2133ddd53ac201d5 Mon Sep 17 00:00:00 2001 From: bruwbird Date: Fri, 15 Nov 2024 08:50:12 +0000 Subject: [PATCH 2/2] testframework: add deprecatedrpc flag for warnings in BitcoinNode config --- testframework/elements.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testframework/elements.go b/testframework/elements.go index 38d6a630..7a30c918 100644 --- a/testframework/elements.go +++ b/testframework/elements.go @@ -93,6 +93,8 @@ func NewBitcoinNode(testDir string, id int) (*BitcoinNode, error) { "-txindex", "-nowallet", "-addresstype=bech32", + // https://github.com/lightningnetwork/lnd/issues/9163 + "-deprecatedrpc=warnings", } bitcoinConfig := getBitcoindConfig()