Skip to content

Commit

Permalink
feat(dashmate): update testnet config (#2079)
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Shumkov <[email protected]>
  • Loading branch information
pshenmic and shumkov authored Aug 25, 2024
1 parent 1f037b1 commit 99bdeb2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default function getTestnetConfigFactory(homeDir, getBaseConfig) {
port: 36660,
},
genesis: {
chain_id: 'dash-testnet-49',
chain_id: 'dash-testnet-51',
validator_quorum_type: 6,
initial_core_chain_locked_height: 918609,
},
Expand Down
4 changes: 4 additions & 0 deletions packages/dashmate/configs/getConfigFileMigrationsFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,10 @@ export default function getConfigFileMigrationsFactory(homeDir, defaultConfigs)
Object.entries(configFile.configs)
.forEach(([, options]) => {
options.platform.drive.tenderdash.docker.image = 'dashpay/tenderdash:1.2.0';

if (options.network === NETWORK_TESTNET) {
options.platform.drive.tenderdash.genesis.chain_id = 'dash-testnet-51';
}
});
return configFile;
},
Expand Down

0 comments on commit 99bdeb2

Please sign in to comment.