Skip to content

Commit

Permalink
chore(dashmate): upgrade to Core 20.1 (#1760)
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov authored Mar 11, 2024
1 parent 1196a28 commit e92cc41
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
9 changes: 9 additions & 0 deletions packages/dashmate/configs/getConfigFileMigrationsFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
},
};
}

Expand Down

0 comments on commit e92cc41

Please sign in to comment.