Skip to content

Commit c4469d8

Browse files
authored
Merge pull request #2618 from input-output-hk/release-with-master
Merge release/4.2.0 into master
2 parents 723e3ef + c24b986 commit c4469d8

File tree

550 files changed

+6556
-18872
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

550 files changed

+6556
-18872
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ cardano-wallet-http-bridge
100100
jcli
101101
/jormungandr
102102
cardano-http-bridge
103+
cardano-cli
103104
cardano-node
105+
cardano-wallet
104106

105107
# JS Launcher
106108
utils/js-launcher/state

.tm_properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
excludeDirectories = "{$excludeDirectories,dist,logs,node_modules,translations/messages}"

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,34 @@
11
Changelog
22
=========
33

4+
## 4.2.0
5+
6+
### Features
7+
8+
- Added voting registration with Trezor ([PR 2615](https://github.com/input-output-hk/daedalus/pull/2615))
9+
- Added voting registration with Ledger ([PR 2538](https://github.com/input-output-hk/daedalus/pull/2538))
10+
11+
## 4.2.0-FC1
12+
13+
### Features
14+
15+
- Implemented sharing multi-signature public key ([PR 2604](https://github.com/input-output-hk/daedalus/pull/2604))
16+
- Implemented the expandable token view ([PR 2589](https://github.com/input-output-hk/daedalus/pull/2589), [PR 2609](https://github.com/input-output-hk/daedalus/pull/2609))
17+
18+
### Fixes
19+
20+
- Fixed asset amount validation ([PR 2472](https://github.com/input-output-hk/daedalus/pull/2472))
21+
- Fixed incorrect global instances in scss files ([PR 2593](https://github.com/input-output-hk/daedalus/pull/2593))
22+
- Fixed "shelley-qa" network issue on "Delegation" wizard ([PR 2595](https://github.com/input-output-hk/daedalus/pull/2595))
23+
- Fixed Trezor transaction native tokens grouping issue ([PR 2594](https://github.com/input-output-hk/daedalus/pull/2594))
24+
- Fixed notes field visibility for software wallets on Share Wallet Address dialog ([PR 2582](https://github.com/input-output-hk/daedalus/pull/2582))
25+
26+
### Chores
27+
28+
- Disabled Fund5 voting registration ([PR 2608](https://github.com/input-output-hk/daedalus/pull/2608))
29+
- Updated Fund5 registaration start date ([PR 2607](https://github.com/input-output-hk/daedalus/pull/2607))
30+
- Removed Jormungandr integration and legacy clusters ([PR 2579](https://github.com/input-output-hk/daedalus/pull/2579))
31+
432
## 4.1.0
533

634
### Features

README.md

Lines changed: 3 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
# Daedalus
66
[![Build status](https://badge.buildkite.com/e173494257519752d79bb52c7859df6277c6d759b217b68384.svg?branch=master)](https://buildkite.com/input-output-hk/daedalus)
7-
[![Windows build status](https://ci.appveyor.com/api/projects/status/github/input-output-hk/daedalus?branch=master&svg=true)](https://ci.appveyor.com/project/input-output/daedalus)
87
[![Release](https://img.shields.io/github/release/input-output-hk/daedalus.svg)](https://github.com/input-output-hk/daedalus/releases)
98

109
Daedalus - Cryptocurrency Wallet
@@ -89,20 +88,7 @@ Daedalus - Cryptocurrency Wallet
8988
1. Run `yarn nix:staging` from `daedalus`.
9089
2. Run `yarn dev` from the subsequent `nix-shell`
9190

92-
#### Shelley Local
93-
94-
1. Run `nix-shell -A devops` from `daedalus`.
95-
2. Run `start-cluster` to launch the cluster (run `stop-cluster` to stop it).
96-
3. Run `yarn nix:shelley_local` from `daedalus` in a separate Terminal window.
97-
4. Run `yarn dev` from the subsequent `nix-shell`
98-
5. Once Daedalus has started, and has gotten past the loading screen, run `yarn shelley:wallet:importer` from a new terminal window. This is only required if you wish to import some funded wallets.
99-
100-
#### Shelley Testnet
101-
102-
1. Run `yarn nix:shelley_testnet` from `daedalus`.
103-
2. Run `yarn dev` from the subsequent `nix-shell`
104-
105-
#### Shelley QA Testnet
91+
#### Shelley QA
10692

10793
1. Run `yarn nix:shelley_qa` from `daedalus`.
10894
2. Run `yarn dev` from the subsequent `nix-shell`
@@ -138,31 +124,7 @@ http://localhost:65432/metadata/query
138124
```
139125
... and expect a "200 OK" response.
140126

141-
142-
### Running Daedalus with Jormungandr
143-
144-
#### ITN Selfnode
145-
146-
1. Run `yarn nix:itn_selfnode` from `daedalus`.
147-
2. Run `yarn dev` from the subsequent `nix-shell`
148-
3. Once Daedalus has started, and has gotten past the loading screen, run `yarn itn:shelley:wallet:importer` from a new terminal window. This is only required if you wish to import some funded wallets. It is also possible to import funded legacy wallets by running `yarn itn:byron:wallet:importer` script.
149-
150-
#### ITN Rewards V1
151-
152-
1. Run `yarn nix:itn` from `daedalus`.
153-
2. Run `yarn dev` from the subsequent `nix-shell`
154-
155-
#### QA Testnet
156-
157-
1. Run `yarn nix:qa` from `daedalus`.
158-
2. Run `yarn dev` from the subsequent `nix-shell`
159-
160-
#### Nightly Testnet
161-
162-
1. Run `yarn nix:nightly` from `daedalus`.
163-
2. Run `yarn dev` from the subsequent `nix-shell`
164-
165-
### Updating upstream dependencies (cardano-wallet, cardano-node & Jormungandr)
127+
### Updating upstream dependencies (cardano-wallet, cardano-node, and iohk-nix)
166128

167129
`Niv` is used to manage the version of upstream dependencies. The versions of these dependencies can be seen in `nix/sources.json`.
168130

@@ -208,7 +170,7 @@ externals: ['bootstrap']
208170
## Testing
209171

210172
You can find more details regarding tests setup within
211-
[Running Daedalus acceptance tests](https://github.com/input-output-hk/daedalus/blob/master/features/README.md) README file.
173+
[Running Daedalus acceptance tests](https://github.com/input-output-hk/daedalus/blob/master/tests/README.md) README file.
212174

213175
**Notes:** Be aware that only a single Daedalus instance can run per state directory.
214176
So you have to exit any development instances before running tests!

appveyor.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

cardano-sl-src.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

default.nix

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
let
2-
itn_clusters = [ "itn_rewards_v1" "qa" "nightly" "itn_selfnode" ];
3-
getDefaultBackend = cluster: if (builtins.elem cluster itn_clusters) then "jormungandr" else "cardano";
4-
in
51
{ target ? builtins.currentSystem
6-
, nodeImplementation ? (getDefaultBackend cluster)
2+
, nodeImplementation ? "cardano"
73
, localLib ? import ./lib.nix { inherit nodeImplementation; }
84
, cluster ? "mainnet"
95
, version ? "versionNotSet"
@@ -55,7 +51,6 @@ let
5551
ostable.x86_64-darwin = "macos64";
5652
packages = self: {
5753
inherit cluster pkgs version target nodeImplementation;
58-
jormungandrLib = localLib.iohkNix.jormungandrLib;
5954
cardanoLib = localLib.iohkNix.cardanoLib;
6055
daedalus-bridge = self.bridgeTable.${nodeImplementation};
6156

@@ -76,7 +71,6 @@ let
7671

7772
sources = localLib.sources;
7873
bridgeTable = {
79-
jormungandr = self.callPackage ./nix/jormungandr-bridge.nix {};
8074
cardano = self.callPackage ./nix/cardano-bridge.nix {
8175
cardano-wallet = self.cardano-wallet.cardano-wallet;
8276
cardanoWalletPkgs = self.cardano-wallet.pkgs;
@@ -123,19 +117,13 @@ let
123117
nsis = nsisNixPkgs.callPackage ./nix/nsis.nix {};
124118

125119
launcherConfigs = self.callPackage ./nix/launcher-config.nix {
126-
inherit (self) jormungandrLib;
127120
inherit devShell topologyOverride configOverride genesisOverride;
128121
network = cluster;
129122
os = ostable.${target};
130123
backend = nodeImplementation;
131124
runCommandNative = pkgsNative.runCommand;
132125
};
133126

134-
itnClustersFile = writeTextFile {
135-
name = "itn-clusters";
136-
text = concatStringsSep " " itn_clusters;
137-
};
138-
139127
unsignedUnpackedCardano = self.daedalus-bridge; # TODO
140128
unpackedCardano = if dummyInstaller then self.dummyUnpacked else (if needSignedBinaries then self.signedCardano else self.unsignedUnpackedCardano);
141129
signFile = file: let
@@ -207,7 +195,7 @@ let
207195
'';
208196

209197
nsisFiles = let
210-
nodeImplementation' = if nodeImplementation == "jormungandr" then nodeImplementation else "${nodeImplementation}";
198+
nodeImplementation' = "${nodeImplementation}";
211199
in pkgs.runCommand "nsis-files" {
212200
buildInputs = [ self.daedalus-installer pkgs.glibcLocales ];
213201
} ''

docker-compose.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

installers/Spec.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ macBuildSpec = do
4040
{ oOS = Win64
4141
, oBackend = Cardano daedalusBridge
4242
, oBuildJob = Just (BuildJob "test")
43-
, oCluster = Nightly
43+
, oCluster = Testnet
4444
, oAppName = "Daedalus"
4545
, oOutputDir = out
4646
, oTestInstaller = testInstaller False
@@ -123,8 +123,8 @@ utilSpec = do
123123

124124
describe "Package filename generation" $ do
125125
it "generates a good filename for windows" $ do
126-
let f = packageFileName Win64 Nightly (Version "0.4.2") (Cardano "") "9.9" (Just "job.id")
127-
f `shouldBe` (fromText "daedalus-0.4.2-cardano-sl-9.9-nightly-windows-job.id.exe")
126+
let f = packageFileName Win64 Testnet (Version "0.4.2") (Cardano "") "9.9" (Just "job.id")
127+
f `shouldBe` (fromText "daedalus-0.4.2-cardano-sl-9.9-testnet-windows-job.id.exe")
128128

129129
----------------------------------------------------------------------------
130130
-- Tests for Hydra downloading (yes it's in the AppVeyor module)

installers/common/Config.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,9 @@ optionsParser detectedOS = Options
9494
<*> (optional $ optPath "signing-config" 'k' "the path to the json file describing the product signing config")
9595

9696
backendOptionParser :: Parser Backend
97-
backendOptionParser = enableJormungandr <|> cardano
97+
backendOptionParser = cardano
9898
where
9999
cardano = Cardano <$> optPath "cardano" 'S' "Use Cardano backend with given Daedalus bridge path"
100-
enableJormungandr = Jormungandr <$> optPath "jormungandr" 'j' "use Jormungandr backend"
101100

102101
-- | Render a FilePath with POSIX-style forward slashes, which is the
103102
-- Dhall syntax.

0 commit comments

Comments
 (0)