diff --git a/packages/dashmate/configs/defaults/getTestnetConfigFactory.js b/packages/dashmate/configs/defaults/getTestnetConfigFactory.js index f7c7baca5cc..a8189912023 100644 --- a/packages/dashmate/configs/defaults/getTestnetConfigFactory.js +++ b/packages/dashmate/configs/defaults/getTestnetConfigFactory.js @@ -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, }, }, }, diff --git a/packages/dashmate/configs/getConfigFileMigrationsFactory.js b/packages/dashmate/configs/getConfigFileMigrationsFactory.js index c940d9d252d..5e7763009ca 100644 --- a/packages/dashmate/configs/getConfigFileMigrationsFactory.js +++ b/packages/dashmate/configs/getConfigFileMigrationsFactory.js @@ -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; },