Skip to content

fix: fix Incorrect .addOptionalParam Usage with <boolean> in Hardhat …#667

Open
fragchain wants to merge 1 commit intobandada-infra:mainfrom
fragchain:patch-1
Open

fix: fix Incorrect .addOptionalParam Usage with <boolean> in Hardhat …#667
fragchain wants to merge 1 commit intobandada-infra:mainfrom
fragchain:patch-1

Conversation

@fragchain
Copy link

Description

I’ve fixed an issue where the .addOptionalParam method in the Hardhat configuration was incorrectly using a generic <boolean>. Now, the type for the parameter is specified separately using types.boolean, as per the correct Hardhat configuration syntax.

Related Issue

N/A

Does this introduce a breaking change?

  • Yes
  • No

Other information

N/A

Checklist

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have run yarn prettier and yarn lint without getting any errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@vercel
Copy link

vercel bot commented Mar 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bandada-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 7, 2025 9:19am
bandada-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 7, 2025 9:19am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant