Skip to content

Commit

Permalink
Merge pull request #1349 from dappnode/pablo/remove-staker-migration
Browse files Browse the repository at this point in the history
Disallow setStakerConfig migration
  • Loading branch information
pablomendezroyo authored Jan 10, 2023
2 parents 4097a92 + 522b25d commit 86b9d72
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/dappmanager/src/modules/migrations/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { setDefaultStakerConfig } from "./setDefaultStakerConfig";
import AggregateError = require("aggregate-error");
import { migrateUserActionLogs } from "./migrateUserActionLogs";
import { removeLegacyDockerAssets } from "./removeLegacyDockerAssets";
Expand Down Expand Up @@ -55,7 +54,10 @@ export async function executeMigrations(): Promise<void> {
})
);

setDefaultStakerConfig().catch(e =>
/**
* WARNING! This migration is dangerous if user has not set a staker config, the docker daemon can crash and is safer to not do it automatically
*
setDefaultStakerConfig().catch(e =>
migrationErrors.push({
migration: "set default staker configuration",
coreVersion: "v0.2.58",
Expand All @@ -64,6 +66,7 @@ export async function executeMigrations(): Promise<void> {
stack: e.stack
})
);
*/

switchEthClientIfOpenethereumOrGethLight().catch(e =>
migrationErrors.push({
Expand Down

0 comments on commit 86b9d72

Please sign in to comment.