Skip to content

Commit cb0a52e

Browse files
update error message for change-password task non available in dev
1 parent 2240ed6 commit cb0a52e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2050,11 +2050,9 @@ Please check Hardhat's output for more details.`,
20502050
},
20512051
CANNOT_CHANGED_PASSWORD_FOR_DEV_KEYSTORE: {
20522052
number: 50001,
2053-
messageTemplate:
2054-
"Cannot change password for dev keystore, as it is auto generated.",
2053+
messageTemplate: `The keystore "change-password" task cannot be used with the development keystore`,
20552054
websiteTitle: "Cannot change password for dev keystore",
2056-
websiteDescription:
2057-
"Cannot change password for dev keystore, as it is auto generated.",
2055+
websiteDescription: `The keystore "change-password" task cannot be used with the development keystore`,
20582056
},
20592057
KEY_NOT_FOUND_DURING_TESTS_WITH_DEV_KEYSTORE: {
20602058
number: 50002,
@@ -2464,7 +2462,7 @@ Possible causes:
24642462
Specify the exact contract using the \`--contract\` flag.`,
24652463
websiteTitle: "Multiple contract matches",
24662464
websiteDescription: `The deployed bytecode matches multiple compiled contracts. Specify the exact contract using the \`--contract\` flag. For example:
2467-
2465+
24682466
\`\`\`sh
24692467
npx hardhat verify --contract contracts/Example.sol:ExampleContract <other args>
24702468
\`\`\`

0 commit comments

Comments
 (0)