Skip to content

Commit cf020c5

Browse files
committed
Merge tag '6.0.2'
Daedalus 6.0.2 release ; -----BEGIN PGP SIGNATURE----- ; ; iQJHBAABCgAxFiEE+cmdT4vmbTqno6wTuh9KoKGM3FoFAmb/49ITHG1pY2hhbC5y ; dXNAaW9oay5pbwAKCRC6H0qgoYzcWjBlD/4tJr1s2gYbUBT+jAU6G+kn+l5p3/b+ ; 4PtXcIaHlbLDLOaF0/WfYDvifhqMDStC62qLch0rAkMlx0KEeVZglfKRPBlRjqMK ; FUINtP25g/GierH3cu0Dw2YLvUVLNNd/VVxf1j9asLa8iyHVxG0lK/jCn0wwFIot ; aKD7zHzN3kT9vr90GW+U90lbACk34kxtuYjEUtavF/QEJ+ZqkC70yovDGLTWFZRA ; qUZ0XxFjLdAUi2Ncw1pcbyW23v7QN4SErPSp0d5UYeQBOSjvET5fP7KZ2ZCxEXrj ; avlA0UEaSdbhVACTZvz6S8UPnfUGYfrno2FmX9WTCmSfNJMwhdM7wCMwuLXNX/XR ; i5ldLadUeRCgAaKhUmJCOK/AsonRK5V6ku3TgoA/de7M6RxtIM+bgMOUoy18cM+b ; DgBMxTTcTum+Z3H60UtUMcY42y+YbofdXrZ7zmT/zQkOc85hlolsoDAtvxBs6mtI ; UxfhI4qCQ8WcPHOfvFvgAzznNiBP0TzDPbkBD7MxKqmJdJXUsDgqvW/LHKktKDbw ; mLAkfzGsK5+bUpLjR1mfqXupY86+vNNUC0nNKNIVlv7bl3t49MXwXNBuADgCP50V ; kvmFFyjEGETQzkNOP0SKCbZqvsYOR60gXeeN0t9yqyuBK2JwKLHAq1ys59zdEHql ; sopgzwow25OGVg== ; =OvBe ; -----END PGP SIGNATURE----- ; gpg: Signature made Fri 04 Oct 2024 14:47:14 CEST ; gpg: using RSA key F9C99D4F8BE66D3AA7A3AC13BA1F4AA0A18CDC5A ; gpg: issuer "[email protected]" ; gpg: Good signature from "Michal Rus <[email protected]>" [ultimate] ; Primary key fingerprint: F9C9 9D4F 8BE6 6D3A A7A3 AC13 BA1F 4AA0 A18C DC5A
2 parents 32cd032 + ca5b003 commit cf020c5

File tree

12 files changed

+45
-12
lines changed

12 files changed

+45
-12
lines changed

CHANGELOG.md

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

3+
## 6.0.2
4+
5+
### Fixes
6+
7+
- Fix token metadata server URL on all networks ([PR 3227](https://github.com/input-output-hk/daedalus/pull/3227))
8+
9+
- Un-brick auto-update on devices where it failed in the past ([PR 3223](https://github.com/input-output-hk/daedalus/pull/3223))
10+
11+
### Chores
12+
13+
- Decrease Catalyst voting power threshold from 500 to 25 ADA ([PR 3230](https://github.com/input-output-hk/daedalus/pull/3230))
14+
315
## 6.0.1
416

517
### Fixes

nix/internal/launcher-config.nix

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ let
3434
preview = "https://preview-smash.world.dev.cardano.org";
3535
};
3636

37+
tokenMetadataServers = {
38+
mainnet = "https://tokens.cardano.org";
39+
preprod = "https://metadata.world.dev.cardano.org";
40+
preview = "https://metadata.world.dev.cardano.org";
41+
};
42+
3743
fromCardanoPlayground = envName: let
3844
originalFiles = builtins.path {
3945
name = "cardano-playground-config-${envName}";
@@ -57,6 +63,7 @@ let
5763
cardanoEnv = {
5864
inherit nodeConfig;
5965
topologyFile = originalFiles + "/topology.json";
66+
metadataUrl = tokenMetadataServers.${envName};
6067
};
6168
};
6269

@@ -301,13 +308,13 @@ let
301308
topologyFile = mkConfigPath nodeConfigFiles "topology.yaml";
302309
};
303310
};
304-
} // (lib.optionalAttrs (network == "selfnode") {
311+
} // (lib.optionalAttrs (network != "selfnode") {
312+
metadataUrl = envCfg.metadataUrl;
313+
}) // (lib.optionalAttrs (network == "selfnode") {
305314
selfnodeBin = mkBinPath "local-cluster";
306315
mockTokenMetadataServerBin = mkBinPath "mock-token-metadata-server";
307316
}) // (lib.optionalAttrs (__hasAttr network smashServers) {
308317
smashUrl = smashServers.${network};
309-
}) // (lib.optionalAttrs (__hasAttr "metadataUrl" envCfg) {
310-
metadataUrl = envCfg.metadataUrl;
311318
});
312319

