Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Fix config on application bootstrap (#9152)
Browse files Browse the repository at this point in the history
* ♻️ Add allowedMethods in config

* ♻️ Update dataPath to have path without homedir

* 🔥 Revert dataPath change
  • Loading branch information
ishantiw authored Nov 23, 2023
1 parent 1e73f05 commit f825978
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ export default class InitGenerator extends Generator {
this.answers.chainID,
'--output',
'config/default',
'--label',
this.answers.name,
]);
// create passphrase to generate all the keys
const passphrase = Mnemonic.generateMnemonic(256);
Expand Down
1 change: 1 addition & 0 deletions commander/src/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const defaultConfig = {
modes: ['ipc'],
port: 7887,
host: '127.0.0.1',
allowedMethods: [],
},
network: {
version: '1.0',
Expand Down

0 comments on commit f825978

Please sign in to comment.