diff --git a/packages/dashmate/src/listr/tasks/resetNodeTaskFactory.js b/packages/dashmate/src/listr/tasks/resetNodeTaskFactory.js index 374c7f3704..108a53047e 100644 --- a/packages/dashmate/src/listr/tasks/resetNodeTaskFactory.js +++ b/packages/dashmate/src/listr/tasks/resetNodeTaskFactory.js @@ -123,14 +123,6 @@ export default function resetNodeTaskFactory( } }, }, - { - title: 'Reset dashmate\'s ephemeral data', - enabled: (ctx) => !ctx.removeConfig && !ctx.isHardReset && !ctx.isPlatformOnlyReset, - task: () => { - // TODO: We should remove it from config - config.set('core.miner.mediantime', null); - }, - }, { title: `Remove config ${config.getName()}`, enabled: (ctx) => ctx.removeConfig, diff --git a/packages/dashmate/src/listr/tasks/stopNodeTaskFactory.js b/packages/dashmate/src/listr/tasks/stopNodeTaskFactory.js index e57101c96b..1d3de2707c 100644 --- a/packages/dashmate/src/listr/tasks/stopNodeTaskFactory.js +++ b/packages/dashmate/src/listr/tasks/stopNodeTaskFactory.js @@ -67,23 +67,6 @@ export default function stopNodeTaskFactory( host: await getConnectionHost(config, 'core', 'core.rpc.host'), })), }, - { - title: 'Save core node time', - enabled: () => config.get('group') === 'local', - skip: (ctx) => ctx.isForce, - task: async () => { - const rpcClient = createRpcClient({ - port: config.get('core.rpc.port'), - user: 'dashmate', - pass: config.get('core.rpc.users.dashmate.password'), - host: await getConnectionHost(config, 'core', 'core.rpc.host'), - }); - - const { result: { mediantime } } = await rpcClient.getBlockchainInfo(); - - config.set('core.miner.mediantime', mediantime); - }, - }, { title: `Stopping ${config.getName()} node`, task: async (ctx) => {