Skip to content

Commit

Permalink
Merge branch 'v1.0-dev' into feat/process-asset-locks
Browse files Browse the repository at this point in the history
# Conflicts:
#	packages/dashmate/configs/getConfigFileMigrationsFactory.js
  • Loading branch information
shumkov committed Oct 30, 2023
2 parents fc08fe1 + 2f879d2 commit cf39d6a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/dashmate/configs/defaults/getBaseConfigFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ function getBaseConfigFactory(homeDir) {
createEmptyBlocksInterval: '3m',
},
log: {
level: 'debug',
level: 'info',
format: 'plain',
path: null,
},
Expand Down
4 changes: 3 additions & 1 deletion packages/dashmate/configs/getConfigFileMigrationsFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,11 @@ function getConfigFileMigrationsFactory(homeDir, defaultConfigs) {

return configFile;
},
'0.25.8': (configFile) => {
'1.0.0-dev.1': (configFile) => {
Object.entries(configFile.configs)
.forEach(([, options]) => {
options.platform.tenderdash.log.level = 'info';

if (options.network !== NETWORK_MAINNET) {
options.core.docker.image = base.get('core.docker.image');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function setupLocalPresetTaskFactory(
ctx.minerInterval = await task.prompt({
type: 'input',
message: 'Enter the interval between core blocks',
initial: configFile.getConfig('base').options.core.miner.interval,
initial: configFile.getConfig('base').get('core.miner.interval'),
validate: (state) => {
if (state.match(/\d+(\.\d+)?(m|s)/)) {
return true;
Expand Down Expand Up @@ -239,6 +239,7 @@ function setupLocalPresetTaskFactory(
config.set('platform.drive.abci.logs.stdout.format', 'full');
}

// TODO: Shall we use trace?
config.set('platform.drive.tenderdash.log.level', 'debug');
}

Expand Down

0 comments on commit cf39d6a

Please sign in to comment.