Skip to content

Commit

Permalink
fix: unnecessary genesis initial_core_chain_locked_height
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov committed Aug 30, 2024
1 parent 8e6ed30 commit a4b1b29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ export default function getTestnetConfigFactory(homeDir, getBaseConfig) {
genesis: {
chain_id: 'dash-testnet-51',
validator_quorum_type: 6,
initial_core_chain_locked_height: 918609,
},
},
},
Expand Down
3 changes: 3 additions & 0 deletions packages/dashmate/configs/getConfigFileMigrationsFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,9 @@ export default function getConfigFileMigrationsFactory(homeDir, defaultConfigs)
if (options.network === NETWORK_MAINNET && name !== 'base') {
options.platform.drive.tenderdash.genesis.chain_id = 'evo1';
}
if (options.network === NETWORK_TESTNET) {
delete options.platform.drive.tenderdash.genesis.initial_core_chain_locked_height;
}
});
return configFile;
},
Expand Down

0 comments on commit a4b1b29

Please sign in to comment.