diff --git a/packages/dashmate/configs/defaults/getLocalConfigFactory.js b/packages/dashmate/configs/defaults/getLocalConfigFactory.js index 27457d3ba4f..88b2870fc9e 100644 --- a/packages/dashmate/configs/defaults/getLocalConfigFactory.js +++ b/packages/dashmate/configs/defaults/getLocalConfigFactory.js @@ -25,7 +25,7 @@ export default function getLocalConfigFactory(getBaseConfig) { }, core: { docker: { - image: 'dashpay/dashd:20.1.0-nightly.2024.02.15', + image: 'dashpay/dashd:20.1.0', commandArgs: [], }, p2p: { diff --git a/packages/dashmate/configs/defaults/getTestnetConfigFactory.js b/packages/dashmate/configs/defaults/getTestnetConfigFactory.js index 889db4ef36c..9bbd65df22a 100644 --- a/packages/dashmate/configs/defaults/getTestnetConfigFactory.js +++ b/packages/dashmate/configs/defaults/getTestnetConfigFactory.js @@ -25,7 +25,7 @@ export default function getTestnetConfigFactory(homeDir, getBaseConfig) { }, core: { docker: { - image: 'dashpay/dashd:20.1.0-nightly.2024.02.15', + image: 'dashpay/dashd:20.1.0', commandArgs: [], }, p2p: { diff --git a/packages/dashmate/configs/getConfigFileMigrationsFactory.js b/packages/dashmate/configs/getConfigFileMigrationsFactory.js index 95e0b6b8dd0..e3a91df9018 100644 --- a/packages/dashmate/configs/getConfigFileMigrationsFactory.js +++ b/packages/dashmate/configs/getConfigFileMigrationsFactory.js @@ -488,6 +488,15 @@ export default function getConfigFileMigrationsFactory(homeDir, defaultConfigs) return configFile; }, + '1.0.0-dev.8': (configFile) => { + Object.entries(configFile.configs) + .forEach(([name, options]) => { + const defaultConfig = getDefaultConfigByNameOrGroup(name, options.group); + options.core.docker.image = defaultConfig.get('core.docker.image'); + }); + + return configFile; + }, }; }