Skip to content

Commit

Permalink
Merge branch 'chore/dashmate/update-core-21.2-nightly' into new-core-…
Browse files Browse the repository at this point in the history
…and-withdrawals
  • Loading branch information
shumkov committed Oct 29, 2024
2 parents 6392c6a + b5d4f48 commit 3d4db8d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/dashmate/configs/defaults/getLocalConfigFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ export default function getLocalConfigFactory(getBaseConfig) {
},
},
core: {
docker: {
image: 'dashpay/dashd:22.0.0-nightly.2024.10.29',
},
p2p: {
port: 20001,
},
Expand Down
3 changes: 3 additions & 0 deletions packages/dashmate/configs/defaults/getTestnetConfigFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ export default function getTestnetConfigFactory(homeDir, getBaseConfig) {
},
},
core: {
docker: {
image: 'dashpay/dashd:22.0.0-nightly.2024.10.29',
},
p2p: {
port: 19999,
},
Expand Down
10 changes: 10 additions & 0 deletions packages/dashmate/configs/getConfigFileMigrationsFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import lodash from 'lodash';
import path from 'path';

import {
NETWORK_DEVNET,
NETWORK_LOCAL,
NETWORK_MAINNET,
NETWORK_TESTNET,
Expand Down Expand Up @@ -1032,6 +1033,15 @@ export default function getConfigFileMigrationsFactory(homeDir, defaultConfigs)
});
return configFile;
},
'1.3.0-dev.3': (configFile) => {

Check failure on line 1036 in packages/dashmate/configs/getConfigFileMigrationsFactory.js

View workflow job for this annotation

GitHub Actions / JS packages (dashmate) / Linting

Duplicate key '1.3.0-dev.3'
Object.entries(configFile.configs)
.forEach(([, options]) => {
if ([NETWORK_LOCAL, NETWORK_TESTNET, NETWORK_DEVNET].includes(options.network)) {
options.core.docker.image = 'dashpay/dashd:22.0.0-nightly.2024.10.29';
}
});
return configFile;
},
};
}

Expand Down

0 comments on commit 3d4db8d

Please sign in to comment.