Skip to content

Commit 679a44c

Browse files
authored
Merge pull request #2755 from input-output-hk/release-with-master
Merge release/4.5.0 and release/4.5.1 into master
2 parents fd86fd2 + df933c1 commit 679a44c

File tree

161 files changed

+3944
-2444
lines changed

Some content is hidden

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

161 files changed

+3944
-2444
lines changed

.nonsense

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

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# Changelog
22

3+
## 4.5.1
4+
5+
### Fixes
6+
7+
- Fixed cardano-node startup race condition
8+
- Fixed automatic closing of the wallet "Restoration" dialog during restoration of a first wallet in UI
9+
- Fixed Daedalus 4.5.0 Windows deployment issue
10+
11+
## 4.5.0
12+
13+
### Features
14+
15+
- Implemented "Catalyst Fund7" voting registration changes ([PR 2732](https://github.com/input-output-hk/daedalus/pull/2732))
16+
- Added "Over-saturation" warning in the delegation wizard ([PR 2733](https://github.com/input-output-hk/daedalus/pull/2733), [PR 2738](https://github.com/input-output-hk/daedalus/pull/2738))
17+
- Added Catalyst footer links ([PR 2721](https://github.com/input-output-hk/daedalus/pull/2721))
18+
19+
### Fixes
20+
21+
- Fixed the Delegation popover timeout ([PR 2722](https://github.com/input-output-hk/daedalus/pull/2722))
22+
- Fixed issues relating to minimum window size in Daedalus ([PR 2719](https://github.com/input-output-hk/daedalus/pull/2719))
23+
- Updated "Trezor T" image shown on the "Pair a hardware wallet device" dialog ([PR 2712](https://github.com/input-output-hk/daedalus/pull/2712))
24+
- Fixed transaction timestamps localization ([PR 2702](https://github.com/input-output-hk/daedalus/pull/2702))
25+
- Small UI/UX Fixes ([PR 2685](https://github.com/input-output-hk/daedalus/pull/2685), [PR 2744](https://github.com/input-output-hk/daedalus/pull/2744))
26+
27+
### Chores
28+
29+
- Removed "Alonzo tada" icon and "Alonzo countdown" screen ([PR 2708](https://github.com/input-output-hk/daedalus/pull/2708))
30+
- Improved the Daedalus startup by avoiding unnecessary Cardano Node restarts ([PR 2716](https://github.com/input-output-hk/daedalus/pull/2716))
31+
- Updated README with solution steps for the nix SSL issue ([PR 2727](https://github.com/input-output-hk/daedalus/pull/2727))
32+
- Covered LedgerJS v4.0.0 breaking changes ([PR 2697](https://github.com/input-output-hk/daedalus/pull/2697))
33+
- Added hardware wallet support for all non-public testnets ([PR 2672](https://github.com/input-output-hk/daedalus/pull/2672))
34+
335
## 4.4.1
436

537
### Fixes

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ Daedalus - Cryptocurrency Wallet
3535
```
3636
3. Run `nix-shell` with correct list of arguments or by using existing `package.json` scripts to load a shell with all the correct versions of all the required dependencies for development.
3737

38+
**Notes:**
39+
40+
If you get SSL error when running `nix-shell` (SSL peer certificate or SSH remote key was not OK) try the next steps:
41+
1. Reinstall nix
42+
```bash
43+
$ nix-env -e *
44+
$ curl -L https://nixos.org/nix/install | sh
45+
```
46+
2. Download certificate from https://docs.certifytheweb.com/docs/kb/kb-202109-letsencrypt/ and import to your keychain.
47+
3848
## Development
3949

4050
### Running Daedalus with Cardano Node

nix/sources.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,5 +134,6 @@ let
134134
# The "pkgs" (evaluated nixpkgs) to use for e.g. non-builtin fetchers
135135
inherit pkgs;
136136
};
137+
137138
in
138139
mkSources (mkConfig {}) // { __functor = _: settings: mkSources (mkConfig settings); }

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "daedalus",
33
"productName": "Daedalus",
4-
"version": "4.4.1",
4+
"version": "4.5.1",
55
"description": "Cryptocurrency Wallet",
66
"main": "./dist/main/index.js",
77
"scripts": {
@@ -167,7 +167,7 @@
167167
"yarn-lockfile": "1.1.1"
168168
},
169169
"dependencies": {
170-
"@cardano-foundation/ledgerjs-hw-app-cardano": "3.1.0",
170+
"@cardano-foundation/ledgerjs-hw-app-cardano": "4.0.0",
171171
"@iohk-jormungandr/wallet-js": "0.5.0-pre7",
172172
"@ledgerhq/hw-transport-node-hid": "5.51.1",
173173
"aes-js": "3.1.2",
@@ -228,7 +228,7 @@
228228
"react-intl": "2.7.2",
229229
"react-lottie": "1.2.3",
230230
"react-markdown": "4.3.1",
231-
"react-polymorph": "1.0.0-next.1",
231+
"react-polymorph": "1.0.1",
232232
"react-router": "5.2.0",
233233
"react-router-dom": "5.2.0",
234234
"react-svg-inline": "2.1.1",

source/common/types/cardano-node.types.js

Lines changed: 31 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
// @flow
2+
import {
3+
MAINNET,
4+
TESTNET,
5+
STAGING,
6+
SHELLEY_QA,
7+
ALONZO_PURPLE,
8+
SELFNODE,
9+
} from './environment.types';
10+
211
export type TlsConfig = {
312
hostname: string,
413
port: number,
@@ -142,17 +151,26 @@ export type CardanoStatus = {
142151
cardanoWalletPID: number,
143152
};
144153

145-
// Cardano Mainet network magic
146-
export const MAINNET_MAGIC = [1, null];
147-
148-
// Cardano Byron Testnet network magic
149-
export const TESTNET_MAGIC = [1097911063, 0];
150-
151-
// Cardano Staging network magic
152-
export const STAGING_MAGIC = [633343913, 1];
154+
export type NetworkMagicType = Array<?number>;
153155

154-
// Cardano Alonzo Purple network magic
155-
export const ALONZO_PURPLE_MAGIC = [8, 0];
156-
157-
// Cardano Selfnode network magic
158-
export const SELFNODE_MAGIC = MAINNET_MAGIC;
156+
export const NetworkMagics: {
157+
mainnet: NetworkMagicType,
158+
testnet: NetworkMagicType,
159+
staging: NetworkMagicType,
160+
alonzo_purple: NetworkMagicType,
161+
shelley_qa: NetworkMagicType,
162+
selfnode: NetworkMagicType,
163+
} = {
164+
// Cardano Mainet network magic
165+
[MAINNET]: [1, null],
166+
// Cardano Staging network magic
167+
[STAGING]: [633343913, 1],
168+
// Cardano Byron Testnet network magic
169+
[TESTNET]: [1097911063, 0],
170+
// Cardano Alonzo Purple network magic
171+
[ALONZO_PURPLE]: [8, 0],
172+
// Cardano Shelley QA network magic
173+
[SHELLEY_QA]: [3, 0],
174+
// Cardano Selfnode network magic
175+
[SELFNODE]: [1, null],
176+
};

source/common/types/environment.types.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export type Environment = {
1212
isStaging: boolean,
1313
isTestnet: boolean,
1414
isAlonzoPurple: boolean,
15+
isShelleyQA: boolean,
1516
isSelfnode: boolean,
1617
isDevelopment: boolean,
1718
isWatchMode: boolean,

source/common/types/hardware-wallets.types.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ export type LedgerSignTransactionRequest = {
262262
validityIntervalStartStr?: ?string, // It is disabled for now
263263
signingMode: string,
264264
auxiliaryData: ?LedgerAuxiliaryDataType,
265+
additionalWitnessPaths: Array<?BIP32Path>,
265266
};
266267

267268
export type TrezorSignTransactionRequest = {

source/common/types/no-disk-space.types.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ export type CheckDiskSpaceResponse = {
55
diskSpaceMissing: string,
66
diskSpaceRecommended: string,
77
diskSpaceAvailable: string,
8+
hadNotEnoughSpaceLeft: boolean,
89
};

source/common/utils/environmentCheckers.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import { upperFirst } from 'lodash';
33
import {
44
ALONZO_PURPLE,
5+
SHELLEY_QA,
56
DEVELOPMENT,
67
LINUX,
78
MAC_OS,
@@ -54,6 +55,7 @@ export const checkIsMainnet = (network: string) => network === MAINNET;
5455
export const checkIsTestnet = (network: string) => network === TESTNET;
5556
export const checkIsAlonzoPurple = (network: string) =>
5657
network === ALONZO_PURPLE;
58+
export const checkIsShelleyQA = (network: string) => network === SHELLEY_QA;
5759
export const checkIsStaging = (network: string) => network === STAGING;
5860
export const checkIsSelfnode = (network: string) => network === SELFNODE;
5961
export const checkIsDevelopment = (network: string) => network === DEVELOPMENT;

0 commit comments

Comments
 (0)