Skip to content

Commit ca7e50b

Browse files
implement PR feedbacks about naming
1 parent 1384b0d commit ca7e50b

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

v-next/hardhat-errors/src/descriptors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2060,7 +2060,7 @@ Please check Hardhat's output for more details.`,
20602060
websiteTitle: "Key not found in the development keystore during tests",
20612061
websiteDescription: `Key not found in the development keystore. During tests, configuration variables can only be accessed through the development keystore.
20622062
2063-
Run "npx hardhat keystore set {key} --dev" to set it.`,
2063+
Run "npx hardhat keystore set <KEY> --dev" to set it.`,
20642064
},
20652065
},
20662066
},

v-next/hardhat-keystore/src/internal/utils/get-keystore-file-path.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ export async function getDevKeystoreFilePath(): Promise<string> {
2323
*/
2424
export async function getDevKeystorePasswordFilePath(): Promise<string> {
2525
const configDirPath = await getConfigDir();
26-
return path.join(configDirPath, "dev.keystore.checksum.txt");
26+
return path.join(configDirPath, "hardhat.checksum");
2727
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
keystore.json
22
keystore-change-password.json
33
# development keystore password files generated by the tests
4-
fake-keystore-dev-password-path-*.txt
4+
fake-keystore-hardhat.checksum-path-*
55
# This is a temp file created by the config variables tests
66
config-variables-keystore.json

v-next/hardhat-keystore/test/hook-handlers/configuration-variables.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const configurationVariableDevKeystoreFilePath = path.join(
4949

5050
const configurationVariableDevKeystorePasswordFilePath = path.join(
5151
basePath,
52-
"fake-keystore-dev-password-path-config-var.txt",
52+
"fake-keystore-hardhat.checksum-path-config-var",
5353
);
5454

5555
const nonExistingKeystoreFilePath = path.join(

v-next/hardhat-keystore/test/integration/tasks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const keystoreProdFilePath = path.join(basePath, "keystore.json");
4242
const keystoreDevFilePath = path.join(basePath, "keystore-dev.json");
4343
const keystoreDevPasswordFilePath = path.join(
4444
basePath,
45-
"fake-keystore-dev-password-path-tasks.txt",
45+
"fake-keystore-hardhat.checksum-path-tasks",
4646
);
4747

4848
/**

v-next/hardhat-keystore/test/integration/turn-off-keystore-in-ci.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const existingKeystoreDevFilePath = path.join(
3838
);
3939
const existingKeystoreDevPasswordFilePath = path.join(
4040
basePath,
41-
"fake-keystore-dev-password-path-ci.txt",
41+
"fake-keystore-hardhat.checksum-path-ci",
4242
);
4343

4444
/**

v-next/hardhat-keystore/test/loaders/keystore-file-loader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const fakeKeystoreDevPasswordFilePath = path.join(
2222
"..",
2323
"fixture-projects",
2424
"keystore",
25-
"fake-keystore-dev-password-path-loader.txt",
25+
"fake-keystore-hardhat.checksum-path-loader",
2626
);
2727

2828
describe("KeystoreFileLoader", () => {

v-next/hardhat-keystore/test/tasks/change-password.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const oldKeystoreFilePath = path.join(
2828
"keystore-change-password.json",
2929
);
3030
const newKeystoreFilePath = `${oldKeystoreFilePath}.tmp`;
31-
const fakeKeystoreDevPasswordFilePath = "./fake-keystore-dev-password-path.txt";
31+
const fakeKeystoreDevPasswordFilePath = "./fake-keystore-hardhat.checksum-path";
3232

3333
describe("tasks - change-password", () => {
3434
let mockFileManager: MockFileManager;

v-next/hardhat-keystore/test/tasks/delete.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const fakeKeystoreDevPasswordFilePath = path.join(
2828
"..",
2929
"fixture-projects",
3030
"keystore",
31-
"fake-keystore-dev-password-path-delete.txt",
31+
"fake-keystore-hardhat.checksum-path-delete",
3232
);
3333

3434
describe("tasks - delete", () => {

v-next/hardhat-keystore/test/tasks/get.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const fakeKeystoreDevPasswordFilePath = path.join(
2727
"..",
2828
"fixture-projects",
2929
"keystore",
30-
"fake-keystore-dev-password-path-get.txt",
30+
"fake-keystore-hardhat.checksum-path-get",
3131
);
3232

3333
describe("tasks - get", () => {

0 commit comments

Comments
 (0)