313320
installerConfig = {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "daedalus",
33
"productName": "Daedalus",
4-
"version": "6.0.1",
4+
"version": "6.0.2",
55
"description": "Cryptocurrency Wallet",
66
"main": "./dist/main/index.js",
77
"scripts": {

source/main/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export const DISK_SPACE_CHECK_TIMEOUT = 9 * 1000; // Timeout for checking disks
174174

175175
// Used if token metadata server URL is not defined in launcher config
176176
export const FALLBACK_TOKEN_METADATA_SERVER_URL =
177-
'https://metadata.cardano-testnet.iohkdev.io';
177+
'https://metadata.world.dev.cardano.org';
178178
export const MINIMUM_AMOUNT_OF_RAM_FOR_RTS_FLAGS = 16 * 1024 * 1024 * 1024; // 16gb RAM
179179

180180
// Used by mock-token-metadata-server

source/renderer/app/components/voting/voting-info/RegisterToVote.messages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const messages = defineMessages({
2020
step2CheckBoxLabel: {
2121
id: 'voting.registerToVote.step2CheckBoxLabel',
2222
defaultMessage:
23-
'!!!Ensure that you register and hold the necessary 500 ADA at the time of the snapshot.',
23+
'!!!Ensure that you register and hold the necessary {minVotingFunds} ADA at the time of the snapshot.',
2424
description: 'Second step to follow in order to vote',
2525
},
2626
buttonLabel: {

source/renderer/app/components/voting/voting-info/RegisterToVote.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import React, { useState } from 'react';
2+
import BigNumber from 'bignumber.js';
23
import { injectIntl } from 'react-intl';
34
import { Button } from 'react-polymorph/lib/components/Button';
45
import { Checkbox } from 'react-polymorph/lib/components/Checkbox';
56
import type { Intl } from '../../../types/i18nTypes';
67
import { messages } from './RegisterToVote.messages';
78
import { messages as votingMessages } from './VotingInfo.messages';
89
import styles from './RegisterToVote.scss';
10+
import { VOTING_REGISTRATION_MIN_WALLET_FUNDS } from '../../../config/votingConfig';
911

1012
type Props = {
1113
intl: Intl;
@@ -38,7 +40,11 @@ function RegisterToVote({ intl, onRegisterToVoteClick }: Props) {
3840
<div className={styles.step}>
3941
<Checkbox
4042
checked={step2}
41-
label={intl.formatMessage(messages.step2CheckBoxLabel)}
43+
label={intl.formatMessage(messages.step2CheckBoxLabel, {
44+
minVotingFunds: new BigNumber(
45+
VOTING_REGISTRATION_MIN_WALLET_FUNDS
46+
).toFormat(0),
47+
})}
4248
onChange={setStep2}
4349
/>
4450
</div>

source/renderer/app/config/votingConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const { isDev } = global.environment;
2-
export const VOTING_REGISTRATION_MIN_WALLET_FUNDS = 500; // 500 ADA | unit: ADA
2+
export const VOTING_REGISTRATION_MIN_WALLET_FUNDS = 25; // 25 ADA | unit: ADA
33
export const VOTING_REGISTRATION_FEE_CALCULATION_AMOUNT = 1; // 1 ADA | unit: ADA
44
export const VOTING_REGISTRATION_PIN_CODE_LENGTH = 4;
55
export const VOTING_REGISTRATION_MIN_TRANSACTION_CONFIRMATIONS = isDev ? 2 : 10;

source/renderer/app/i18n/locales/defaultMessages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4467,7 +4467,7 @@
44674467
"id": "voting.registerToVote.step1CheckBoxLabel"
44684468
},
44694469
{
4470-
"defaultMessage": "!!!Ensure that you register and hold the necessary 500 ADA at the time of the snapshot.",
4470+
"defaultMessage": "!!!Ensure that you register and hold the necessary {minVotingFunds} ADA at the time of the snapshot.",
44714471
"description": "Second step to follow in order to vote",
44724472
"id": "voting.registerToVote.step2CheckBoxLabel"
44734473
},

source/renderer/app/i18n/locales/en-US.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@
728728
"voting.registerToVote.header": "Register to vote",
729729
"voting.registerToVote.registerToVoteButtonLabel": "Register to vote",
730730
"voting.registerToVote.step1CheckBoxLabel": "Download the Catalyst Voting app on your smartphone",
731-
"voting.registerToVote.step2CheckBoxLabel": "Ensure that you register and hold the necessary 500 ADA at the time of the snapshot.",
731+
"voting.registerToVote.step2CheckBoxLabel": "Ensure that you register and hold the necessary {minVotingFunds} ADA at the time of the snapshot.",
732732
"voting.registerToVote.stepsTitle": "Follow these steps to vote:",
733733
"voting.registerToVote.votingInstructions": "If you are not registered yet, make sure to register to vote in the current fund before the snapshot date.",
734734
"voting.resultsPhase.endDateLabel": "End of voting:",

source/renderer/app/i18n/locales/ja-JP.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@
728728
"voting.registerToVote.header": "有権者登録をする",
729729
"voting.registerToVote.registerToVoteButtonLabel": "有権者登録をする",
730730
"voting.registerToVote.step1CheckBoxLabel": "スマートフォンにCatalyst Votingアプリをダウンロードします",
731-
"voting.registerToVote.step2CheckBoxLabel": "スナップショット実施の時点で、登録を済ませ、500ADAを保有していてください",
731+
"voting.registerToVote.step2CheckBoxLabel": "スナップショット実施の時点で、登録を済ませ、{minVotingFunds}ADAを保有していてください",
732732
"voting.registerToVote.stepsTitle": "投票方法:",
733733
"voting.registerToVote.votingInstructions": "登録を済ませていない場合は、スナップショットの実施日前に現行のファンドの有権者登録を行ってください。",
734734
"voting.resultsPhase.endDateLabel": "投票締め切り:",

0 commit comments

Comments
 (0)