Skip to content

Commit 2e6ea1e

Browse files
authored
Merge branch 'master' into lc/nix-fixtures
2 parents 626a7ff + 0fed751 commit 2e6ea1e

File tree

16 files changed

+115
-53
lines changed

16 files changed

+115
-53
lines changed

.github/workflows/binaries.yaml

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,20 @@ on:
88
- release
99
tags:
1010
- "*.*.*"
11+
# Allows to trigger runs on any branch
12+
workflow_dispatch:
1113

1214
jobs:
1315
build-linux:
14-
name: "Build for x86_64-linux"
15-
runs-on: ubuntu-latest
16+
name: "Build for ${{ matrix.os.name }}"
17+
runs-on: ${{ matrix.os.name }}
18+
strategy:
19+
matrix:
20+
os:
21+
- name: ubuntu-latest
22+
arch: x86_linux
23+
- name: ubuntu-24.04-arm
24+
arch: aarm64
1625
steps:
1726
- name: 📥 Checkout repository
1827
uses: actions/checkout@v4
@@ -32,18 +41,25 @@ jobs:
3241
git fetch --tags --force
3342
echo "VERSION=$(git describe --always HEAD)" | tee "$GITHUB_ENV"
3443
35-
- name: ❄ Build static executables
44+
- name: ❄ Build executables on ${{ matrix.os.name }}
3645
# Produces static ELF binary for using MuslC which includes all needed
3746
# libraries statically linked into it.
3847
run: |
39-
nix build .#release-static
48+
# XXX: aarm64 can't build static binaries yet.
49+
# See: https://github.com/cardano-scaling/hydra/issues/2370
50+
if [[ "${{ matrix.os.name }}" == "ubuntu-latest" ]]; then
51+
nix build .#release-static
52+
else
53+
nix build .#release
54+
fi
55+
4056
# XXX: Why unzip https://github.com/actions/upload-artifact/issues/39
4157
unzip result/*.zip -d out
4258
4359
- name: 💾 Upload executables
4460
uses: actions/upload-artifact@v4
4561
with:
46-
name: hydra-x86_64-linux-${{ env.VERSION }} # automatically zips
62+
name: hydra-${{ matrix.os.arch }}-${{ env.VERSION }} # automatically zips
4763
path: out/*
4864

4965
build-macos:

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,12 @@ changes.
1111

1212
## [1.2.0] - UNRELEASED
1313

14+
- Add support for Blockfrost to the `hydra-tui` [#2032](https://github.com/cardano-scaling/hydra/issues/2032).
15+
1416
- `hydra-node` has a new endpoint `GET /head-initialization` which serves the timestamp of the last Head initialization.
1517

18+
- Tested with `cardano-node 10.5.3` and `cardano-cli 10.11.0.0`.
19+
1620

1721
## [1.1.0] - 2025-10-28
1822

demo/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
cardano-node:
3-
image: ghcr.io/intersectmbo/cardano-node:10.4.1
3+
image: ghcr.io/intersectmbo/cardano-node:10.5.3
44
volumes:
55
- ./devnet:/devnet
66
environment:

demo/seed-devnet.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function seedFaucet() {
8080
--tx-body-file ${DEVNET_DIR}/seed-${ACTOR}.draft \
8181
--signing-key-file ${DEVNET_DIR}/credentials/faucet.sk \
8282
--out-file ${DEVNET_DIR}/seed-${ACTOR}.signed >&2
83-
SEED_TXID=$(ccli_ conway transaction txid --tx-file ${DEVNET_DIR}/seed-${ACTOR}.signed | tr -d '\r')
83+
SEED_TXID=$(ccli_ conway transaction txid --tx-file ${DEVNET_DIR}/seed-${ACTOR}.signed | tr -d '\r' | jq '.txhash' -r)
8484
SEED_TXIN="${SEED_TXID}#0"
8585
ccli conway transaction submit --tx-file ${DEVNET_DIR}/seed-${ACTOR}.signed >&2
8686

docs/docs/tutorial/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ hydra_version=1.1.0
4949
curl -L -O https://github.com/cardano-scaling/hydra/releases/download/${hydra_version}/hydra-x86_64-linux-${hydra_version}.zip
5050
unzip -d bin hydra-x86_64-linux-${hydra_version}.zip
5151

52-
cardano_node_version=10.4.1
52+
cardano_node_version=10.5.3
5353
curl -L -O https://github.com/IntersectMBO/cardano-node/releases/download/${cardano_node_version}/cardano-node-${cardano_node_version}-linux.tar.gz
5454
tar xf cardano-node-${cardano_node_version}-linux.tar.gz ./bin/cardano-node ./bin/cardano-cli
5555
tar xf cardano-node-${cardano_node_version}-linux.tar.gz ./share/preprod --strip-components=3
@@ -75,7 +75,7 @@ hydra_version=1.1.0
7575
curl -L -O https://github.com/cardano-scaling/hydra/releases/download/${hydra_version}/hydra-aarch64-darwin-${hydra_version}.zip
7676
unzip -d bin hydra-aarch64-darwin-${hydra_version}.zip
7777

78-
cardano_node_version=10.4.1
78+
cardano_node_version=10.5.3
7979
curl -L -O https://github.com/IntersectMBO/cardano-node/releases/download/${cardano_node_version}/cardano-node-${cardano_node_version}-macos.tar.gz
8080
tar xf cardano-node-${cardano_node_version}-macos.tar.gz ./bin/cardano-node ./bin/cardano-cli './bin/*.dylib'
8181
tar xf cardano-node-${cardano_node_version}-macos.tar.gz --strip-components=3 ./share/preprod/

flake.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
flake = false;
66
};
77
aiken.url = "github:aiken-lang/aiken/v1.1.9";
8-
cardano-node.url = "github:intersectmbo/cardano-node/10.4.1";
8+
cardano-node.url = "github:intersectmbo/cardano-node/10.5.3";
99
flake-parts.url = "github:hercules-ci/flake-parts";
1010
haskellNix.url = "github:input-output-hk/haskell.nix";
1111
hydra-coding-standards.url = "github:cardano-scaling/hydra-coding-standards/0.6.5";

hydra-cluster/test/Test/CardanoNodeSpec.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ supportedNetworks :: [KnownNetwork]
2222
supportedNetworks = [Mainnet, Preproduction, Preview]
2323

2424
supportedCardanoNodeVersion :: String
25-
supportedCardanoNodeVersion = "10.4.1"
25+
supportedCardanoNodeVersion = "10.5.3"
2626

2727
forSupportedKnownNetworks :: String -> (KnownNetwork -> IO ()) -> Spec
2828
forSupportedKnownNetworks msg action = forEachKnownNetwork msg $ \network -> do

hydra-cluster/test/Test/Hydra/Cluster/CardanoCliSpec.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ spec =
3838
Just something -> something == "Tx ConwayEra"
3939

4040
it "has expected cardano-cli version available" $
41-
readProcess "cardano-cli" ["--version"] "" >>= (`shouldContain` "10.8.0.0")
41+
readProcess "cardano-cli" ["--version"] "" >>= (`shouldContain` "10.11.0.0")
4242

4343
around (showLogsOnFailure "CardanoCliSpec") $ do
4444
it "query protocol-parameters is compatible with our FromJSON instance" $ \tracer ->

hydra-node/src/Hydra/Chain/CardanoClient.hs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,6 @@ data CardanoClient = CardanoClient
5656
, networkId :: NetworkId
5757
}
5858

59-
-- | Construct a 'CardanoClient' handle.
60-
mkCardanoClient :: NetworkId -> SocketPath -> CardanoClient
61-
mkCardanoClient networkId nodeSocket =
62-
CardanoClient
63-
{ queryUTxOByAddress = queryUTxO networkId nodeSocket QueryTip
64-
, networkId
65-
}
66-
6759
-- * Tx Construction / Submission
6860

6961
-- | Submit a (signed) transaction to the node.

0 commit comments

Comments
 (0)