From 8bdc8304ddfcbc60ac45e57abc6e6b73fc34238b Mon Sep 17 00:00:00 2001 From: ashnashahgrover Date: Mon, 22 Jul 2024 19:53:46 +0530 Subject: [PATCH] fix(test-tooling): use of hardcoded password Primary Changes ---------------- 1. Updated line 236 in openethereum-test-ledger.ts so the default password argument to the newEthPersonalAccount function is not hardcoded. Fixes #2766 BREAKING CHANGE: A line exceeding 100 characters has been split into two lines. Signed-off-by: ashnashahgrover --- .../main/typescript/openethereum/openethereum-test-ledger.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cactus-test-tooling/src/main/typescript/openethereum/openethereum-test-ledger.ts b/packages/cactus-test-tooling/src/main/typescript/openethereum/openethereum-test-ledger.ts index f7bf1bf17d..fe0b86e46a 100644 --- a/packages/cactus-test-tooling/src/main/typescript/openethereum/openethereum-test-ledger.ts +++ b/packages/cactus-test-tooling/src/main/typescript/openethereum/openethereum-test-ledger.ts @@ -233,7 +233,7 @@ export class OpenEthereumTestLedger { */ public async newEthPersonalAccount( seedMoney = 10e8, - password = "test", + password: string, ): Promise { const account = await this.web3.eth.personal.newAccount(password);