Skip to content

Commit

Permalink
Fixed operator passphrase
Browse files Browse the repository at this point in the history
  • Loading branch information
dqtkien committed Jun 13, 2024
1 parent a2f9634 commit d71d170
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const OROCHI_CONFIGURATION = {
OROCHI_ENCRYPTED_PASSPHRASE: '',
LOCAL_RPC: '',
RESULT_PATH: './output/result.json',
OROCHI_MNEMONIC: '',
};

export type TEnvironment = typeof OROCHI_CONFIGURATION;
Expand Down
2 changes: 1 addition & 1 deletion tasks/generate-orocle-operator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ task('generate:local-operator', 'Generate operator address only in local network
}
const { chainId } = hre.network.config;
const dataTable = [];
const wallet = ethers.Wallet.createRandom();
const wallet = ethers.Wallet.fromPhrase(env.OROCHI_MNEMONIC);
const [master] = await hre.ethers.getSigners();

for (let i = 0; i < 5; i += 1) {
Expand Down

0 comments on commit d71d170

Please sign in to comment.