Skip to content

Commit 3142c41

Browse files
committed
Update bitcoind used in CI to v28
1 parent 94194b5 commit 3142c41

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ electrsd = { version = "0.31.0", features = ["legacy", "esplora_a33e97e1", "core
102102

103103
[target.'cfg(no_download)'.dev-dependencies]
104104
electrsd = { version = "0.31.0", features = ["legacy"] }
105+
corepc-node = { version = "0.6.1", default-features = false, features = ["28_0"] }
105106

106107
[target.'cfg(cln_test)'.dev-dependencies]
107108
clightningrpc = { version = "0.3.0-beta.8", default-features = false }

scripts/download_bitcoind_electrs.sh

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#!/bin/bash
2+
set -eox pipefail
3+
14
# Our Esplora-based tests require `electrs` and `bitcoind`
25
# binaries. Here, we download the binaries, validate them, and export their
36
# location via `ELECTRS_EXE`/`BITCOIND_EXE` which will be used by the
@@ -7,19 +10,20 @@ HOST_PLATFORM="$(rustc --version --verbose | grep "host:" | awk '{ print $2 }')"
710
ELECTRS_DL_ENDPOINT="https://github.com/RCasatta/electrsd/releases/download/electrs_releases"
811
ELECTRS_VERSION="esplora_a33e97e1a1fc63fa9c20a116bb92579bbf43b254"
912
BITCOIND_DL_ENDPOINT="https://bitcoincore.org/bin/"
10-
BITCOIND_VERSION="25.1"
13+
BITCOIND_VERSION="28.1"
1114
if [[ "$HOST_PLATFORM" == *linux* ]]; then
1215
ELECTRS_DL_FILE_NAME=electrs_linux_"$ELECTRS_VERSION".zip
1316
ELECTRS_DL_HASH="865e26a96e8df77df01d96f2f569dcf9622fc87a8d99a9b8fe30861a4db9ddf1"
1417
BITCOIND_DL_FILE_NAME=bitcoin-"$BITCOIND_VERSION"-x86_64-linux-gnu.tar.gz
15-
BITCOIND_DL_HASH="a978c407b497a727f0444156e397b50491ce862d1f906fef9b521415b3611c8b"
18+
BITCOIND_DL_HASH="07f77afd326639145b9ba9562912b2ad2ccec47b8a305bd075b4f4cb127b7ed7"
1619
elif [[ "$HOST_PLATFORM" == *darwin* ]]; then
1720
ELECTRS_DL_FILE_NAME=electrs_macos_"$ELECTRS_VERSION".zip
1821
ELECTRS_DL_HASH="2d5ff149e8a2482d3658e9b386830dfc40c8fbd7c175ca7cbac58240a9505bcd"
1922
BITCOIND_DL_FILE_NAME=bitcoin-"$BITCOIND_VERSION"-x86_64-apple-darwin.tar.gz
20-
BITCOIND_DL_HASH="1acfde0ec3128381b83e3e5f54d1c7907871d324549129592144dd12a821eff1"
23+
BITCOIND_DL_HASH="c85d1a0ebedeff43b99db2c906b50f14547b84175a4d0ebb039a9809789af280"
2124
else
22-
echo "\n\nUnsupported platform: $HOST_PLATFORM Exiting.."
25+
printf "\n\n"
26+
echo "Unsupported platform: $HOST_PLATFORM Exiting.."
2327
exit 1
2428
fi
2529

0 commit comments

Comments
 (0)