Skip to content

Commit c5c7ff5

Browse files
authored
Merge pull request #3152 from input-output-hk/chore/ddw-1228-cardano-node-8.7.3
[LW-9778] Update cardano-node to 8.9.1 (via cardano-wallet)
2 parents c0e369e + 2f43e4e commit c5c7ff5

17 files changed

+146
-167
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
- Make Windows installer check if previous Daedalus is running ([PR 3141](https://github.com/input-output-hk/daedalus/pull/3141))
88
- Fixed out-of-memory errors on https://ci.iog.io ([PR 3145](https://github.com/input-output-hk/daedalus/pull/3145))
99

10+
### Chores
11+
12+
- Updated cardano-node to 8.9.1 (via cardano-wallet) ([PR 3152](https://github.com/input-output-hk/daedalus/pull/3152))
13+
1014
## 5.3.0
1115

1216
### Features

flake.lock

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

flake.nix

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
inputs = {
55
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-22.11-darwin";
6-
cardano-wallet-unpatched.url = "github:input-output-hk/cardano-wallet/v2023-04-14";
6+
cardano-wallet-unpatched.url = "github:cardano-foundation/cardano-wallet/v2024-03-27";
77
cardano-wallet-unpatched.flake = false; # otherwise, +10k quadratic dependencies in flake.lock…
8-
cardano-world.url = "github:input-output-hk/cardano-world/a0a315100ee320395be97fcc83f46678d5a7fb6e";
9-
cardano-world.flake = false; # otherwise, +19k quadratic dependencies in flake.lock…
8+
cardano-playground.url = "github:input-output-hk/cardano-playground";
9+
cardano-playground.flake = false; # otherwise, +9k dependencies in flake.lock…
1010
cardano-shell.url = "github:input-output-hk/cardano-shell/0d1d5f036c73d18e641412d2c58d4acda592d493";
1111
cardano-shell.flake = false;
1212
tullia.url = "github:input-output-hk/tullia";
@@ -38,6 +38,8 @@
3838
targetSystem: inputs.self.internal.${targetSystem}.unsignedInstaller
3939
);
4040
devshell = lib.genAttrs supportedSystems (system: inputs.self.devShells.${system}.default);
41+
# Exposing these DLLs for easier development/debugging on Windows:
42+
nativeModules.x86_64-windows = inputs.self.internal.x86_64-windows.nativeModulesZip;
4143
required = inputs.nixpkgs.legacyPackages.x86_64-linux.releaseTools.aggregate {
4244
name = "github-required";
4345
meta.description = "All jobs required to pass CI";

installers/common/MacInstaller.hs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -365,16 +365,15 @@ makeComponentRoot Options{oBackend,oCluster} appRoot darwinConfig@DarwinConfig{d
365365
forM_ ["config.yaml", "genesis.json", "topology.yaml" ] $ \f ->
366366
cp f (dataDir </> f)
367367
when (oCluster /= Selfnode) $ do
368-
forM_ ["genesis-byron.json", "genesis-shelley.json", "genesis-alonzo.json" ] $ \f ->
368+
forM_ ["genesis-byron.json", "genesis-shelley.json", "genesis-alonzo.json", "genesis-conway.json" ] $ \f ->
369369
cp f (dataDir </> f)
370370

371371
when (oCluster == Selfnode) $ do
372372
cp "signing.key" (dataDir </> "signing.key")
373373
cp "delegation.cert" (dataDir </> "delegation.cert")
374374
cp (bridge </> "bin" </> "mock-token-metadata-server") (dir </> "mock-token-metadata-server")
375375
cp (bridge </> "bin" </> "token-metadata.json") (dataDir </> "token-metadata.json")
376-
cp (bridge </> "bin" </> "local-cluster--unwrapped") (dir </> "local-cluster")
377-
cptreeL (bridge </> "bin" </> "test" </> "data") (dataDir </> "data")
376+
cp (bridge </> "bin" </> "local-cluster") (dir </> "local-cluster")
378377

379378
procs "chmod" ["-R", "+w", tt dir] empty
380379

installers/common/WindowsInstaller.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,12 +225,12 @@ writeInstallerNSIS outName (Version fullVersion') InstallerConfig{installDirecto
225225
file [] "topology.yaml"
226226
file [] "genesis.json"
227227
when (clusterName /= Selfnode) $ do
228+
file [] "genesis-conway.json"
228229
file [] "genesis-byron.json"
229230
file [] "genesis-shelley.json"
230231
file [] "genesis-alonzo.json"
231232
file [] "libsodium-23.dll"
232-
file [] "libsecp256k1-1.dll"
233-
file [] "libsecp256k1-0.dll"
233+
file [] "libsecp256k1-2.dll"
234234
file [] "libssl-3-x64.dll"
235235
file [] "libcrypto-3-x64.dll"
236236
when (clusterName == Selfnode) $ do
@@ -240,14 +240,14 @@ writeInstallerNSIS outName (Version fullVersion') InstallerConfig{installDirecto
240240
file [] "libgmpxx-4.dll"
241241
file [] "libwinpthread-1.dll"
242242
file [] "mock-token-metadata-server.exe"
243-
file [Recursive] "test\\"
244243
file [] "token-metadata.json"
245244
file [] "cardano-launcher.exe"
246245
file [] "libffi-8.dll"
247246
file [] "libgmp-10.dll"
248247
file [] "libstdc++-6.dll"
249248
file [] "mcfgthread-12.dll"
250249
file [] "libgcc_s_seh-1.dll"
250+
file [] "zlib1.dll"
251251
--file [] "cardano-x509-certificates.exe"
252252
--file [] "log-config-prod.yaml"
253253
--file [] "wallet-topology.yaml"

nix/devshells.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ let
3636
regenerateDevCerts
3737
] ++ (with pkgs; [
3838
nix bash binutils coreutils curl gnutar
39-
git python27 curl jq
39+
git python3 curl jq
4040
nodePackages.node-gyp nodePackages.node-pre-gyp
4141
gnumake
4242
pkgconfig
@@ -122,6 +122,8 @@ let
122122
mkdir -p "$CARDANO_WALLET_TLS_PATH"
123123
regenerate-dev-certs >/dev/null
124124
125+
${common.temporaryNodeModulesPatches}
126+
125127
echo
126128
echo 'Now, run ‘yarn dev’.'
127129
'';

nix/internal/any-darwin.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ let
2424
in rec {
2525

2626
inherit common;
27-
inherit (common) nodejs nodePackages yarn yarn2nix offlineCache srcLockfiles srcWithoutNix;
27+
inherit (common) nodejs yarn yarn2nix offlineCache srcLockfiles srcWithoutNix;
2828

2929
# The following is used in all `configurePhase`s:
3030
darwinSpecificCaches = let
@@ -137,6 +137,8 @@ in rec {
137137
patchShebangs .
138138
sed -r 's#.*patchElectronRebuild.*#${common.patchElectronRebuild}/bin/*#' -i scripts/rebuild-native-modules.sh
139139
140+
${common.temporaryNodeModulesPatches}
141+
140142
export DEVX_FIXME_DONT_YARN_INSTALL=1
141143
(
142144
cd installers/

nix/internal/cardano-bridge.nix

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,8 @@ runCommandCC "daedalus-cardano-bridge" {
2424
cp -f ${local-cluster}/bin/local-cluster .
2525
2626
'' else if target == "x86_64-darwin" || target == "aarch64-darwin" then ''
27-
# For nix-shell:
2827
cp -f ${local-cluster}/bin/local-cluster .
2928
30-
# For selfnode installer:
31-
cp -f ${local-cluster}/bin/.local-cluster-wrapped local-cluster--unwrapped
32-
mkdir -p test/data
33-
test_data_dir=$(cat local-cluster | grep -oP "SHELLEY_TEST_DATA='\K[^']+")
34-
cp -rf $test_data_dir test/data/
35-
3629
'' else abort "Unknown target: ${target}"}
3730
3831
cp -f ${mock-token-metadata-server}/bin/* . || true

nix/internal/cardano-wallet--enable-aarch64-darwin.patch

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
diff --git a/flake.nix b/flake.nix
2-
index af206a740e..ef05414b85 100644
2+
index e05d417f81..a985140f89 100644
33
--- a/flake.nix
44
+++ b/flake.nix
5-
@@ -432,6 +432,7 @@
6-
nixosTests = import ./nix/nixos/tests {
7-
inherit pkgs project;
5+
@@ -420,6 +420,7 @@
6+
inherit pkgs;
7+
project = walletProject;
88
};
9-
+ windowsPackages = mkPackages project.projectCross.mingwW64;
9+
+ windowsPackages = mkPackages walletProject.projectCross.mingwW64;
1010
}) // {
1111
# Continuous integration builds
1212
ci.tests.all = pkgs.releaseTools.aggregate {

0 commit comments

Comments
 (0)