Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix message for HH206 #5538

Merged
merged 2 commits into from
Jul 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/rude-suits-add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"hardhat": patch
---

Fix message for error HH206
2 changes: 1 addition & 1 deletion packages/hardhat-core/src/internal/core/errors-list.ts
Original file line number Diff line number Diff line change
@@ -552,7 +552,7 @@ Please use \`runSuper.isDefined\` to make sure that you can call it.`,
DEFAULT_VALUE_WRONG_TYPE: {
number: 206,
message:
"Default value for param %paramName% of task %taskName% doesn't match the default one, try specifying it.",
"Default value for param %paramName% of task %taskName% doesn't match its expected type.",
title: "Default value has incorrect type",
description: `One of your tasks has a parameter whose default value doesn't match the expected type.