Skip to content

Commit 9365a88

Browse files
update error message for key not found in dev keystore in tests
1 parent cb0a52e commit 9365a88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2056,11 +2056,11 @@ Please check Hardhat's output for more details.`,
20562056
},
20572057
KEY_NOT_FOUND_DURING_TESTS_WITH_DEV_KEYSTORE: {
20582058
number: 50002,
2059-
messageTemplate: `Key "{key}" not found in the development keystore. Run 'hardhat keystore set --dev {key}' to set it.`,
2059+
messageTemplate: `Key "{key}" not found in the development keystore. Run "npx hardhat keystore set {key} --dev" to set it.`,
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 'hardhat keystore set --dev <KEY>' to set it.`,
2063+
Run "npx hardhat keystore set {key} --dev" to set it.`,
20642064
},
20652065
},
20662066
},

0 commit comments

Comments
 (0)