Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
0b74fb8
[DDW-652] Hardware Wallets spending password issue with Trezor (#2520)
Apr 15, 2021
95f378b
[DDW-577] Introduce a fix for HW crashes when device is busy
Apr 16, 2021
501647e
[DDW-577] CHANGELOG update
Apr 16, 2021
7b28ff8
Merge pull request #2525 from input-output-hk/fix/ddw-577-hw-confirma…
nikolaglumac Apr 17, 2021
cec3b21
[DDW-657] Fix blank currency selection after updating to 4.0.5 (#2529)
thedanheller Apr 20, 2021
16acbca
[DDW-655] Update and migrate Ledger JS library to version 3.0.0. (#2530)
tomislavhoracek Apr 22, 2021
3383662
[DDW-658] Update trezor-connect dependency to version 8.1.26 (#2534)
tomislavhoracek Apr 22, 2021
d536fe9
[DDW-603] Enable pasting of wallet recovery phrase (#2459)
DeeJayElly Apr 22, 2021
316b522
[DDW-645] Update react-polymorph and implement the search style varia…
thedanheller Apr 27, 2021
e103a2f
[DDW-595] Warn user when pasting an address of the same wallet (#2506)
DeeJayElly Apr 29, 2021
0bf29cb
[DDW-656] Manually configurable decimal places for native tokens (#2533)
thedanheller Apr 29, 2021
d4a5722
Bumps Daedalus version to 4.1.0-FC1
nikolaglumac Apr 29, 2021
e2747c9
Fix transaction initialization issue on device reconnect (#2541)
tomislavhoracek Apr 30, 2021
01ece20
[DDW-669] Introduce a fix for HW transactions issue with the native t…
tomislavhoracek May 3, 2021
0600633
Merge pull request #2547 from input-output-hk/release-with-develop
nikolaglumac May 4, 2021
a25dcae
[DDW-622] Move currency related code into a dedicated store (#2546)
thedanheller May 5, 2021
2721a78
[DDW-661] Replace payment with staking address in Catalyst voting reg…
nikolaglumac May 5, 2021
22b5a02
[DDW-668] Bump cardano-wallet-version (#2551)
nikolaglumac May 6, 2021
71356e4
[DDW-491] Verify HW wallet receiving address - Ledger (#2282)
tomislavhoracek May 7, 2021
6e20847
[DDW-674] Integrate react-polymorph 1.0.0 release (#2549)
DominikGuzei May 7, 2021
6f45afb
[DDW-529] Verify HW wallet receiving address - Trezor (#2558)
tomislavhoracek May 12, 2021
daeef90
cardano-cli: default to version from cardano-wallet (#2561)
disassembler May 12, 2021
a2099bb
[DDW-629] Fix external currencies not appearing when not connected (#…
thedanheller May 13, 2021
460dee5
[DDW-641] Include wallet names in dialog windows (#2552)
DeeJayElly May 14, 2021
ae4955e
[DDW-635] Fix pool description scrolling and styling (#2564)
DominikGuzei May 14, 2021
e88dbbe
[DDW-665] Make the Wallets Dropdown agnostic (#2540)
thedanheller May 14, 2021
93ac4e7
[DDW-684] Fix stake pools pop over description scrollbar (#2568)
DominikGuzei May 17, 2021
6e2e1be
[DDW-686] Add the localized "noResultsMessage" message
thedanheller May 18, 2021
1afcd1c
[DDW-686] Translation manager
thedanheller May 18, 2021
502070d
[DDW-663] Use asset policyId+name as unique identifier instead of the…
thedanheller May 19, 2021
5d2ab09
Merge branch 'develop' of https://github.com/input-output-hk/daedalus…
thedanheller May 19, 2021
2c3a1de
[DDW-686] Fix wrong setState method
thedanheller May 19, 2021
d60c450
[DDW-686] Correct No Results message
thedanheller May 19, 2021
fbc81c8
[DDW-686] Fix flow and eslint issues
tomislavhoracek May 20, 2021
cc3d14d
Merge branch 'fix/ddw-686-validate-search-for-native-tokens-and-conve…
tomislavhoracek May 20, 2021
a97f09d
Merge pull request #2570 from input-output-hk/fix/ddw-686-validate-se…
DominikGuzei May 21, 2021
b64bcad
restoreKeystore extensions (#2445)
KtorZ May 25, 2021
12a0c06
[DDW-667] Use token decimal places info from the cardano-wallet Api (…
nikolaglumac May 29, 2021
80c3454
Prepare 4.1.0-FC1 release
nikolaglumac Jun 1, 2021
7566a5c
Updates Voting registration dates
nikolaglumac Jun 1, 2021
689d133
[DDW-697] Fix get account public key endpoint params (#2580)
nikolaglumac Jun 1, 2021
bad283b
Bump Daedalus version to 4.1.0, Enable voting registration on Mainnet
nikolaglumac Jun 2, 2021
22ea737
Enable Catalyst voting registration on Flight
nikolaglumac Jun 2, 2021
cb4554e
Merge branch 'master' into release-with-master
nikolaglumac Jun 4, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 43 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,49 @@
Changelog
=========

## 4.1.0

### Features

- Enabled Catalyst voting registration on Mainnet and Flight builds

## 4.1.0-FC1

### Features

- Integrated cardano-wallet Api native tokens decimal places value ([PR 2577](https://github.com/input-output-hk/daedalus/pull/2577))
- Added address verification for "Trezor" hardware wallet devices ([PR 2558](https://github.com/input-output-hk/daedalus/pull/2558))
- Added address verification for "Ledger" hardware wallet devices ([PR 2282](https://github.com/input-output-hk/daedalus/pull/2282))
- Implemented manually configurable decimal places for native tokens ([PR 2533](https://github.com/input-output-hk/daedalus/pull/2533))
- Added warning message when pasting an address of the same wallet in the send form ([PR 2506](https://github.com/input-output-hk/daedalus/pull/2506))
- Implemented select search style variables ([PR 2512](https://github.com/input-output-hk/daedalus/pull/2512))
- Enabled pasting of wallet recovery phrase ([PR 2459](https://github.com/input-output-hk/daedalus/pull/2459))

### Fixes

- Fixed pool description scrolling and styling ([PR 2556](https://github.com/input-output-hk/daedalus/pull/2564), [PR 2568](https://github.com/input-output-hk/daedalus/pull/2568))
- Fixed external currencies not appearing when not connected ([PR 2556](https://github.com/input-output-hk/daedalus/pull/2556))
- Fixed hardware wallets transactions issue with native tokens ([PR 2543](https://github.com/input-output-hk/daedalus/pull/2543))
- Fixed hardware wallets transaction initialization issue on device reconnect ([PR 2541](https://github.com/input-output-hk/daedalus/pull/2541))
- Fixed blank currency selection after updating to 4.0.5 ([PR 2529](https://github.com/input-output-hk/daedalus/pull/2529))
- Fixed hardware wallets confirmation crashing issue when device is in "Busy" state ([PR 2522](https://github.com/input-output-hk/daedalus/pull/2522))
- Fixed hardware wallets spending password issue ([PR 2519](https://github.com/input-output-hk/daedalus/pull/2519))

### Chores

- Updated wallet importer to extract private keys from 'WalletUserSecret' field ([PR 2445](https://github.com/input-output-hk/daedalus/pull/2445))
- Changed the assets identifiers from fingerprint to policyId+name ([PR 2562](https://github.com/input-output-hk/daedalus/pull/2562))
- Implemented the Items Dropdown component and simplified the Wallets and Assets Dropdowns ([PR 2540](https://github.com/input-output-hk/daedalus/pull/2540))
- Included wallet names in dialog windows ([PR 2552](https://github.com/input-output-hk/daedalus/pull/2552))
- Updated `cardano-cli` version to always match the one from `cardano-wallet` ([PR 2561](https://github.com/input-output-hk/daedalus/pull/2561))
- Updated `react-polymorph` to version `1.0.0` ([PR 2549](https://github.com/input-output-hk/daedalus/pull/2549))
- Updated `cardano-wallet` to version `2021-05-26` ([PR 2577](https://github.com/input-output-hk/daedalus/pull/2577), [PR 2580](https://github.com/input-output-hk/daedalus/pull/2580))
- Updated `cardano-wallet` to version `2021-04-28` and `cardano-node` to version `1.26.2` ([PR 2551](https://github.com/input-output-hk/daedalus/pull/2551))
- Updated Catalyst voting registration to include rewards address instead of the payment one ([PR 2550](https://github.com/input-output-hk/daedalus/pull/2550))
- Moved currency related code into a dedicated store ([PR 2546](https://github.com/input-output-hk/daedalus/pull/2546))
- Updated `trezor-connect` dependency to version `8.1.26` ([PR 2534](https://github.com/input-output-hk/daedalus/pull/2534))
- Updated `@cardano-foundation/ledgerjs-hw-app-cardano` package to version `3.0.0` ([PR 2530](https://github.com/input-output-hk/daedalus/pull/2530))

## 4.0.5

### Features
Expand Down Expand Up @@ -89,9 +132,6 @@ Changelog
### Features

- Added native token support [PR 2292](https://github.com/input-output-hk/daedalus/pull/2292)

### Features

- Enabled rewards withdrawals on hardware wallets ([PR 2408](https://github.com/input-output-hk/daedalus/pull/2408))

### Fixes
Expand Down
8 changes: 5 additions & 3 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ let
cardano-address = (import self.sources.cardano-wallet { inherit system; gitrev = self.sources.cardano-wallet.rev; crossSystem = crossSystem walletPkgs.lib; }).cardano-address;
mock-token-metadata-server = (import self.sources.cardano-wallet { inherit system; gitrev = self.sources.cardano-wallet.rev; crossSystem = crossSystem walletPkgs.lib; }).mock-token-metadata-server;
cardano-shell = import self.sources.cardano-shell { inherit system; crossSystem = crossSystem shellPkgs.lib; };
cardano-cli = (import self.sources.cardano-node { inherit system; crossSystem = crossSystem nodePkgs.lib; }).cardano-cli;
local-cluster = if cluster == "selfnode" then (import self.sources.cardano-wallet { inherit system; gitrev = self.sources.cardano-wallet.rev; crossSystem = crossSystem walletPkgs.lib; }).project.hsPkgs.cardano-wallet.components.exes.local-cluster else null;
local-cluster = if cluster == "selfnode" then (import self.sources.cardano-wallet { inherit system; gitrev = self.sources.cardano-wallet.rev; crossSystem = crossSystem walletPkgs.lib; }).local-cluster else null;
cardano-node-cluster = let
# Test wallets with known mnemonics
walletTestGenesisYaml = (self.sources.cardano-wallet + "/lib/shelley/test/data/cardano-node-shelley/genesis.yaml");
Expand All @@ -103,8 +102,11 @@ let
};
in (import self.sources.cardano-node { inherit system customConfig; crossSystem = crossSystem nodePkgs.lib; }).cluster;
cardano-node = if useLocalNode
then (import self.sources.cardano-node { inherit system; crossSystem = crossSystem nodePkgs.lib; }).haskellPackages.cardano-node.components.exes.cardano-node
then (import self.sources.cardano-node { inherit system; crossSystem = crossSystem nodePkgs.lib; }).cardano-node
else self.cardano-wallet.cardano-node;
cardano-cli = if useLocalNode
then (import self.sources.cardano-node { inherit system; crossSystem = crossSystem nodePkgs.lib; }).haskellPackages.cardano-cli
else self.cardano-wallet.cardano-cli;
darwin-launcher = self.callPackage ./nix/darwin-launcher.nix {};

# a cross-compiled fastlist for the ps-list package
Expand Down
6 changes: 3 additions & 3 deletions nix/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"homepage": null,
"owner": "input-output-hk",
"repo": "cardano-wallet",
"rev": "7df30796be8bab3351467ecdee5e803f0969b177",
"sha256": "158w18wgxmqh2l224llw9vmyk0677k1ainm2qw3ja6mkdi37xns9",
"rev": "7426ccc17ecffcc112abf5e8382bcb89cb24f771",
"sha256": "0ladc7bpy6fwvlsp2zjw3h8rm384w3qf93gvb1s6nn2n912sp7ck",
"type": "tarball",
"url": "https://github.com/input-output-hk/cardano-wallet/archive/7df30796be8bab3351467ecdee5e803f0969b177.tar.gz",
"url": "https://github.com/input-output-hk/cardano-wallet/archive/7426ccc17ecffcc112abf5e8382bcb89cb24f771.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"gitignore": {
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "daedalus",
"productName": "Daedalus",
"version": "4.0.5",
"version": "4.1.0",
"description": "Cryptocurrency Wallet",
"main": "./dist/main/index.js",
"scripts": {
Expand Down Expand Up @@ -86,6 +86,7 @@
"@babel/preset-flow": "7.8.3",
"@babel/preset-react": "7.0.0",
"@babel/register": "7.0.0",
"@dump247/storybook-state": "1.6.1",
"@storybook/addon-actions": "5.3.14",
"@storybook/addon-knobs": "5.3.14",
"@storybook/addon-links": "5.3.14",
Expand Down Expand Up @@ -173,7 +174,7 @@
"yarn-lockfile": "1.1.1"
},
"dependencies": {
"@cardano-foundation/ledgerjs-hw-app-cardano": "2.2.0",
"@cardano-foundation/ledgerjs-hw-app-cardano": "3.0.0",
"@iohk-jormungandr/wallet-js": "0.5.0-pre7",
"aes-js": "3.1.2",
"bech32": "2.0.0",
Expand Down Expand Up @@ -233,7 +234,7 @@
"react-intl": "2.7.2",
"react-lottie": "1.2.3",
"react-markdown": "4.3.1",
"react-polymorph": "0.9.8-rc.11",
"react-polymorph": "1.0.0-next.1",
"react-router": "5.2.0",
"react-router-dom": "5.2.0",
"react-svg-inline": "2.1.1",
Expand All @@ -250,7 +251,7 @@
"source-map-support": "0.5.19",
"spectron-fake-dialog": "0.0.1",
"tcp-port-used": "1.0.1",
"trezor-connect": "8.1.25-extended",
"trezor-connect": "8.1.26-extended",
"unorm": "1.6.0",
"validator": "13.1.17"
},
Expand Down
34 changes: 18 additions & 16 deletions source/common/config/electron-store.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,27 @@ export const STORAGE_TYPES: {
export const STORAGE_KEYS: {
[key: string]: StorageKey,
} = {
RESET: 'RESET',
USER_LOCALE: 'USER-LOCALE',
USER_NUMBER_FORMAT: 'USER-NUMBER-FORMAT',
USER_DATE_FORMAT_ENGLISH: 'USER-DATE-FORMAT-ENGLISH',
USER_DATE_FORMAT_JAPANESE: 'USER-DATE-FORMAT-JAPANESE',
USER_TIME_FORMAT: 'USER-TIME-FORMAT',
TERMS_OF_USE_ACCEPTANCE: 'TERMS-OF-USE-ACCEPTANCE',
THEME: 'THEME',
DATA_LAYER_MIGRATION_ACCEPTANCE: 'DATA-LAYER-MIGRATION-ACCEPTANCE',
READ_NEWS: 'READ-NEWS',
WALLETS: 'WALLETS',
HARDWARE_WALLETS: 'HARDWARE-WALLETS',
HARDWARE_WALLET_DEVICES: 'HARDWARE-WALLET-DEVICES',
WALLET_MIGRATION_STATUS: 'WALLET-MIGRATION-STATUS',
DOWNLOAD_MANAGER: 'DOWNLOAD-MANAGER',
APP_AUTOMATIC_UPDATE_FAILED: 'APP-AUTOMATIC-UPDATE-FAILED',
APP_UPDATE_COMPLETED: 'APP-UPDATE-COMPLETED',
CURRENCY_SELECTED: 'CURRENCY-SELECTED',
ASSET_DATA: 'ASSET-DATA',
ASSET_SETTINGS_DIALOG_WAS_OPENED: 'ASSET-SETTINGS-DIALOG-WAS-OPENED',
CURRENCY_ACTIVE: 'CURRENCY-ACTIVE',
CURRENCY_SELECTED: 'CURRENCY-SELECTED',
DATA_LAYER_MIGRATION_ACCEPTANCE: 'DATA-LAYER-MIGRATION-ACCEPTANCE',
DOWNLOAD_MANAGER: 'DOWNLOAD-MANAGER',
HARDWARE_WALLET_DEVICES: 'HARDWARE-WALLET-DEVICES',
HARDWARE_WALLETS: 'HARDWARE-WALLETS',
READ_NEWS: 'READ-NEWS',
RESET: 'RESET',
SMASH_SERVER: 'SMASH-SERVER',
STAKING_INFO_WAS_OPEN: 'STAKING-INFO-WAS-OPEN',
TERMS_OF_USE_ACCEPTANCE: 'TERMS-OF-USE-ACCEPTANCE',
THEME: 'THEME',
USER_DATE_FORMAT_ENGLISH: 'USER-DATE-FORMAT-ENGLISH',
USER_DATE_FORMAT_JAPANESE: 'USER-DATE-FORMAT-JAPANESE',
USER_LOCALE: 'USER-LOCALE',
USER_NUMBER_FORMAT: 'USER-NUMBER-FORMAT',
USER_TIME_FORMAT: 'USER-TIME-FORMAT',
WALLET_MIGRATION_STATUS: 'WALLET-MIGRATION-STATUS',
WALLETS: 'WALLETS',
};
34 changes: 34 additions & 0 deletions source/common/ipc/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,32 @@ export type DeriveXpubRendererRequestType = {
derivationScheme: number,
};

export type StakingBlockchainPointer = {
blockIndex: number,
txIndex: number,
certificateIndex: number,
};

export type deriveAddressRendererRequestType = {
devicePath: ?string,
addressType: number,
networkId: number,
protocolMagic: number,
spendingPathStr: string,
stakingPathStr: ?string,
isTrezor: boolean,
};

export type showAddressRendererRequestType = {
devicePath: ?string,
addressType: number,
networkId: number,
protocolMagic: number,
spendingPathStr: string,
stakingPathStr: ?string,
isTrezor: boolean,
};

/**
* Channel for introspecting an address
*/
Expand Down Expand Up @@ -477,3 +503,11 @@ export type deriveXpubMainResponse = string;
export const RESET_ACTION_TREZOR_CHANNEL = 'RESET_ACTION_TREZOR_CHANNEL';
export type resetTrezorActionRendererRequest = void;
export type resetTrezorActionMainResponse = void;

export const DERIVE_ADDRESS_CHANNEL = 'DERIVE_ADDRESS_CHANNEL';
export type deriveAddressRendererRequest = deriveAddressRendererRequestType;
export type deriveAddressMainResponse = string;

export const SHOW_ADDRESS_CHANNEL = 'SHOW_ADDRESS_CHANNEL';
export type showAddressRendererRequest = showAddressRendererRequestType;
export type showAddressMainResponse = void;
34 changes: 18 additions & 16 deletions source/common/types/electron-store.types.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,29 @@
export type StorageType = 'get' | 'set' | 'delete' | 'reset';

export type StorageKey =
| 'APP-AUTOMATIC-UPDATE-FAILED'
| 'APP-UPDATE-COMPLETED'
| 'ASSET-DATA'
| 'ASSET-SETTINGS-DIALOG-WAS-OPENED'
| 'CURRENCY-ACTIVE'
| 'CURRENCY-SELECTED'
| 'DATA-LAYER-MIGRATION-ACCEPTANCE'
| 'DOWNLOAD-MANAGER'
| 'HARDWARE-WALLET-DEVICES'
| 'HARDWARE-WALLETS'
| 'READ-NEWS'
| 'RESET'
| 'USER-LOCALE'
| 'USER-NUMBER-FORMAT'
| 'SMASH-SERVER'
| 'STAKING-INFO-WAS-OPEN'
| 'TERMS-OF-USE-ACCEPTANCE'
| 'THEME'
| 'USER-DATE-FORMAT-ENGLISH'
| 'USER-DATE-FORMAT-JAPANESE'
| 'USER-LOCALE'
| 'USER-NUMBER-FORMAT'
| 'USER-TIME-FORMAT'
| 'TERMS-OF-USE-ACCEPTANCE'
| 'THEME'
| 'DATA-LAYER-MIGRATION-ACCEPTANCE'
| 'READ-NEWS'
| 'WALLETS'
| 'HARDWARE-WALLETS'
| 'HARDWARE-WALLET-DEVICES'
| 'WALLET-MIGRATION-STATUS'
| 'DOWNLOAD-MANAGER'
| 'APP-AUTOMATIC-UPDATE-FAILED'
| 'APP-UPDATE-COMPLETED'
| 'CURRENCY-SELECTED'
| 'CURRENCY-ACTIVE'
| 'SMASH-SERVER'
| 'STAKING-INFO-WAS-OPEN';
| 'WALLETS';

export type StoreMessage = {
type: StorageType,
Expand Down
9 changes: 2 additions & 7 deletions source/common/types/hardware-wallets.types.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,6 @@ export type TransportDevice = {
firmwareVersion: ?string,
};

/* export type Certificate = {|
type: CertificateType,
path: BIP32Path,
poolKeyHashHex: ?string,
|}; */

export type Certificate = {
address: string,
type: string,
Expand Down Expand Up @@ -236,10 +230,11 @@ export type LedgerSignTransactionRequest = {
protocolMagic: number,
certificates: Array<?Certificate>,
withdrawals: Array<?Withdrawal>,
metadataHashHex: ?string,
auxiliaryData: ?string,
reset?: boolean,
devicePath: ?string,
validityIntervalStartStr?: string,
signingMode: string,
};

export type TrezorSignTransactionRequest = {
Expand Down
2 changes: 1 addition & 1 deletion source/main/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const isDevelopment = checkIsDevelopment(NETWORK);
const isWatchMode = process.env.IS_WATCH_MODE;
const keepLocalClusterRunning = process.env.KEEP_LOCAL_CLUSTER_RUNNING;
const API_VERSION = process.env.API_VERSION || 'dev';
const NODE_VERSION = '1.25.1'; // TODO: pick up this value from process.env
const NODE_VERSION = '1.26.2'; // TODO: pick up this value from process.env
const mainProcessID = get(process, 'ppid', '-');
const rendererProcessID = process.pid;
const PLATFORM = os.platform();
Expand Down
Loading