File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 44
55### Fixes
66
7+ - Fix token metadata server URL on all networks ([ PR 3227] ( https://github.com/input-output-hk/daedalus/pull/3227 ) )
8+
79- Un-brick auto-update on devices where it failed in the past ([ PR 3223] ( https://github.com/input-output-hk/daedalus/pull/3223 ) )
810
911## 6.0.1
Original file line number Diff line number Diff line change 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 } " ;
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 = {
Original file line number Diff line number Diff 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
176176export const FALLBACK_TOKEN_METADATA_SERVER_URL =
177- 'https://metadata.cardano-testnet.iohkdev.io ' ;
177+ 'https://metadata.world.dev.cardano.org ' ;
178178export const MINIMUM_AMOUNT_OF_RAM_FOR_RTS_FLAGS = 16 * 1024 * 1024 * 1024 ; // 16gb RAM
179179
180180// Used by mock-token-metadata-server
You can’t perform that action at this time.
0 commit comments